[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-81977":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},81977,"garnix-ci","garnix-io\u002Fgarnix-ci","garnix-io","CI and hosting for nix-based, flakified github repos",null,"Haskell",413,41,3,0,1,22,111,13,4.87,"BSD 3-Clause \"New\" or \"Revised\" License",false,"main",true,[],"2026-06-12 02:04:21","# Garnix\n\nGarnix is a CI service for nixified, flake-based github repos.\n\n## Running Garnix locally in VMs\n\nYou can spin up a couple of qemu VMs that provide a full Garnix deployment with:\n\n```bash\nnix run -L .#examples_spinUpVms\n```\n\nThis will use [`nixos-compose`](https:\u002F\u002Fgithub.com\u002Fgarnix-io\u002Fnixos-compose).\nIf you run:\n\n```bash\nnixos-compose tap\nnixos-compose status\n```\n\nYou should then be able to point your browser to the ip address of the `exampleGarnixServer` to see the hosted ci.\n\nAnd there's an admin page on `\u002Fgarnix-admin` that is useful for some development tasks.\n\n### Setting up a GitHub app\n\nYou _will_ need a github app for Garnix to work, both for production and for testing.\nOn the `\u002Fgarnix-admin` page you can create one by pressing the 'Submit to GitHub' button.\nThat will give you a bunch of credentials that you'll have to put into the `\u002Fsecrets\u002Fdev.yaml` file by running\n\n```bash\nsops edit secrets\u002Fdev.yaml\n```\n\nThen you have to enable your new GitHub app on a repo that you want to build through the GitHub ui.\nFinally, you can submit a test build, with something like this:\n\n```bash\ncurl -v \\\n  -XPOST \\\n  http:\u002F\u002F$(nixos-compose ip exampleGarnixServer)\u002Fapi\u002Fbuild\u002Fsubmit \\\n  -H 'Content-Type: application\u002Fjson' \\\n  -d '{ \"owner\": \"garnix-io\", \"repo\": \"comment\", \"testCommit\": \"8b2b57d91dd1f4d094bb944a0a0ef65319a5663f\" }'\n```\n\nAnd then you can see the build under `\u002Frepo\u002Fgarnix-io\u002Fcomment`, for example.\n\n### Developing the frontend\n\nYou can run the frontend in development mode against a backend in a VM like this:\n\n```bash\nnixos-compose up -v\ncd frontend\nnpm run dev\n```\n\nThen point your browser to [localhost:3000](http:\u002F\u002Flocalhost:3000).\n\n\n# Acknowledgments\n\nWe erased git history when open sourcing, so we'll be explicit here about our\ndebt to everyone who contributed before the project became open source:\n\nAlex David\nEvie Ciobanu\nGreg Pfeil\nJean-François Roche\nJulian Kirsten Arni\nRamses de Norre\nSönke Hahn\n\nThanks very very much!\n","Garnix 是一个针对使用 Nix 和 Flakes 的 GitHub 仓库提供的持续集成（CI）及托管服务。它利用 Haskell 编写，支持通过 Nix 和 NixOS 构建的项目，提供了一个完整的 CI 环境，包括构建、测试和部署功能，并且可以通过本地虚拟机轻松部署以进行开发和测试。该项目特别适合于那些希望在基于 Nix 的环境中实现自动化构建流程的开发者或团队，尤其是在需要高度定制化和可重复性构建过程的情况下。通过与 GitHub 应用程序集成，Garnix 可以为任何启用了该应用的仓库自动触发构建任务。",2,"2026-06-11 04:07:21","CREATED_QUERY"]