The README embeds seven PNGs from screenshots/. They are not committed
by default — generate them yourself against a folder whose contents are
safe to publish, and review every image before committing.
Renders the real UI headlessly (no window opens) and rasterizes to PNG. Run from the repo root:
go -C mytermtui-src run ./cmd/screenshot -dir "$PWD" -filter md -out ../screenshots/ansi
python3 scripts/ansi2png.py screenshots/ansi screenshots # needs Pillow
open screenshots # ← review before committing
git add screenshots && git commit-diris the folder shown in the shots. The repo root itself is a safe choice (README.md, SPEC.md, mytermtui-src/, …).-filteris what gets typed in the filter scenes (02/03/05) — pick a string that matches files in-dir(mdmatches the markdown files at the repo root;gomatches nothing there since the sources moved intomytermtui-src/).- The intermediate
screenshots/ansi/*.ansifiles are gitignored but sit on disk; delete them if the folder you shot is sensitive.
In a plain folder nothing is evicted, so 03-preview and 05-get-info
won't show the cloud glyphs. Build a safe demo folder in iCloud Drive:
DEMO=~/Library/Mobile\ Documents/com~apple~CloudDocs/mytermtui-demo
mkdir -p "$DEMO" && cd "$DEMO"
mkfile 200m demo-video-1.mov
mkfile 120m demo-walkthrough.mov
echo "hello" > notes.txtWait for iCloud to upload (the cloud icon in Finder disappears), evict
the .mov files — easiest with mytermtui itself: run it there, select
with space, press e — then regenerate:
cd ~/repos/offsideai/githubrepos_workspace_active_1/mytermtui
go -C mytermtui-src run ./cmd/screenshot -dir "$DEMO" -filter demo -out ../screenshots/ansi
python3 scripts/ansi2png.py screenshots/ansi screenshots- Resize the terminal to roughly 120×35.
- Run
mytermtui-src/mytermtui <safe folder>. - Set up each scene, then press
⌘⇧4, thenSpace, then click the window (saves a PNG to the Desktop):
| File name | Scene keys |
|---|---|
01-browser.png |
navigate with j, select two files with space |
02-filter.png |
f, type a query, enter |
03-preview.png |
F3 with the cursor on an evicted file |
04-file-menu.png |
m |
05-get-info.png |
I on a file |
06-help.png |
? |
07-theme-dracula.png |
set [theme] name = "dracula" in ~/.config/mytermtui/config.toml, relaunch |
08-dual-panel.png |
→ on a folder, then j |
- Rename the captures exactly as above and move them into
screenshots/— the README links expect those names.