FrankenTerm

Setup & First-Run Checklist

147 words1 min read7 subsectionsFrom the README at ft 0.15.21

On this page7
1. Run setup (recommended)2. Verify first-run health3. Start the watcher4. Check status5. Search captured output6. React to events7. Stream live updates (web feature)

For setting up a new host (font, daemon, persistent config). For learning the tool, see the 10-Minute Tour above.

bash
ft setup
ft setup font --apply               # Pragmasevka Nerd Font (auto-installs on normal usage)
FT_SKIP_BUNDLED_FONT_INSTALL=1 ft status   # opt out of automatic font install

2. Verify first-run health

bash
ft doctor
ft status --health
wezterm cli list

3. Start the watcher

bash
ft watch                     # daemonized
ft -v watch --foreground     # foreground for debugging

4. Check status

bash
ft status                    # human-readable
ft robot state               # JSON

5. Search captured output

bash
ft search "error"                     # full-text search (alias: ft query)
ft events                             # recent detections
ft events annotate 123 --note "Investigating"
ft events triage 123 --state investigating
ft events label 123 --add urgent
ft robot search "compilation failed" --limit 20

6. React to events

bash
ft robot wait-for 0 "Usage limit"
ft robot send 0 "/compact"

7. Stream live updates (web feature)

bash
ft web                                                          # start local server
curl -N http://127.0.0.1:9999/stream/events
curl -N "http://127.0.0.1:9999/stream/events?channel=detections&pane_id=7&max_hz=25"
curl -N "http://127.0.0.1:9999/stream/deltas?pane_id=7&max_hz=50"
  • /stream/events delivers persisted detections in database ID order as text/event-stream. Fresh subscriptions start at an atomic database checkpoint; reconnects resume from the last received checkpoint or detection cursor. EventBus notifications wake storage reads promptly, and periodic reads recover detections whose notifications were lost. Lifecycle and diagnostic signals remain best-effort live events; bus overflow produces an explicit lag frame.
  • /stream/deltas streams redacted pane output deltas and gap markers from storage.
  • max_hz bounds fan-out rate; pane_id narrows to one pane; channel accepts all, deltas, detections, or signals.