Recent submissions

Comment · 3 years ago
Comment · 5 years ago
Ah I didn’t know it was deprecated, but good to see new work happening in this area!
Comment · 5 years ago
Comment · 5 years ago
I wrote https://github.com/banga/git-split-diffs mainly to scratch an itch about not having side by side git diffs in the terminal, then ended up adding more fancy features like syntax highlighting and it got somewhat popular.
Comment · 5 years ago
Yeah I looked into bundling and deno, but neither of those seemed palatable at this point. Deno’s ecosystem is still quite small, so I’d have to implement things like syntax highlighting from scratch which is not feasible. Other bundling options don’t seem all that reliable / popular and they aren’t really solving the actual issue of untrusted dependencies. So my current take is to just use node and be very conservative with dependencies.
Comment · 5 years ago
Comment · 5 years ago
:) thanks nayak!
Comment · 5 years ago
The slowest operation is syntax highlighting: https://github.com/banga/git-split-diffs#performance. I have a PR out to improve that somewhat.

Good point about the themes, I'll add one. I'm hoping to make it easy to customize individual theme colors so you could unset the background colors, for example

Comment · 5 years ago
Comment · 5 years ago
Yeah I (un)fortunately learned about delta too late or I probably wouldn't have made this. The main difference is that delta's default styles and appearance did not appeal to me. I'm sure it can be customized, but I wanted something that looked great by default. I especially like that the syntax highlighting matches vscode's since that's the editor I use for work.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton