feat(app-launcher): workout card launcher + URL args #54

Merged
johno merged 1 commits from ash/workout-card-launcher into main 2026-04-13 17:13:43 -07:00
Collaborator

Adds two things to the app-launcher-server on gym-box:

  1. POST /workout - opens today workout card in Firefox automatically (generates URL from current date)
  2. POST /launch/firefox now accepts optional JSON body with args list to pass URL arguments to Firefox
  3. When args are provided, Firefox launches a new instance even if already running (so URLs actually open)

No NixOS config changes needed - the Python script is the only thing that changed.

Adds two things to the app-launcher-server on gym-box: 1. **POST /workout** - opens today workout card in Firefox automatically (generates URL from current date) 2. **POST /launch/firefox** now accepts optional JSON body with args list to pass URL arguments to Firefox 3. When args are provided, Firefox launches a new instance even if already running (so URLs actually open) No NixOS config changes needed - the Python script is the only thing that changed.
Author
Collaborator

🟢 LOW — PR Risk Assessment

88 additions, 16 deletions across 1 files
Signals: routine changes

Adds two things to the app-launcher-server on gym-box:

📦 Other Changes

  • 📝 packages/app-launcher-server/app-launcher-server.py (+88/-16)

Assessed by Ash • 2026-04-13 20:59 UTC

<!-- ash-pr-risk --> ## 🟢 LOW — PR Risk Assessment **88** additions, **16** deletions across **1** files **Signals:** routine changes > Adds two things to the app-launcher-server on gym-box: ### 📦 Other Changes - 📝 `packages/app-launcher-server/app-launcher-server.py` (+88/-16) --- *Assessed by Ash • 2026-04-13 20:59 UTC*
ash-bot added 1 commit 2026-04-13 13:58:54 -07:00
feat(app-launcher): add /workout endpoint and URL arg support
All checks were successful
CI / check (pull_request) Successful in 1m46s
CI / build-and-cache (pull_request) Has been skipped
f3b405959e
- POST /workout opens today's workout card in Firefox (auto-generates URL from date)
- POST /launch/firefox now accepts optional JSON body: {"args": ["https://..."}
- When args are provided, Firefox launches a new instance even if already running
- Updated GET / endpoint with endpoint documentation
ash-bot force-pushed ash/workout-card-launcher from c63a9db350 to f3b405959e 2026-04-13 13:58:54 -07:00 Compare
johno merged commit d16c8aa67e into main 2026-04-13 17:13:43 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johno/nixos-configs#54