TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Garnix, fast and easy CI for Nix

120 pointsby jkarniover 2 years ago
Hello HN!<p>For the past few months, I&#x27;ve been building a Nix-specific CI service, and quite a few people have been productively using it, so I thought I&#x27;d Show HN it.<p>You might be wondering why build a Nix-specific CI. It turns out its quite hard to get a really good CI setup for Nix without spending a lot of time or money on it (or both), and even then solutions don&#x27;t tend to be optimal.<p>Garnix, on the other hand, handles everything, and simply. Just create an account, install the GitHub app on the repositories you want, and you&#x27;re good to go! Each package gets its own GitHub check, and separate log output, which makes it really easy to figure out what went wrong (you can see an example here: <a href="https:&#x2F;&#x2F;garnix.io&#x2F;build&#x2F;X9knYZOB" rel="nofollow">https:&#x2F;&#x2F;garnix.io&#x2F;build&#x2F;X9knYZOB</a>). Builds are very fast compared to e.g Github Actions. The build artifacts are made available in a Nix cache so you never have to rebuild locally. And there are builders for x86-64 Linux as well as M1 Macs and aarch64 Linux.<p>Try it out: <a href="https:&#x2F;&#x2F;garnix.io" rel="nofollow">https:&#x2F;&#x2F;garnix.io</a>. It&#x27;s free, though if you like it, consider donating! (Note that it only works with flakes.)<p>Cheers, Julian

9 comments

simjueover 2 years ago
&gt; It&#x27;s free<p>But is it open-source? I can&#x27;t find the code.
评论 #33132216 未加载
solaticover 2 years ago
So, you&#x27;re trying to build a more integrated service than Hercules (<a href="https:&#x2F;&#x2F;hercules-ci.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hercules-ci.com&#x2F;</a>)? How would you compare it?
评论 #33132918 未加载
评论 #33133456 未加载
yewenjieover 2 years ago
I have been using it for past four months and have been generally happy with it. Any clue about when you&#x27;re thinking of either open-sourcing it or launching paid plans?
评论 #33132206 未加载
forgotpwd16over 2 years ago
&gt;To top it all up, we run on 100% renewable energy.<p>How is that? You run the entire infrastructure on solar panels or something?
评论 #33132669 未加载
评论 #33133385 未加载
stuzenzover 2 years ago
Hi Julian,<p>I just had a play with Garnix - and have to say I am impressed. Nicely executed.<p>Nice to see nix and flakes hitting hackernews through projects&#x2F;services like this.
评论 #33144940 未加载
return_to_monkeover 2 years ago
Why would you recommend using this over for example GitHub Actions (also free) with a workflow that installs nix and then builds the flake?
评论 #33134195 未加载
评论 #33134819 未加载
blakesmithover 2 years ago
This looks really cool, and showcases how simple CI can be if every git repository exposes a nix flake. Congrats on shipping!
nkmnzover 2 years ago
love the name
评论 #33132074 未加载
mplanchardover 2 years ago
Looks pretty nice! Any plans or thoughts around supporting GitLab?
评论 #33132606 未加载