{"id":28958445,"url":"https://github.com/deadhedd/openbsd-server","last_synced_at":"2025-06-23T23:01:43.123Z","repository":{"id":300831182,"uuid":"1002037914","full_name":"deadhedd/openbsd-server","owner":"deadhedd","description":"Tools for my OpenBSD home server","archived":false,"fork":false,"pushed_at":"2025-06-23T20:37:09.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-23T21:19:52.794Z","etag":null,"topics":["obsidian","openbsd","openbsd-scripts","openbsd-setup","server","server-config","server-configuration","shell","tap"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deadhedd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-14T15:26:11.000Z","updated_at":"2025-06-23T20:35:53.000Z","dependencies_parsed_at":"2025-06-23T21:19:57.874Z","dependency_job_id":"6d969732-2979-4731-ab9d-5ff5bc25be65","html_url":"https://github.com/deadhedd/openbsd-server","commit_stats":null,"previous_names":["deadhedd/openbsd-server"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/deadhedd/openbsd-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadhedd%2Fopenbsd-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadhedd%2Fopenbsd-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadhedd%2Fopenbsd-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadhedd%2Fopenbsd-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadhedd","download_url":"https://codeload.github.com/deadhedd/openbsd-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadhedd%2Fopenbsd-server/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261571302,"owners_count":23178762,"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","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":["obsidian","openbsd","openbsd-scripts","openbsd-setup","server","server-config","server-configuration","shell","tap"],"created_at":"2025-06-23T23:00:53.721Z","updated_at":"2025-06-23T23:01:43.116Z","avatar_url":"https://github.com/deadhedd.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openbsd-server\r\n\r\nA collection of scripts to configure and validate an OpenBSD server for hosting a Git-backed Obsidian vault.\r\n\r\n---\r\n\r\n## Scripts\r\n\r\n### v0.1\r\n\r\n- **openbsd_server_rebuild_public_v0.1.sh**  \r\n  Automates setup of a fresh OpenBSD server so that it passes our validation tests.\r\n\r\n- **test_openbsd_setup_public_v0.1.sh**  \r\n  A self-contained TAP-compatible test suite that checks:\r\n  - User account setup \u0026 shells  \r\n  - File permissions \u0026 doas policy  \r\n  - Static network config \u0026 DNS  \r\n  - SSH hardening  \r\n  - Git installation \u0026 push access  \r\n  - Bare-repo structure \u0026 safe directory flags  \r\n\r\n### v0.1.1 (test enhancements)\r\n\r\n- **test_openbsd_setup_public_v0.1.1.sh**  \r\n  Prep for next iteration—adds additional checks and refactors existing tests.\r\n\r\n---\r\n\r\n## Usage\r\n\r\n### Run the tests\r\n\r\n```sh\r\nsh test_openbsd_setup_public_v0.1.sh\r\n```\r\n\r\nOr (for the upcoming iteration):\r\n\r\n```sh\r\nsh test_openbsd_setup_public_v0.1.1.sh\r\n```\r\n\r\nYou can override any default via environment variables:\r\n\r\n```\r\nREG_USER=obsidian \\\r\nGIT_USER=git \\\r\nVAULT=myvault \\\r\nINTERFACE=em0 \\\r\nSTATIC_IP=192.0.2.10 \\\r\nsh test_openbsd_setup_public_v0.1.sh\r\n```\r\n\r\nRun the setup\r\n\r\n```\r\nsh openbsd_server_rebuild_public_v0.1.sh\r\n```\r\n\r\nReleases \u0026 Tags\r\n\r\nI tag each public version so you can grab a ZIP directly:\r\n\r\n    v0.1 – passing setup and test suite\r\n\r\n    v0.1.1 – next-iteration test enhancements\r\n\r\nIf you haven’t already:\r\n\r\n```sh\r\ngit push origin --tags\r\n```\r\n\r\nAnd you can see our formal Releases page on GitHub.\r\nLicense\r\n\r\nMIT OR 0BSD — see the LICENSE file.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadhedd%2Fopenbsd-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadhedd%2Fopenbsd-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadhedd%2Fopenbsd-server/lists"}