About
Cordelia and Kent work with the .FIT files that Garmin watches and bike
computers record. Cordelia reads each file into a SQLite database on your own computer, and
Kent is a command-line tool for the same databases. Both run on Linux and Windows, and both
are free.
How they're built
Both are written in C++23 as named modules. Rather than each carrying its own copy of the same code, they share a set of small libraries, and a few projects look after the rest:
- goneril is the base library. Each of its parts does one job, has its own tests, and uses nothing outside the C++ standard library.
- regan holds two libraries for converting files and data.
- fitsdk builds Garmin's own FIT C++ SDK as a library, kept exactly as Garmin publishes it.
- feste holds the tools that build and test every project, check each one against the family's shared rules, and publish what's meant to be public.
- playwright holds those rules. Each project reads the same text, so a rule is written once.
kinglear, a retirement income calculator that simulates a household's income, expenses and investments year by year, is built the same way.
The names
Most of the projects are named for characters in Shakespeare's King Lear and Twelfth Night. Cordelia is Lear's youngest daughter, Goneril and Regan are her sisters, and Kent is the loyal nobleman Lear banishes.
Help, downloads and release notes are on venholaconsulting.ca. The example databases and their documentation are public on GitHub, in antonio.