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
| Key | Action |
|---|---|
r | Run the selected target |
w | Toggle watching the selected target |
m | Toggle Makefile target visibility |
j | Toggle Justfile recipe visibility |
c | Clear the output terminal |
q | Quit |
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.