cycling
Version, currently master branch1 version
- master branchlatestSep 25, 2020
gitlab.com/konstantine_v/cycling-data
A simple program that ingests and parses cycling data and exports to CSV. Working towards getting support with ingesting AAT app data.
Installation
# Add this to your shard.yml
dependencies:
cycling:
gitlab: konstantine_v/cycling-data
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.35.1- License
- MIT
- Author
- Konstantine
- Target
cyclingfrom src/cycling.cr
Dependencies
This version declares no dependencies.
README
Cycling Data
Consume Cycling data from rides then parse said data into CSV file for use with other programs.
Cycles -> Records Ride Data (time, distance, etc) -> Store Data in CSV -> Access Data
Created as a means to solve my simple problem of entering cycling and training data offline and quickly without fuss on any device that can run a terminal emulator.
Installation
To install the program run use the crystal compiler to handle it.
$ crystal build src/cycling.cr --release
You can optionally use Cake in the directory to compile. Cake is a version of a Makefile specifically for Crystal projects.
$ cake
If you're not familiar with building programs in Crystal or want to know more refer to the using the compiler section of the crystal docs.
Usage
I wanted it to be simple and not get in the way, so simply running cycling should work.
$ cycling
Changing File Output
If you want the program to create a new file in a particular place within your filesystem specify it with the -f flag
$ cycling -f <new file>
or
$ cycling --file <new file>
Getting Help
The program accepts flags, use -h to read about them.
$ cycling -h
or
$ cycling --help
Other Flags
I want to add more flags so you can import data from AAT and output into stdout for piping in the console.
I would love to see this work with GnuPlot to create charts in the console, or export to JSON to be used with web programs.
Development
No shard dependencies used, but make sure your version of crystal is up to date.
All development happens in the src/ directory.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- Konstantine - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Sep 25, 2020
- Crystal
0.35.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
gitlab.com/konstantine_v/cycling-data
Metadata
- Created
- Aug 16, 2026
- Updated
- Aug 16, 2026
- Synced
- Aug 16, 2026
- Versions
- 1