Files
hearth/package/routine-tui/README.md
T
yukkop 7bceeb255e
runner nix smoke / nix label and flake smoke (push) Canceled after 0s
routine tui
2026-10-14 22:59:55 +00:00

33 lines
819 B
Markdown

# 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.