Diffwatch – Watch AI agents touch the FS and see diffs live (github.com) 5 points by deemkeen 10mo ago ↗ HN
[–] deemkeen 10mo ago ↗ I built a simple TUI that shows live unified diffs whenever files change. It’s useful for TDD, debugging config changes, and watching AI/agents touch the filesystem in real time.Repo: https://github.com/deemkeen/diffwatchInstall:brew install deemkeen/tap/diffwatch # or go install github.com/deemkeen/diffwatch@latestTry it quickly:# start the TUI diffwatch -r . # in another shell: echo "hello" >> demo.txt; sleep 1; echo "world!" >> demo.txtWhy this vs. other watchers? Most watchers tell you that something changed. diffwatch shows what changed, instantly, in a minimal TUI.Roadmap / looking for feedback: --ignore-from=.gitignore, --word-diff, --context N, export (--record, --save-patch), hooks (--cmd "…")GIF in the README. Would love feedback, issues, PRs—especially on ignore patterns and diff ergonomics.
[–] westurner 10mo ago ↗ From https://news.ycombinator.com/item?id=45516584#45517613 re: LTM and STM and LLMs:> jj autocommits when the working copy changes, and you can manually stage against @-: https://news.ycombinator.com/item?id=44644820lazyjj is a TUI for jj: https://github.com/Cretezy/lazyjjWould a live log follow mode for lazyjj solve?
2 comments of 11
[ 1.8 ms ] story [ 21.3 ms ] threadRepo: https://github.com/deemkeen/diffwatch
Install:
brew install deemkeen/tap/diffwatch # or go install github.com/deemkeen/diffwatch@latest
Try it quickly:
# start the TUI diffwatch -r . # in another shell: echo "hello" >> demo.txt; sleep 1; echo "world!" >> demo.txt
Why this vs. other watchers? Most watchers tell you that something changed. diffwatch shows what changed, instantly, in a minimal TUI.
Roadmap / looking for feedback: --ignore-from=.gitignore, --word-diff, --context N, export (--record, --save-patch), hooks (--cmd "…")
GIF in the README. Would love feedback, issues, PRs—especially on ignore patterns and diff ergonomics.
> jj autocommits when the working copy changes, and you can manually stage against @-: https://news.ycombinator.com/item?id=44644820
lazyjj is a TUI for jj: https://github.com/Cretezy/lazyjj
Would a live log follow mode for lazyjj solve?