{"id":20534729,"url":"https://github.com/qbit/mastodon_openbsd","last_synced_at":"2025-04-14T06:54:17.462Z","repository":{"id":136344485,"uuid":"117379417","full_name":"qbit/mastodon_openbsd","owner":"qbit","description":"Ansible playbooks to take an OpenBSD system from 0 to Mastodon in one whack!","archived":false,"fork":false,"pushed_at":"2018-01-31T13:42:22.000Z","size":92,"stargazers_count":19,"open_issues_count":1,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-27T20:41:14.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qbit.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}},"created_at":"2018-01-13T21:21:37.000Z","updated_at":"2024-11-06T12:32:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"3decc51c-64b5-4aa9-8f69-519988f7e6d7","html_url":"https://github.com/qbit/mastodon_openbsd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fmastodon_openbsd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fmastodon_openbsd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fmastodon_openbsd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fmastodon_openbsd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qbit","download_url":"https://codeload.github.com/qbit/mastodon_openbsd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837281,"owners_count":21169374,"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":[],"created_at":"2024-11-16T00:27:54.702Z","updated_at":"2025-04-14T06:54:17.446Z","avatar_url":"https://github.com/qbit.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"mastodon_openbsd\n================\n\nPlaybooks / roles to bring an OpenBSD machine up as a Mastodon instance.\n\n[![asciicast](https://asciinema.org/a/Rm0NmOaOutxO28HeRWoj5T1QD.png)](https://asciinema.org/a/Rm0NmOaOutxO28HeRWoj5T1QD)\n\n# Using\n\nOn your management machine:\n```\ndoas pkg_add ansible\ngit clone https://github.com/qbit/mastodon_openbsd.git\ncd mastodon_openbsd\ncp hosts.example hosts\n...modify hosts file. adding your instance name, etc...\nansible-playbook site.yml\n```\n\n# Assumptions\n\n* Target machine is a *FRESH* install. If it isn't your configurations might get whacked!\n* Target machine has a large amount of RAM (Test instance has 8G).\n* Remote host has Python 2.7 installed (`pkg_add -z python-2.7`).\n* Remote host is running OpenBSD-current (snapshots).\n* /var has enough space for the entire Mastodon install (~250M).\n* `instance_name` is the FQDN of your desired Mastodon instance.\n\n# Status\n\n- [X] Database install / configuration\n    - [X] Redis\n    - [X] PostgreSQL\n- [X] NGINX install / configuration\n    - [X] Acme SSL certs with automatic renewal.\n- [X] Mastodon install / configuration\n    - [X] Verification of code via PGP and git (fsckobjects)\n    - [X] Generation of Secrets\n    - [X] Generation of VAPID keys\n    - [ ] RC scripts for clean startup\n- [X] Mail service\n\n# LICENSE\n\n```\n/*\n * Copyright (c) 2018 Aaron Bieber \u003caaron@bolddaemon.com\u003e\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n */\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fmastodon_openbsd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbit%2Fmastodon_openbsd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fmastodon_openbsd/lists"}