GitPedia

GasPlanner

Simple scuba diving gas planning calculator. Calculates decompression and dive ascent based on Buhlmann ZHL-16 model.

From jirkapok·Updated May 21, 2026·View on GitHub·

This is a web based application, which allows **recreational** scuba divers to do their simple gas planning calculations. Purpose of the application is to provide easy to use calculations and help scuba divers to learn diving theory and formulas. Works also on mobile devices in offline mode. [Why Dugong?](./doc/whydugong.md) The project is written primarily in TypeScript, distributed under the MIT License license, first published in 2018. Key topics include: buhlmann, calculator, deco, decompression, dive.

Latest release: v0.1.38
April 15, 2026View Changelog →

Dugong Gas planner

This is a web based application, which allows recreational scuba divers to do their simple gas planning calculations.
Purpose of the application is to provide easy to use calculations and help scuba divers to learn diving theory and formulas.
Works also on mobile devices in offline mode. Why Dugong?

NOTE: Running instance is available at https://dugong.online/

Disclaimer

None of the authors, contributors, administrators, or anyone else connected with this project can be responsible for your use of the information provided by this application or linked from these web pages. Use the results at your own risk.

Features

  • Share dive plan using url address
  • Compare dives
  • Consumed gas charts
  • List of warnings with explanation
  • Open circuit repetitive multi-level dives
  • Multiple nitrox and Trimix/Helitrox gases/tanks
  • Environment using water salinity and altitude options
  • Bühlmann ZHL-16C algorithm with Gradient factors
  • Lot of calculators: RMV/SAC, Nitrox, Trimix properties, Cylinder Balancing, NDL table ...
  • See more in Application help

Keep the project Alive!

$25

Prerequisites

To work on the application install NodeJs, AngularCli and TypeScript. Recommended development environment is Visual Studio Code. On Windows you can use build/installEnvironment.ps1 to get initial environment tools and packages, or you can use Github Codespaces for a ready-to-go hosted development environment.

Build

To compile the application, first you need to install the dependencies from local directory. To do so run npm run build-lib.
Than compile solution by npm run build to deploy dist directory. To start the app use npm start for debugging purpose. See also build/build.ps1 build script on Windows.
Development state of the art can also be checked using Github Actions:

Build status

Running the tests

Angular recommended testing environment is used, to run test use npm run test-lib, npm test. To test the progressive web application behavior use npm run start-pwa.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details

Contributors

Showing top 11 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from jirkapok/GasPlanner via the GitHub API.Last fetched: 6/26/2026