This is a Rust-based service to fetch workouts from the Strong App (available for Apple and Android) and store them in a Clickhouse database.
The URL to the API backend is not provided here, for now, because it's not entirely public and because of possible legal implications.
If using docker-compose, the service will run 18:00, 18:30, 19:00, 19:30, 20:00 and 20:30, but you can change this in the Dockerfile.
So you can do fun stuff with your workout data, like doing silly grafana dashboards. For example, you can use the Grafana Clickhouse plugin to visualize your workout data.
You can make heatmaps, like the one you have on github, or you can make a dashboard that shows your progress over time, or you can make a dashboard that shows your workout history.
You can find the Grafana JSON for the heatmap and for the excercises per week in the examples folder.
- Have your Clckhouse database ready and running
- Clone this repo
- Create .env file in the root directory with the following content:
STRONG_BACKEND=https://strong_backend_url.com STRONG_USER=your_strong_user STRONG_PASS=your_strong_pass CLICKHOUSE_HOST=clickhouse CLICKHOUSE_USER=default CLICKHOUSE_PASS= CLICKHOUSE_TABLE=strong
- Run with
cargo run
- Make sure you have Docker and Docker Compose installed.
- Create a
.envfile in the root directory with the same content as above. 3Start the service withdocker compose up -d.