{"id":50569786,"url":"https://github.com/getlark/previewuse","last_synced_at":"2026-06-04T17:30:39.972Z","repository":{"id":360300285,"uuid":"1196505719","full_name":"getlark/previewuse","owner":"getlark","description":"Automated preview environment generation","archived":false,"fork":false,"pushed_at":"2026-05-25T20:09:16.000Z","size":46,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-25T22:12:14.571Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/getlark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-30T19:07:10.000Z","updated_at":"2026-05-25T22:11:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/getlark/previewuse","commit_stats":null,"previous_names":["getlark/previewuse"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/getlark/previewuse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlark%2Fpreviewuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlark%2Fpreviewuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlark%2Fpreviewuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlark%2Fpreviewuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getlark","download_url":"https://codeload.github.com/getlark/previewuse/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getlark%2Fpreviewuse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33916319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"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":"2026-06-04T17:30:38.968Z","updated_at":"2026-06-04T17:30:39.965Z","avatar_url":"https://github.com/getlark.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# previewuse\n\nPer-branch preview environments for any Docker Compose project.\n\nOn each feature branch, CI spins up (or reuses) an EC2 instance, points DNS at it, runs `docker compose up`, and comments the preview URLs on the PR. Caddy terminates TLS via Let's Encrypt. When the PR closes, the instance and DNS records are torn down.\n\n## Quickstart\n\nFrom the root of your repo:\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/getlark/previewuse/main/install.sh | bash\n```\n\nThis drops the scripts, compose file, example configs, and Claude Code skills into your repo.\n\nThen point your coding agent at the two shipped skills, in order:\n\n1. **`/configure-preview-deploy`** — fills in `preview.config.sh`, `Caddyfile`, `docker-compose.preview.yml`, and the CI workflow using signals from your repo.\n2. **`/provision-preview-aws`** — creates the AWS resources (S3 bucket, EC2 key pair, security group, IAM roles, OIDC provider) and pushes CI secrets via `gh secret set`. Confirms each action before running it.\n\nThat's it — open a PR with the `deploy-preview` label and CI will post the preview URLs.\n\n## License\n\nMIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlark%2Fpreviewuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetlark%2Fpreviewuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetlark%2Fpreviewuse/lists"}