$ cd ~/projects DiveCalc Scuba calculations in the browser and offline ──────────────────────────────────────────────────── An offline-capable PWA with scuba diving calculators for MOD, SAC/RMV, gas planning, and CNS/OTU exposure, plus practical diving guides. tags: TypeScript, Web Development, Next.js, PWA ──────────────────────────────────────────────────── ## Work through gas and dive calculations Choose a tool for a specific calculation: Nitrox maximum operating depth and best mix, equivalent air depth, trimix narcotic depth, blending and gas top-ups, or gas density. SAC and RMV tools turn recorded consumption into breathing-rate estimates; gas and rock-bottom planners show how depth, time, cylinder size, and reserve assumptions affect the gas required. The tool collection also covers weighting adjustments, cylinder capacity, units, oxygen exposure, bottom time, and repetitive dives. Inputs travel in the calculator URL, so a copied link restores a configured calculation. These are educational tools with stated model assumptions and limits. DiveCalc website https://divecalc.app Browse the calculators https://divecalc.app/tools ──────────────────────────────────────────────────── ## Install the offline tools Install DiveCalc as a PWA for a dedicated tools home screen and saved unit settings. Its installed calculator pages and assets are cached for offline use. The public website and guides remain online pages; the offline app opens guides in the browser. Open the offline app https://divecalc.app/app ──────────────────────────────────────────────────── ## Read the explanation behind a result Practical guides explain gas planning, Nitrox, oxygen exposure, no-decompression limits, surface intervals, weighting, and buddy checks. Reference pages collect dive signals, cylinder information, checklists, and training sources. The guides help connect each tool's inputs and assumptions to a worked example. DiveCalc guides https://divecalc.app/guides DiveCalc references https://divecalc.app/references ──────────────────────────────────────────────────── ## Keep the logbook in OpenDiving DiveCalc points divers who want to record their dives to OpenDiving. That separate open-source logbook imports dive-computer files and keeps profiles, trips, equipment, and certifications together. It can run on your own server; the project also operates a hosted closed beta. OpenDiving website https://opendiving.app OpenDiving on GitHub https://github.com/opendiving/opendiving ──────────────────────────────────────────────────── $ ls ~/pages > about curl -L lohr.dev > projects curl -L lohr.dev/projects > blog curl -L lohr.dev/blog > stats curl -L lohr.dev/stats > contact curl -L lohr.dev/contact ──────────────────────────────────────────────────── https://lohr.dev