Repository

andunieee/twain

Twain

Open github.com

andunieee/twain

Twain

A Linux-only diff viewer built in Rust and GTK4, featuring sequential file views, tree-sitter syntax highlighting, inline commenting, and AI integration.

Visit project

Show me a random project

First shared
Oct 17, 2026
HN activity
42

Show HN@andunieOct 17, 2026

Show HN: Twain, a diff viewer like Meld, but for the age of AI

I love Meld, I've been using it for a while now, it's amazing how many diff viewers exist these days and how they are all awful compared to Meld. But Meld was missing some features that I thought were worth having: - all files from a Git diff shown in the same view, sequentially + a file tree on the side. - show either the full files or only the parts that changed. - tree-sitter-based syntax highlighting. - the ability to comment on sets of changes and lines, and AIs can read these comments. - the ability to search through the entire set of modified files. Twain is in Rust and based on GTK4.

Community

Hacker News discussion

Loading the thread…