Ziggity – A terminal UI for Git, written in Zig (github.com)

73 points by TheSorcerer 15 hours ago

greggroth 14 hours ago

Neat project, but the README would benefit from a human author. I can tell what you prompted by the way the README is worded. It should tell me more about what this project solves. I don't care that it uses idiomatic zig. Why should I use this instead of lazygit?

arjie 13 hours ago

In general, for most projects like this the README is the product. You usually have better results using it and the code as a starter prompt for your own software if you feel the need. I wouldn’t use this kind of thing directly from upstream.

tosti 13 hours ago

If this is idiomatic zig, functions must be expensive because it fails horribly in the DRY departement. Also, papering over exceptions everywhere by... catching and not handling exceptions. What could possibly go wrong?

blueaquilae 9 hours ago

You have no idea don't you? it's like telling Ghostty failed because you don't understand how try/catch was a mistake in software conception.

dwattttt 6 hours ago

JacobAsmuth 12 hours ago

This is huge. I've always wanted to use Git in the terminal but never been happy with the underlying language that other TUIs were written in. Now that I know that I'm using developer-managed memory I can be much more comfortable and confident changing between branches, pushing, and pulling, and even merging code. Thanks Simone!

ind-igo 4 hours ago

I'm amazed at the comments on this.

blueaquilae 9 hours ago

This is just a copy of LazyGit the original and long player git in tui

insane_dreamer 3 hours ago

lazygit works great and fast enough

hoppp 9 hours ago

I just use the regular git cli. Works fine.

the_gipsy 11 hours ago

I've been using tig, written in C, for ages now, never once crashed. And I'm all for safe languages, but a git TUI isn't really as critical as you imply - if I interpreted the sarcasm correctly.

whimsicalism 12 hours ago

you dropped your /s

sigmonsays 11 hours ago

prolly authored it in a tui and it crashed, since it wasn't written in rust

dd_xplore 13 hours ago

I wonder when is the 900,000 lines single commit coming for Rust rewrite

onlyrealcuzzo 12 hours ago

I'm working on porting the Rust compiler to VB.NET, so I can run it inside Excel spreadsheets.

And so it's "actually memory safe".

/sarcasm in case not obvious.

ubercore 12 hours ago

I really want someone to do this now.

patmorgan23 3 hours ago

IshKebab 12 hours ago

It's written by Claude already so it probably wouldn't make any difference I guess?

v3ss0n 12 hours ago

You beat me to it

pelasaco 13 hours ago

dont worry, soon or late it will show up in HN..

kvisner 12 hours ago

Very cool, but if I'm prompting / looping an AI agent as my main development process, what is the use case here? I feel the biggest help would be to make Reviewing PRs from the terminal easier, I care less about commit logs and status.

lnenad 10 hours ago

I actually made something that has that exact purpose, making reviewing easier. https://github.com/lnenad/difiko

googletron 11 hours ago

you can see the diff before you merge it. my main use case for lg is looking at diff and staging logical parts then committing with another tool or manually.

robertheadley 11 hours ago

I know what these words mean, but if I didn't this would be a whole lot of nonsense.

arikrahman 13 hours ago

Maybe can emphasize yourself and call it LazyZig or something with the lazy moniker.

v3ss0n 12 hours ago

Lazy in a way that it was been vibe coded

PrimalPower 8 hours ago

i've always found magit better than any opinionated git terminal UI. Including LazyGit.

With Claude, i find myself reaching for Magit even less.

mayhemducks 9 hours ago

If Quagmire were in charge of naming things.

alimbada 10 hours ago

I like the Zig+Git+TTY portmanteau.

NamlchakKhandro 7 hours ago

Need to change the logo to one of a guy with a massive chin and a creepy stare.

sashank_1509 12 hours ago

I’m such a CLANKER hater now, I want to know if this was written by agents or not. If written by agents, I don’t want anything to do with it. I only want human written software, even LLM autocomplete seems a bridge too far.

jllyhill 9 hours ago

You can just scroll down to the contributors section to see that it was indeed written by Claude

hoppp 9 hours ago

Understandable

Yes, smells like vibe code. Haven't looked inside but can already tell

ursuscamp 12 hours ago

You're in for a great deal of pain in the coming years.

whimsicalism 12 hours ago

some of you all need to take a break from politics, it is clearly not doing you good and easy to get swept up into group mania imo.

rvz 12 hours ago

So you guarantee that you yourself will never use AI or agents in any capacity?

Is that the principled position you want stand on in 2026 and beyond?

sashank_1509 12 hours ago

Yes I won’t use LLM autocomplete or agents for any personal projects. At work, I’ll do whatever’s needed.

rvz 11 hours ago

colesantiago 12 hours ago

Honest feedback:

This is AI generated TUI slop made with claude.

I've been seeing a sad trend of these things being built with AI with no care and will be just abandoned in less than a month.

Why should I use this when I can use lazygit which is more popular and has been around and battle tested for years?

ICHx 5 hours ago

Exactly, waste of electricity

hoppp 9 hours ago

I like it but the donut animation is not needed, overbuilding gives AI slop vibes

I would love to use it without gimmicks.

jllyhill 9 hours ago

Because it is, Claude is one of the two contributors. Just another slop project made farming HN points and marketing.

icase 11 hours ago

i appreciate that it’s not more rust slop, but i never understood the need for a git frontend.

insane_dreamer 3 hours ago

I started using lazygit a couple years ago, never looked back. It’s great

TheSorcerer 15 hours ago

Hi HN, I've been building Ziggity, a keyboard-driven terminal UI for Git. It's inspired by lazygit (which I used daily), but written from scratch in Zig rather than being a port.

Why another one? Two reasons, honestly. There were a few areas of lazygit I wanted to improve on for my own workflow, and I wanted a real project to build in Zig, which is genuinely powerful and fast, and a joy once it clicks. It compiles to a single small static binary with explicit memory ownership and no libgit2, it just shells out to the `git` you already have. The UI is built on libvaxis. And I let myself add a bit of sugar along the way, because a tool you stare at all day might as well be pleasant.

A few things that are a bit different from lazygit: - A divergence view + status-coloured commit hashes so ahead/behind commits stand out at a glance - Independent drill-downs in the Branches/Commits panels (deliberate, not a port artifact) - Line level staging, interactive rebase, custom patch building, bisect, arbitrary-ref diffing

It's honest about its stage: v0.3.0, macOS/Linux/Windows builds, MIT. The Windows build compiles and libvaxis supports it, but I haven't smoke-tested it on real hardware yet. There's an about screen with a spinning ASCII donut, because why not.

Install: `brew install simoarpe/ziggity/ziggity`, or grab a static binary from the releases page.

Repo: https://github.com/simoarpe/ziggity

I'd genuinely appreciate feedback, especially on the UX and on the Zig code if you're into that. It's a spare time project, so bug reports and "this feels wrong" notes are welcome.

jddj 14 hours ago

I can't really tell why this comment got flagged, so I've vouched it.

Maybe I've missed some context

projektfu 13 hours ago

It's probably because of HN's anti-LLM filter. I don't know if submitters use LLMs to touch up their descriptions or if these descriptions often use LLM-like phrasing.

pageandrew 12 hours ago

uproarchat 12 hours ago

lnenad 10 hours ago

I actually made the same thing in Rust https://github.com/lnenad/difiko

Just FYI a large portion is vibecoded for those that don't like that.