routine tui
runner nix smoke / nix label and flake smoke (push) Canceled after 0s

This commit is contained in:
2026-10-14 22:59:55 +00:00
parent ba213e1a3b
commit 7bceeb255e
10 changed files with 1900 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# routine-tui
Ratatui client for `routine-server`.
```sh
nix run .#routine-tui
```
Configuration:
- `ROUTINE_API_URL` defaults to `http://127.0.0.1:8090`.
- `ROUTINE_API_TOKEN` is sent as a bearer token when set.
Because the production server is loopback-only, either run the TUI on
`hectic-lab` or open a local tunnel first:
```sh
ssh -N -L 8090:127.0.0.1:8090 hectic-lab
```
Keys:
- `Tab`: switch between tasks and routines.
- `h`/`l`: previous/next day; `t`: today.
- `j`/`k`: move selection; `r`: refresh; `q`: quit.
- `a`: add a task or routine; `Ctrl+S`: save a form; `Esc`: cancel.
- `Space`: complete task; `s`: reschedule; `x`: delete.
Weekly routine days use ISO numbers (`1` Monday through `7` Sunday). Monthly
days use `1` through `31`; days beyond the end of a short month clamp to its
last day.