alt.hn

7/20/2026 at 3:46:18 PM

Ziggity – A terminal UI for Git, written in Zig

https://github.com/simoarpe/ziggity

by TheSorcerer

7/20/2026 at 5:09:51 PM

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?

by greggroth

7/21/2026 at 10:06:50 AM

This is probably the most valuable feedback received so far. I'll make sure to draft a new README file following what you have suggested. The current version was partially written with the help of AI as English is not my primary language but I recognize that I should put more emphasis on what this project solves. I've put a few points in a separate file called ENHANCEMENTS_OVER_LAZYGIT.md but I will probably review and merge it into the primary README file. Thanks!

by TheSorcerer

7/20/2026 at 5:59:29 PM

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.

by arjie

7/20/2026 at 5:52:07 PM

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?

by tosti

7/20/2026 at 9:46:46 PM

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.

by blueaquilae

7/21/2026 at 1:18:10 AM

Why are there exceptions in the first place then? If that's what you want, write ON ERROR RESUME NEXT and be honest about it.

by dwattttt

7/20/2026 at 6:56:59 PM

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!

by JacobAsmuth

7/21/2026 at 10:10:48 AM

Happy to receive feedback and suggestions if you have any. I've used Lazygit for several years, and it's an amazing project, but I'm much faster and productive with Ziggity now: you'll never leave the TUI, and the text is selectable with the mouse.

by TheSorcerer

7/21/2026 at 3:18:36 AM

I'm amazed at the comments on this.

by ind-igo

7/20/2026 at 9:24:47 PM

I just use the regular git cli. Works fine.

by hoppp

7/20/2026 at 7:44:33 PM

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.

by the_gipsy

7/20/2026 at 6:59:36 PM

you dropped your /s

by whimsicalism

7/21/2026 at 7:04:20 AM

/s isn't necessary, sarcasm shouldn't be signposted.

by petepete

7/21/2026 at 10:33:00 AM

it is necessary to discern whether the person actually believes it or not. you may understand it but internet is accessible by a lot of idiots. at least one of them is inclined to take the words at face value

by rk06

7/20/2026 at 8:10:54 PM

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

by sigmonsays

7/20/2026 at 6:15:10 PM

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

by dd_xplore

7/20/2026 at 6:29:14 PM

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.

by onlyrealcuzzo

7/20/2026 at 6:59:59 PM

I really want someone to do this now.

by ubercore

7/21/2026 at 3:57:57 AM

Port it to PowerPoint!

by patmorgan23

7/20/2026 at 6:20:41 PM

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

by IshKebab

7/21/2026 at 10:32:49 AM

Never! (Pinky finger)

by TheSorcerer

7/20/2026 at 6:22:08 PM

You beat me to it

by v3ss0n

7/20/2026 at 6:16:11 PM

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

by pelasaco

7/21/2026 at 6:30:11 PM

Serious suggestion, as we’re going to get many such submissions in the future.

Can we have an honor code policy of no LLM agents used in development if you want to present on Hacker News.

The way I think of it is if we have a forum for painters and then someone just keeps sharing GenAI paintings that he did not actually paint. It’s ridiculous, I want to look at stuff humans painted, not AI.

Yes software does have use, and LLM companies have managed to make it so that anyone can build useful software for themselves if they want. So what’s left, is software as an art to appreciate, and I can’t appreciate AI generated art or software whether it is “good”, “functional”, “idiomatic”, “elegant” whatever. We still watch humans play chess, not computers play against each other though sometimes they can be interesting.

I’m not a “Luddite”, I’m unhappy with the way American AI companies have gone about this, if they released open weights it would be better.

But AI fundamentally changes the meaning of developing software, the way a compiler doesn’t. There’s no building software once you’re using LLM, just as there’s no playing chess when you have a chess engine to help you. And maybe AI code will not look like slop in the future, doesn’t matter, I still don’t really care if an AI built it.

by sashank_1509

7/20/2026 at 6:48:27 PM

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.

by kvisner

7/20/2026 at 8:29:00 PM

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

by lnenad

7/21/2026 at 10:12:48 AM

Neat!

by TheSorcerer

7/20/2026 at 7:32:53 PM

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.

by googletron

7/20/2026 at 7:43:50 PM

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

by robertheadley

7/20/2026 at 5:27:11 PM

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

by arikrahman

7/20/2026 at 6:24:04 PM

Lazy in a way that it was been vibe coded

by v3ss0n

7/20/2026 at 10:38:28 PM

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

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

by PrimalPower

7/20/2026 at 10:07:39 PM

If Quagmire were in charge of naming things.

by mayhemducks

7/20/2026 at 9:15:52 PM

I like the Zig+Git+TTY portmanteau.

by alimbada

7/20/2026 at 6:24:44 PM

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.

by sashank_1509

7/20/2026 at 9:32:59 PM

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

by jllyhill

7/20/2026 at 9:25:55 PM

Understandable

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

by hoppp

7/20/2026 at 6:47:56 PM

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

by ursuscamp

7/20/2026 at 7:05:08 PM

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.

by whimsicalism

7/20/2026 at 6:53:08 PM

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?

by rvz

7/20/2026 at 7:11:27 PM

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

by sashank_1509

7/20/2026 at 7:32:45 PM

> Yes I won’t use LLM autocomplete or agents for any personal projects.

So you would use AI including LLM autocomplete at work, but at the same time, you don't want anything to do with it?

You just previously said that:

>> "...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."

That means you would still use AI at some capacity which breaks that guarantee.

This also means that you just contradicted yourself, when I explicitly said in any capacity that you would never use AI or agents at all.

by rvz

7/21/2026 at 6:44:08 AM

People often do things they don't want to when at work.

by dtj1123

7/20/2026 at 11:24:19 PM

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

by NamlchakKhandro

7/20/2026 at 6:42:13 PM

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?

by colesantiago

7/21/2026 at 2:13:59 AM

Exactly, waste of electricity

by ICHx

7/21/2026 at 10:29:45 AM

So many wrong assumptions in a single message. Lazygit is a fantastic project, I've been using it for several years, but there were so many things I wanted to improve/change, that eventually I decided to create my own project. Go is not a language I wanted to explore, while I had this interest in giving Zig a try, so eventually I picked it and was blown away by how fast it can be. There's a file called ENHANCEMENTS_OVER_LAZYGIT.md (https://github.com/simoarpe/ziggity/blob/main/docs/ENHANCEME...) but I'll soon merge it into the main README. At my daily job, I handle huge git projects, and use Ziggity daily now, and I'm much more productive.

I can name a few improvements over Lazygit in random orders:

- Text selection with automatic copy, it works super smoothly and it's useful when you need to quickly copy a commit hash, a portion of code, a diff, or a branch name.

- Force-push with lease, it's something that should be always used when force pushing. If you work in a large codebase it should always be your first attempt after a rebase, and that's how Ziggity works. It will ask to fallback to normal force-push if it didn't work, but you'll remain in control.

- Git actions are async without leaving the TUI: this is in my opinion the biggest improvement over Lazygit, and it makes me much more productive, Lazygit was continuously switching to prompt and asking to press to return back to the TUI. There are also good reasons for this but as a general philosophy I wanted something different, and more optimized.

- I've implemented the 50/72 rule (https://dev.to/noelworden/improving-your-commit-message-with...) for the commits and I can finally prepare good commits, where I highlight when a title is too long and there's a shadow for the linewrap. They are both configurable so I'm not forcing this option.

- I have also implemented the correct behavior a couple of other features that are currently broken on Lazygit, the most serious one for example is that switching branch by name is completely broken and you'll end up in commit in a detached state (try yourself if you don't believe me).

So to answer your question: You should not switch to Ziggity if you are fine with Lazygit. But if you are a proficient Git user, handle largit Git projects, and you have used Lazygit for a while and noticed a few things were "suboptimal"; then you should give Ziggity a try.

by TheSorcerer

7/20/2026 at 9:24:12 PM

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

I would love to use it without gimmicks.

by hoppp

7/20/2026 at 9:29:59 PM

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

by jllyhill

7/20/2026 at 8:10:03 PM

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

by icase

7/21/2026 at 8:22:00 AM

I think it can be helpful sometimes when looking at large diffs.

I tend to use the tools in GitHub/Bitbucket. But, I can see how this could be a good alternative.

by jodysalt

7/21/2026 at 4:15:10 AM

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

by insane_dreamer

7/21/2026 at 10:44:01 AM

I've used Lazygit daily for almost four years. It's a fantastic project, and I suggest donating to Jesse as he did a great job.

In my daily job a heavily use Git and a few things bothered me, so I decided to create my own project. Go is not a language I wanted to explore, while I had this interest in giving Zig a try, so eventually I picked it and was blown away by how fast it can be. There's a file called ENHANCEMENTS_OVER_LAZYGIT.md (https://github.com/simoarpe/ziggity/blob/main/docs/ENHANCEME...) but I'll soon merge it into the main README. At my daily job, I handle huge git projects, and use Ziggity daily now, and I'm much more productive. I can name a few improvements over Lazygit in random orders:

- Text selection with automatic copy, it works super smoothly and it's useful when you need to quickly copy a commit hash, a portion of code, a diff, or a branch name.

- Force-push with lease, it's something that should be always used when force pushing. If you work in a large codebase it should always be your first attempt after a rebase, and that's how Ziggity works. It will ask to fallback to normal force-push if it didn't work, but you'll remain in control.

- Git actions are async without leaving the TUI: this is in my opinion the biggest improvement over Lazygit, and it makes me much more productive, Lazygit was continuously switching to prompt and asking to press to return back to the TUI. There are also good reasons for this but as a general philosophy I wanted something different, and more optimized.

- I've implemented the 50/72 rule (https://dev.to/noelworden/improving-your-commit-message-with...) for the commits and I can finally prepare good commits, where I highlight when a title is too long and there's a shadow for the linewrap. They are both configurable so I'm not forcing this option.

- I have also implemented the correct behavior a couple of other features that are currently broken on Lazygit, the most serious one for example is that switching branch by name is completely broken and you'll end up in commit in a detached state (try yourself if you don't believe me).

If you decide to give Ziggity a try, I'm happy to receive feedback

by TheSorcerer

7/21/2026 at 6:55:43 PM

thanks for the info; will give it a try

fyi, a couple of features that lazygit does not have, or that aren't easily done in lazygit and which pycharm does quite well (I've used _many_ git tools, and IMO pycharm's internal implementation is still the best, but I switched to lazygit because I dropped pycharm for zed).

- diff any branch against any other branch (lazygit relies on certain branches being marked or inferred as main branches against which you can diff)

- see a file's git history (and which branches those commits are on), drill into the commits

- github (or gitlab, codeberg, etc.) support: open commit in github (easiest way to share commit with a co-worker, for example)

by insane_dreamer

7/21/2026 at 7:02:50 PM

Thanks! Super valuable feedback! I'll make sure to implement these features in the near future. The branch diff is already there and works quite nice.

by TheSorcerer

7/21/2026 at 8:37:00 PM

another feature that pycharm has (and Zed though not as well implemented): insert the filename into the commit text.

zed inserts the filename but doesn't allow you to edit the commit (so it's all or nothing), pycharm allows you to edit the commit prepopulated with the filename if only one file is staged.

another enhancement is that neither pycharm or zed can handle inserting multiple filenames into the commit. so while editing the commit, you could potentially have keys to insert the staged filenames, i.e., by pressing a meta+number key combo where ctrl+1 inserts the first filename in the staged list, ctrl+2 the second, 1-9. just an idea.

by insane_dreamer

7/20/2026 at 3:46:18 PM

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.

by TheSorcerer

7/20/2026 at 4:58:47 PM

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

Maybe I've missed some context

by jddj

7/20/2026 at 5:58:50 PM

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.

by projektfu

7/20/2026 at 7:14:13 PM

> - Independent drill-downs in the Branches/Commits panels (deliberate, not a port artifact)

> (deliberate, not a port artifact)

Smells like AI

by pageandrew

7/20/2026 at 7:37:40 PM

Also lots of "genuinely" and some air quoted phrases which are another tell.

I guess you folks are right and it's probably the llm filter. I looked at the GitHub and thought it had too many screenshots to not have had some human effort, but who knows these days.

by jddj

7/20/2026 at 6:56:03 PM

If that's what happened, I wonder if the same filters exist for tools like Grammarly. Some people are English as a second language, and some people simply want to put the best foot forward and make the best first impression.

by uproarchat

7/21/2026 at 10:31:07 AM

Thank you! I've used AI to fix my English as it's not my primary language and probably got flagged.

by TheSorcerer

7/20/2026 at 5:47:21 PM

[dead]

by eadesola

7/20/2026 at 8:27:26 PM

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.

by lnenad