Git companion pane for ttybus. Subscribes
to files, shows GitHub + local git + the selected file. Designed for a
~20-column vertical split beside vim.
- Go 1.25, module
github.com/ttyzero/gitwing - Bubble Tea v2 + Lip Gloss v2
- Shared look:
github.com/ttyzero/commons/theme+commons/connect - ttybus client via commons/connect
- stdlib
flag. No cobra.
make test
make buildcmd/gitwing— flags, program startinternal/gitinfo— local git snapshotinternal/github— REST metadata, cachedinternal/ui— Bubble Tea model + compact viewcontrib/vim— publisher
Shared theme, borders, and the theme bus live in
ttyzero/commons.
- Follow
filesevents; do not require the editor to know about gitwing. - Stay readable at 20 columns. Do not paint a panel background — the terminal theme shows through.
- Honor
$TTYTHEMEthen$CLITHEMEthen OSC 11 then$COLORFGBG. - Subscribe to
themeand applyTHEME/BORDERSlive. - Payloads are single-line; path or JSON.