Giter Club home page Giter Club logo

divecmd's Introduction

Synopsis

divecmd drives libdivecomputer to extract the contents of your dive computer in a safe, simple manner. It has several programs:

It compiles and runs on Linux, Mac OS X, and OpenBSD.

There are also some supporting utilities:

  • divecmd2pdf(1), which manages a groff(1) toolchain into PDF;
  • divecmd2ps(1), which does the same but for PS (Mac OS X's groff(1) doesn't have PDF support); and
  • divecmd2divecmd(1), which converts some dive computers' output into a form allowing for better free dive analysis.

I forked libdivecomputer's dctool to write divecmd(1) --- originally to provide output like Subsurface's XML format, but later to significantly simplify the code, to add sandboxing via pledge(2), and to provide multiple front-ends.

If you have a feature in mind, I'm very happy to be encouraged to implement it with new dive computers, gear, or a place to dive...

See "Dive computer analysis" and "Visualising recovery time when free diving" for examples of how divecmd2grap(1), operates. Also see "Suunto D6i temperature rounding", which showcases both temperature and split (by diver) modes.

Installation

To install divecmd, you need a recent version of libdivecomputer and libexpat (the latter is installed by default on most modern UNIX machines). You'll probably also want groff(1) and grap(1). Note: if you're running Mac OS X, your version of groff(1) doesn't support PDF output.

Just run the following:

./configure
make
sudo make install

Or if you're on OpenBSD, use doas instead of sudo. That's it!

License

The sources use the LGPL as printed in the LICENSE.md file. Why not the usual ISC license? Because this tool began as a fork of LGPL'd software.

divecmd's People

Contributors

m42e avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.