{"id":21067352,"url":"https://github.com/zefhemel/nixcloud","last_synced_at":"2026-04-23T12:31:50.510Z","repository":{"id":66707532,"uuid":"10496809","full_name":"zefhemel/nixcloud","owner":"zefhemel","description":"An conceptual general-purpose PaaS built on top of Nix","archived":false,"fork":false,"pushed_at":"2013-06-20T23:45:14.000Z","size":236,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-01T09:16:26.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zefhemel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-05T06:56:19.000Z","updated_at":"2018-08-19T03:01:03.000Z","dependencies_parsed_at":"2023-02-20T09:45:35.881Z","dependency_job_id":null,"html_url":"https://github.com/zefhemel/nixcloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zefhemel/nixcloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefhemel%2Fnixcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefhemel%2Fnixcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefhemel%2Fnixcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefhemel%2Fnixcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zefhemel","download_url":"https://codeload.github.com/zefhemel/nixcloud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zefhemel%2Fnixcloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32181365,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T11:42:27.955Z","status":"ssl_error","status_checked_at":"2026-04-23T11:42:18.877Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T18:06:35.441Z","updated_at":"2026-04-23T12:31:50.491Z","avatar_url":"https://github.com/zefhemel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A proof of concept PaaS built on top of Nix.\n\nWhat it does\n============\n\nIt allows you to create users and repos. A repo represent an\napplication that can be run. When you push to the repo, deployment is\nautomatically triggered based on a `default.nix` file, see\n`sample-app/default.nix` for an example. When the build is successful,\nits closure is copied to the other machine (`host`) where the\nresulting runner is installed and started as a systemd service. The\napplication is then available under `http://host:someport`.\n\nCurrently there's no load balancer in front yet, and ports are also\nnot automatically assigned, that is for later.\n\nHow to setup and use\n====================\n\n    $ ./generate-keys.sh\n    $ nixops create network.nix infra-vbox.nix -d nixcloud\n    $ nixops deploy\n\nThis deploys two servers:\n\n* builder: which hosts the application repositories the user can push to and performs builds\n* host: which runs the application (eventually there will be many hosts, but currently only one is supported)\n\nTo create a new user:\n\n    $ nixops ssh -d nixcloud builder nixcloud-create-user zef\n\nTo setup a public key:\n\n    $ nixops ssh -d nixcloud builder nixcloud-add-key zef ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCjWpdyDIsS09lWlOsMG9OMTHB/N/afVU12BwKcyjjhbezPdFEgHK4cZBN7m1bvoFKl832BdB+ZjeRH4UGBcUpvrFu1vE7Lf/0vZDU7qzzWQE9V+tfSPwDiXPf9QnCYeZmYPDHUHDUEse9LKBZbt6UKF1tuTD8ussV5jvEFBaesDhCqD1TJ4b4O877cdx9+VTOuDSEDm32jQ2az27d1b/5DoEKBe5cJSC3PhObAQ7OAYrVVBFX9ffKpaSvV6yqo+rhCmXP9DjNgBwMtElreoXL3h5Xbw2AiER5oHNUAEA2XGpnOVOr7ZZUAbMC0/0dq387jQZCqe7gIDZCqjDpGhUa9\n\nTo create a new repository:\n\n    $ nixops ssh -d nixcloud builder nixcloud-create-repo zef mynewrepo\n\nTo push to that repo:\n\n    $ mkdir mynewrepo\n    $ cd mynewrepo\n    $ git init\n    $ git remote add origin zef@\u003cip-of-builder\u003e:repo/mynewrepo\n\nNow, create some content, or use the sample app:\n\n    $ cp -r ~/git/nixcloud/sample-app/* .\n    $ git add *\n    $ git commit -a -m \"Initial checkin\"\n    $ git push origin master\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzefhemel%2Fnixcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzefhemel%2Fnixcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzefhemel%2Fnixcloud/lists"}