{"id":28950223,"url":"https://github.com/nullishamy/nacl","last_synced_at":"2025-08-19T06:34:11.940Z","repository":{"id":276375761,"uuid":"928050387","full_name":"nullishamy/nacl","owner":"nullishamy","description":"manage and deploy your homelab with easy to use static binaries. it's saltstack in nim. ","archived":false,"fork":false,"pushed_at":"2025-02-24T23:44:35.000Z","size":1167,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-23T13:52:14.267Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nim","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/nullishamy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-02-06T01:16:19.000Z","updated_at":"2025-02-24T23:44:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"843c7202-2a5b-420a-971e-6cfb0fd8f520","html_url":"https://github.com/nullishamy/nacl","commit_stats":null,"previous_names":["nullishamy/nacl"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nullishamy/nacl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullishamy%2Fnacl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullishamy%2Fnacl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullishamy%2Fnacl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullishamy%2Fnacl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullishamy","download_url":"https://codeload.github.com/nullishamy/nacl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullishamy%2Fnacl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271113417,"owners_count":24701609,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-06-23T13:37:50.750Z","updated_at":"2025-08-19T06:34:11.934Z","avatar_url":"https://github.com/nullishamy.png","language":"Nim","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nacl - saltstack but with extra Nim\n\n## get started:\nbuild the binary:\n```sh\nnim --passL:-static --out=bin/nacl --opt:speed compile src/main.nim\n```\n\nstart the server:\n```sh\n./bin/nacl server\n```\n\ncreate the agent file (agent.cl):\n```cl\n'(\n  '('host \"your server\")\n  '('port 6969))\n```\n\ncopy the nacl binary and agent file to the server,\nthen start the agent:\n```sh\n./nacl agent\n```\n\nthe agent will now handshake with the server, and then await instruction\n\nyou can execute instructions through the CLI:\n```nushell\n# This is nushell syntax, replace open with `cat` or similar\n./bin/nacl exec (open ./init-server.cl)\n```\n```cl\n; init-server.cl\n(defun install-package (pkg)\n  (exec \"apt\" '(\"install\" pkg)))\n\n(defun update-package-set ()\n  (exec \"apt\" '(\"update\")))\n\n(set 'do-docker 1)\n(defun docker-init ()\n  (exec \"echo\" '(\"docker installation not implemented yet\")))\n\n(plan \"initialise new server\"\n  ((update-package-set)\n   (install-package \"git\")\n   (install-package \"net-tools\")\n   (if do-docker\n     (docker-init))))\n```\n\nobserve the results!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullishamy%2Fnacl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullishamy%2Fnacl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullishamy%2Fnacl/lists"}