Watch
1
0
Fork
You've already forked pla
0
powerlifting app

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%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-03 11:03:25 +01:00
android heart rate tracking start/stop strengthened 2026-05-26 07:01:44 +02:00
assets/sql migration finally works due to duckdb buggy behavior being mitigated 2026-07-03 22:06:38 +02:00
benchmark Add cardio workouts, text parsing, and heart-rate tooling 2026-05-29 12:30:16 +02:00
data changes: 2026-03-02 14:11:44 +01:00
docs clear up docs 2026-09-25 11:38:49 +02:00
integration_test Add cardio workouts, text parsing, and heart-rate tooling 2026-05-29 12:30:16 +02:00
ios build(ios): Update Flutter dependency integration 2026-10-16 21:44:58 +02:00
lib Fix Bluetooth auto-stop hanging 2026-09-22 13:38:00 +02:00
linux Migrate app persistence to DuckDB 2026-06-01 16:32:21 +02:00
macos Migrate app persistence to DuckDB 2026-06-01 16:32:21 +02:00
scripts yt upload 2026-09-03 09:17:27 +02:00
test Fix Bluetooth auto-stop hanging 2026-09-22 13:38:00 +02:00
test_driver some e2e rendering checks 2026-05-28 14:00:07 +02:00
web Migrate app persistence to DuckDB 2026-06-01 16:32:21 +02:00
windows Migrate app persistence to DuckDB 2026-06-01 16:32:21 +02:00
.gitignore automatic youtube upload and naming + fix datetime export and script to fix export datetime offset 2026-06-17 11:50:30 +02:00
.metadata initial project on web 2026-02-26 16:10:38 +01:00
AGENTS.md docs(agents): Omit local test reports covered by CI 2026-11-03 11:03:25 +01:00
analysis_options.yaml build(ios): Update Flutter dependency integration 2026-10-16 21:44:58 +02:00
dart_test.yaml Migrate app persistence to DuckDB 2026-06-01 16:32:21 +02:00
Makefile automatic youtube upload and naming + fix datetime export and script to fix export datetime offset 2026-06-17 11:50:30 +02:00
pla-icon.png icon generation for linux 2026-03-03 12:06:54 +01:00
pubspec.lock build(ios): Update Flutter dependency integration 2026-10-16 21:44:58 +02:00
pubspec.yaml update deps 2026-06-01 21:58:23 +02:00
README.md clear up docs 2026-09-25 11:38:49 +02:00

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.