triebwerk

May 16, 2026 · View on GitHub

A terminal task runner for Makefile and Justfile targets, built on the zeichenwerk TUI framework. Picks up targets from Makefile and/or justfile in the current directory, runs them in a queue, and can re-run a target when files matching a glob change.

Install

go install github.com/tekugo/triebwerk/cmd/tw@latest

The binary is named tw.

Run

tw           # use targets from the current directory
tw -d path   # use a different working directory
tw -t nord   # pick a theme

Available themes: midnight, tokyo (default), nord, gruvbox-dark, gruvbox-light, lipstick.

Keys

KeyAction
rRun the selected target
wToggle watching the selected target
mToggle Makefile target visibility
jToggle Justfile recipe visibility
cClear the output terminal
qQuit

When watching is first enabled for a target, tw prompts for a glob pattern (e.g. **/*.go) and stores it in .triebwerk.json so the next session reuses it.

Status

Early — extracted from cmd/triebwerk in the zeichenwerk monorepo as a standalone tool. API and shape may change without notice.

License

MIT — same as the upstream zeichenwerk library.