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 modules – CI and hosting rethought

5 pointsby jkarni3 months ago
Hi HN!<p>We&#x27;re the team behind garnix, and today we&#x27;re releasing the beta of garnix modules. Check it out at: <a href="https:&#x2F;&#x2F;garnix.io&#x2F;modules" rel="nofollow">https:&#x2F;&#x2F;garnix.io&#x2F;modules</a>.<p>In some ways garnix modules should be very familiar: it&#x27;s a CI and hosting platform, related to Heroku, Render, Fly.io, and Railway. But it&#x27;s also been rethought from the ground up in order to provide a lot of advantages over these platforms:<p>- <i>CI isn&#x27;t an afterthought</i>: garnix modules is meant to be the better choice even if you aren&#x27;t deploying anything at all, just running CI. No need to learn and integrate two systems (e.g. GitHub Actions and Fly.io)<p>- <i>Caching of builds and dependencies happens automatically</i>: This means, most obviously, faster rebuilds without extra work.<p>- <i>Caching works across repos and organizations</i>: If someone built it, you don&#x27;t have to.<p>- <i>Easy to reproduce CI locally</i>: Not only does this make development faster, but also spares you from vendor lock-in.<p>- <i>CI doubles as a build-farm</i>: When you &quot;build&quot; locally too, if CI built it, it&#x27;ll just be substituted.<p>- <i>Provides you with a development shell</i>: Containing everything you need to build and test your project, as well as the development tools you pick.<p>- <i>Web server deployments are zero-downtime</i>: At least if they&#x27;re not using persistence, we won&#x27;t switch traffic over until your app successfully started.<p>- <i>Easy VMs</i>: You can start VMs locally reproducing your deployments. You can even create images if you want to deploy yourself, again reducing vendor lock-in<p>- <i>Tens of thousands of packages to choose from</i>: For development shell and for your deployed server.<p>The way we managed to make all this work heavily using Nix and NixOS under the hood. But you don&#x27;t need to know any Nix at all: that&#x27;s where the modules come in. They replace the Nix code with simple forms. (It is advantageous, though not necessary, to <i>install</i> Nix - it gets you the local development shell, for example. But all you need to know are one or two commands.)<p>garnix has existed for a while before modules came along (i.e., as a tool for Nix users), so other parts of it are more stable. But we&#x27;re very quickly adding new features and stacks to modules.<p>We&#x27;d love to hear what you think!<p>Alex, Evie, Jean-François, Julian and Sönke

no comments

no comments