NewsWorld
PredictionsDigestsScorecardTimelinesArticles
NewsWorld
HomePredictionsDigestsScorecardTimelinesArticlesWorldTechnologyPoliticsBusiness
AI-powered predictive news aggregation© 2026 NewsWorld. All rights reserved.
Trending
FebruaryMilitaryEpsteinNuclearTalksIranTimelineGovernmentStrikesDigestDocumentsThursdayHealthRefundTrumpFileElectionsIranianPolicyDiplomaticCoalitionTargetingReleasesSecurity
FebruaryMilitaryEpsteinNuclearTalksIranTimelineGovernmentStrikesDigestDocumentsThursdayHealthRefundTrumpFileElectionsIranianPolicyDiplomaticCoalitionTargetingReleasesSecurity
All Articles
Show HN: Deff – side-by-side Git diff review in your terminal
Hacker News
Clustered Story
Published about 4 hours ago

Show HN: Deff – side-by-side Git diff review in your terminal

Hacker News · Feb 26, 2026 · Collected from RSS

Summary

deff is an interactive Rust TUI for reviewing git diffs side-by-side with syntax highlighting and added/deleted line tinting. It supports keyboard/mouse navigation, vim-style motions, in-diff search (/, n, N), per-file reviewed toggles, and both upstream-based and explicit --base/--head comparisons. It can also include uncommitted + untracked files (--include-uncommitted) so you can review your working tree before committing. Would love to get some feedback Comments URL: https://news.ycombinator.com/item?id=47169518 Points: 27 # Comments: 13

Full Article

My name is deff deff deff is a Rust TUI: interactive, side-by-side file review for git diffs with per-file navigation, vertical and horizontal scrolling, syntax highlighting, and added/deleted line tinting. Quickstart Run the installer script from this repository: curl -fsSL https://raw.githubusercontent.com/flamestro/deff/main/install.sh | bash Installer source: https://github.com/flamestro/deff/blob/main/install.sh The script checks for cargo, clones this project into a temporary directory, installs it, and removes the temporary checkout. If you have local edits (including untracked files) and want to review them before committing, run: deff --include-uncommitted This opens the side-by-side review so you can check exactly what changed in your working tree. Features upstream-ahead strategy (default) to compare local branch changes against its upstream range strategy for explicit --base / --head comparison Optional --include-uncommitted mode to include working tree and untracked files Side-by-side panes with independent horizontal scroll offsets Keyboard and mouse navigation (including wheel + shift-wheel) Vim-like motion navigation (h/j/k/l, g/G, Ctrl+u/Ctrl+d) In-diff search (/ + Enter, then n / N to navigate matches) Per-file reviewed toggles (r) with local persistence under .git Language-aware syntax highlighting and line-level add/delete tinting Examples Single-line change view: Multi-line change view: Usage deff deff --strategy upstream-ahead deff --strategy range --base origin/main --head HEAD deff --strategy range --base origin/main --include-uncommitted deff --theme dark Show help: deff --help Local Build and Usage Flow Prerequisites: Rust toolchain (cargo) git Interactive terminal (TTY) Build locally: cargo build --release --locked ./target/release/deff --help Optionally install it to your local Cargo bin path: cargo install --path . deff --help Run it inside any git repository you want to review: cd /path/to/your/repo # default: compare local branch commits vs upstream deff # explicit range deff --base origin/main --head HEAD # include uncommitted + untracked files deff --base origin/main --include-uncommitted If your branch has no upstream configured, use the explicit --base flow. Theme selection: By default, deff prefers a dark syntax theme (better for black/dark terminals). Use --theme auto|dark|light to control rendering for your terminal. --theme takes precedence over DEFF_THEME=dark|light. Search and reviewed workflow: Press / to enter a search query for the current file (searches both panes). Press Enter to apply the query, then use n / N to jump matches. Press r to mark the current file reviewed/unreviewed. Reviewed state is persisted locally in .git/deff/reviewed/ and keyed by comparison scope + file content hash. GitHub Release Workflow This repo ships with .github/workflows/release.yml. Trigger: push a tag like v0.1.0 Builds release artifacts for Linux and macOS targets Creates a GitHub release and uploads tarballs + SHA256 files Architecture and Extension Guide For a module-level map and extension plan, see docs/architecture.md.


Share this story

Read Original at Hacker News

Related Articles

Hacker Newsabout 3 hours ago
Show HN: Rev-dep – 20x faster knip.dev alternative build in Go

Article URL: https://github.com/jayu/rev-dep Comments URL: https://news.ycombinator.com/item?id=47170299 Points: 18 # Comments: 3

Hacker Newsabout 3 hours ago
Launch HN: Cardboard (YC W26) – Agentic video editor

Hey HN - we're Saksham and Ishan, and we’re building Cardboard (https://www.usecardboard.com). It lets you go from raw footage to an edited video by describing what you want in natural language. Try it out at https://demo.usecardboard.com (no login required). Also, there’s a demo video at: https://www.usecardboard.com/share/fUN2i9ft8B46 People sit on mountains of raw assets - product walkthroughs, customer interviews, travel videos, screen recordings, changelogs, etc. - that could become testimonials, ads, vlogs, launch videos, etc. Instead they sit in cloud storage / hard drives because getting to a first cut takes hours of scrubbing through the raw footage manually, arranging clips in correct sequence, syncing music, exporting, uploading to a cloud storage to share, and then getting feedback on WhatsApp/iMessage/Slack, then re-doing the same thing again till everyone is happy. We grew up together and have been friends for 15 years. Saksham creates content on socials with ~250K views/month and kept hitting the wall where editing took longer than creating. Ishan was producing launch videos for HackerRank's all-hands demo days and spent most of his time on cuts and sequencing rather than storytelling. We both felt that while tools like Premiere Pro and DaVinci are powerful, they have a steep learning curve and involve lots of manual labor. So we built Cardboard. You tell it to "make a 60s recap from this raw footage" or "cut this into a 20s ad" or "beat-sync this to the music I just added" and it proposes a first draft on the timeline that you can refine further. We built a custom hardware-accelerated renderer on WebCodecs / WebGL2, there’s no server-side rendering, no plugins, everything runs in your browser (client-side). Video understanding tasks go through a series of Cloud VLMs + traditional ML models, and we use third party foundational models for agent orchestration. We also give a dropdown for this to the end user. We've shipped 13 releases since November (ht

Hacker Newsabout 3 hours ago
OsmAnd's Faster Offline Navigation

Article URL: https://osmand.net/blog/fast-routing/ Comments URL: https://news.ycombinator.com/item?id=47170157 Points: 15 # Comments: 4

Hacker Newsabout 3 hours ago
He saw an abandoned trailer. Then, uncovered a surveillance network

Article URL: https://calmatters.org/justice/2026/02/alpr-border-patrol-caltrans/ Comments URL: https://news.ycombinator.com/item?id=47169984 Points: 47 # Comments: 15

Hacker Newsabout 4 hours ago
iPhone and iPad approved to handle classified NATO information

Article URL: https://www.apple.com/newsroom/2026/02/iphone-and-ipad-approved-to-handle-classified-nato-information/ Comments URL: https://news.ycombinator.com/item?id=47169815 Points: 54 # Comments: 28

Hacker Newsabout 4 hours ago
What Claude Code Chooses

Article URL: https://amplifying.ai/research/claude-code-picks Comments URL: https://news.ycombinator.com/item?id=47169757 Points: 17 # Comments: 6