To limit crawling, anonymous browsing shows current files and the last 50 commits/diffs. Clone for full history.
- Dart 94.8%
- C++ 1.5%
- Python 1.3%
- CMake 1.1%
- Makefile 0.4%
- Other 0.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| android | ||
| assets/sql | ||
| benchmark | ||
| data | ||
| docs | ||
| integration_test | ||
| ios | ||
| lib | ||
| linux | ||
| macos | ||
| scripts | ||
| test | ||
| test_driver | ||
| web | ||
| windows | ||
| .gitignore | ||
| .metadata | ||
| AGENTS.md | ||
| analysis_options.yaml | ||
| dart_test.yaml | ||
| Makefile | ||
| pla-icon.png | ||
| pubspec.lock | ||
| pubspec.yaml | ||
| README.md | ||
PLA
PLA is a Flutter workout logger for plans, workout logs, measurements, charts, and heart-rate tracking.
State and backups
The app stores its working state in DuckDB. Exported .pla files are portable
JSON backups, compressed by the app. DuckDB is currently slower than the
previous JSON state implementation, which is a shame.
Raw BLE heart-rate packets are archived separately as daily compressed JSONL files. Parsed heart-rate samples are stored in DuckDB.
Latest workout report and videos
--latest-week selects the seven-day window ending on the newest workout log
date in the .pla file. It does not use today's date.
PLA=/path/to/latest-state.pla
VIDEOS=/path/to/video-directory
dart --disable-dart-dev scripts/training_report.dart \
--in="$PLA" --latest-week > training_report_latest_week.txt
dart --disable-dart-dev scripts/correlate_videos_with_workouts.dart \
--pla="$PLA" --videos="$VIDEOS" --latest-week \
--week-prefix="Week 5.N" --include-day --include-date --apply
python3 scripts/youtube_upload_dir.py \
--dir="$VIDEOS" --client-secrets=path/to/client-secret.json \
--name-prefix="Week 5.N" --playlist="Form check"
Run the correlator without --apply to preview renames. Run the uploader with
--dry-run to preview uploads. With a playlist, it skips titles already in
that playlist.