HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
dandavison
delta
Rust2019–2026
dandavison / delta

delta

A syntax-highlighting pager for git, diff, grep, rg --json, and blame output

58Distinct people
85Mentions
2Explicit recommenders
32.7KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

A syntax-highlighting pager for git, diff, grep, rg --json, and blame output

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

Delta is a pager that does Syntax highliting, better diff highliting and improved outputs of existing git commands. Highly recommended. https://github.com/dandavison/delta

SuperSandro2000 used a recommendation phrase. 2 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 8–Nov 15 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/15/2026, 10:01:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year85 dated mentions

Observed mentions: 2019-09-19 15:12:36 UTC to 2026-11-01 13:39:32 UTC.

051015202019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 5 mentions; 3 submissions, 2 comments20192020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 22 mentions; 3 submissions, 19 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 10 mentions; 1 submissions, 9 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 9 mentions; 1 submissions, 8 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 9 mentions; 2 submissions, 7 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 14 mentions; 3 submissions, 11 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 7 mentions; 0 submissions, 7 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 9 mentions; 0 submissions, 9 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC532
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC22319
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC1019
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC918
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC927
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC14311
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC707
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC909

What Hacker News says

22 sources
You could use `git log -p` instead of `git log` so that the diff is included. To navigate efficiently between the commits, you could pre-seed less with a regex that matches commit (and file) lines, so that "n" and "N" jump from one commit (or file) to the next, something like this LESS="-R --pattern ^(commit|diff) " git log -p Delta[1] makes this convenient: delta --navigate. [1] https://github.com/dandavison/delta (Disclosure: I am the author of delta)
In Highlights from Git 2.28
One of the biggest upgrades from using fish is syntax highlighting / autocompletion. You can get fish-style syntax highlighting and autocomplete in zsh (which has the advantage of being more interoperable with bash generally): [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting) [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions) Poster mentioned "modern alternatives exist" with good colorization options. Some of my favorite colorized feature-rich alternatives: ls -> [exa](https://github.com/ogham/exa) cat -> [bat](https://github.com/sharkdp/bat) du -> [ncdu](https://dev.yorhel.nl/ncdu) diff -> [delta](https://github.com/dandavison/delta) In combination with all of the above, [fzf](https://github.com/junegunn/fzf) suddenly becomes a syntax-highlighter preview-pane via leveraging bat (or delta
Read the rest
, as the case may be).
In Colorize Your CLI
Delta is a similar tool with syntax highlighting for most programming languages and customizable themes: https://github.com/dandavison/delta It doesn't have side-by-side diffs, but it's still well worth having around. It's a Unix filter, so it works on any unified diff you can come up with. Its default output isn't a unified diff, but that's easy to fix with its configuration / CLI options (I'm too used to reading unified diffs to like delta's simplified default format).
In Icdiff: Side-by-side highlighted command line diffs
Almost each of the non-macOS tools was once used daily by me, but I've since switched to even better ones in some/all use-cases. zsh + zinit [0] + powerlevel10k [1] > fish + starship. Powerlevel10k and zinit make prompt initialization time with all my plugins much lower than the equivalent setup in fish; I can start typing as soon as I open a terminal without breaking up my prompt. gotop/ytop complement glances/htop. They offer a really sleek TUI that uses braille characters to draw graphs. Poetry > Virtualenv for working in venvs in Python projects. Distro packages > pyenv, rbenv, nodeenv. Most distros provide packages for multiple interpreter versions, and only use one by default. For example, Fedora uses symlinks: /bin/python -> /bin/python3 -> /bin/python3.8; I also have python3.9 beta, python3.7, and python3.6 installed for testing.
Read the rest
For some usecases, termtosvg can be better than asciinema. termtosvg doesn't require additional software or javascript if the user already has a web browser or other animated SVG viewer. delta [2] > diff-so-fancy and colordiff. Delta combines language-specific syntax highlighting (foreground) with diff highlighting (background). nnn [3] > ncdu. It has the functionality of ncdu when sorting by disk usage on top of being the best file manager I've ever used. [0]: https://github.com/zdharma/zinit [1]: https://github.com/romkatv/powerlevel10k [2]: https://github.com/dandavison/delta [3]: https://github.com/jarun/nnn
In Favorite CLI Tools
(delta author here) Line numbers have been added to delta in a contributed PR: https://github.com/dandavison/delta/pull/190. It will merge soon and be in the next release. And we have an open issue for side-by-side view: https://github.com/dandavison/delta/issues/86. I definitely plan to get to it! The next release of delta will also provide diff-so-fancy and diff-highlight emulation modes. See https://github.com/dandavison/delta/issues/205
In Show HN: `fzf` * `Git` done right
Thanks, that's definitely a feature that could be added. My original thought was that the line numbers in the after file are nearly always what one wants, since that's the version that your editor will most naturally be displaying. And I wanted to reduce visual clutter. Delta currently displays just the first line number of each diff hunk; not on every line. But that's also something that could be made configurable. EDIT: In fact an issue was opened for this very recently: https://github.com/dandavison/delta/issues/130 Ideally, I think that a mouse click in an appropriate location in a terminal emulator window should open the user's editor on the correct line of the correct file.
In Show HN: A syntax highlighter for Git and diff output, written in Rust

Showing the 15 most recent of 22 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.