Skip to content

luogni/bicit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bicit

bicit generates a shareable ride summary image from a GPX track.

Pipeline:

  1. Parse GPX and compute stats (distance, time, speed, elevation)
  2. Render an OSM map snapshot with Galileo
  3. Inject values into an SVG template using element ids
  4. Export SVG to PNG using resvg library

There are 3 packages:

  1. bicit: this is the main library
  2. bicit-cli: command line application
  3. bicit-ui: egui interface (native + wasm)

Screenshots

Requirements

  • Rust toolchain

Usage (CLI)

Build:

cd bicit-cli
cargo build --release

Run (example using the included sample GPX):

cargo run -- \
  --datafile test/t1.gpx

Or with all options:

cargo run -- \
  --datafile test/t1.gpx \
  --template story_plit \
  --outfile file.gpx

Usage (Application UI)

Build:

cd bicit-ui
cargo build --release

Run:

cargo run

Web

Build and start dev http server:

trunk serve --release

Now you can connect with your browser.

Demo

You can check a demo website here: https://bicit.itsoftlabs.it/

About

Create a nice looking image report from your gpx/activity files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors