{"id":33126021,"url":"https://github.com/magooney-loon/pb-deployer","last_synced_at":"2026-02-25T15:20:20.852Z","repository":{"id":310827758,"uuid":"1034451670","full_name":"magooney-loon/pb-deployer","owner":"magooney-loon","description":"pocketbase deployer","archived":false,"fork":false,"pushed_at":"2025-11-25T21:11:44.000Z","size":7071,"stargazers_count":32,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-29T02:16:53.485Z","etag":null,"topics":["automation","pocketbase","self-hosted","sveltekit","vps-deployment"],"latest_commit_sha":null,"homepage":"","language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magooney-loon.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-08T12:12:45.000Z","updated_at":"2025-11-27T05:36:33.000Z","dependencies_parsed_at":"2025-08-20T14:22:47.939Z","dependency_job_id":"b2867855-4264-4ddc-8631-22147ef48027","html_url":"https://github.com/magooney-loon/pb-deployer","commit_stats":null,"previous_names":["magooney-loon/pb-deployer"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/magooney-loon/pb-deployer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magooney-loon%2Fpb-deployer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magooney-loon%2Fpb-deployer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magooney-loon%2Fpb-deployer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magooney-loon%2Fpb-deployer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magooney-loon","download_url":"https://codeload.github.com/magooney-loon/pb-deployer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magooney-loon%2Fpb-deployer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29343887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T20:11:40.865Z","status":"ssl_error","status_checked_at":"2026-02-11T20:10:41.637Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["automation","pocketbase","self-hosted","sveltekit","vps-deployment"],"created_at":"2025-11-15T07:00:23.181Z","updated_at":"2026-02-11T20:28:24.583Z","avatar_url":"https://github.com/magooney-loon.png","language":"Svelte","funding_links":[],"categories":["Self Hosting"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"frontend/static/favicon.svg\" alt=\"Logo\" width=\"200\"\u003e\n  \u003ch1 align=\"center\"\u003epb-deployer\u003c/h1\u003e\n  \u003ch3 align=\"center\"\u003eAutomates the lifecycle of deploying PocketBase apps to production\u003c/h3\u003e\n  \u003ca href=\"https://github.com/magooney-loon/pb-deployer/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/magooney-loon/pb-deployer?style=for-the-badge\u0026color=blue\" alt=\"Stargazers\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/magooney-loon/pb-deployer/graphs/contributors\"\u003e\u003cimg src=\"https://img.shields.io/github/contributors/magooney-loon/pb-deployer?style=for-the-badge\u0026color=blue\" alt=\"Contributors\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/magooney-loon/pb-deployer/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/magooney-loon/pb-deployer?style=for-the-badge\u0026color=blue\" alt=\"AGPL-3.0\"\u003e\u003c/a\u003e\n  \u003cbr\u003e\n  \u003cimg src=\"frontend/static/deployer.png\" alt=\"Screenshot\" width=\"100%\"\u003e\n  \u003ch5 align=\"center\"\u003e**WARNING**HOBBY PROJECT**\u003c/h5\u003e\n\u003c/div\u003e\n\n[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/magooney-loon/pb-deployer)\n\n## 🚀 Quick Start\n\n```bash\ngit clone https://github.com/magooney-loon/pb-deployer\ncd pb-deployer\ngo run cmd/scripts/main.go --install\n```\n\n## Core Workflow\n\n1. **Server Registration**: Add remote host connection details\n2. **Server Setup**: Automated user creation and directory structure\n3. **Security Lockdown**: Firewall, fail2ban, disable root SSH (Optional)\n4. **App Deployment**: Upload prod dist, systemd service creation\n5. **Version Management**: Rollback support with file storage\n\n## Directory Structure\n\n```\n/opt/pocketbase/\n├── apps/           # Application deployments (per app directory)\n├── backups/        # Deployment backups (timestamped)\n├── logs/           # Application logs\n└── staging/        # Temporary staging during deployments\n```\n\n## Deployment Steps\n\n1. **Downloading and staging deployment package**\n2. **Checking service status**\n3. **Stopping existing service**\n4. **Creating backup of current deployment**\n5. **Preparing deployment directory**\n6. **Installing new version**\n7. **Creating/updating systemd service**\n8. **Creating superuser (if initial deployment)**\n9. **Starting service**\n10. **Verifying \u0026 finalizing deployment**\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"frontend/static/deployer2.png\" alt=\"Logo\" width=\"100%\"\u003e\n\u003c/div\u003e\n\nSee `**/*/README.md` for detailed docs.\n\nMake sure you loaded your SSH keys, check with `ssh-add -l`\n\n## Contribution\nPRs are encouraged, but consider opening a discussion first for minor/major changelogs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagooney-loon%2Fpb-deployer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagooney-loon%2Fpb-deployer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagooney-loon%2Fpb-deployer/lists"}