{"id":22827322,"url":"https://github.com/famly/template-preview-environment","last_synced_at":"2026-03-19T23:47:04.351Z","repository":{"id":69093483,"uuid":"565529606","full_name":"famly/template-preview-environment","owner":"famly","description":"Easily get started with Preview Environments using this minimal template","archived":false,"fork":false,"pushed_at":"2022-11-13T18:21:21.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-01-30T00:02:24.691Z","etag":null,"topics":["preview-environment"],"latest_commit_sha":null,"homepage":"","language":null,"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/famly.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":"2022-11-13T17:40:24.000Z","updated_at":"2023-02-12T15:42:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"2128d17c-7111-4f2f-aa7a-859be1666b4f","html_url":"https://github.com/famly/template-preview-environment","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/famly/template-preview-environment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famly%2Ftemplate-preview-environment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famly%2Ftemplate-preview-environment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famly%2Ftemplate-preview-environment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famly%2Ftemplate-preview-environment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/famly","download_url":"https://codeload.github.com/famly/template-preview-environment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/famly%2Ftemplate-preview-environment/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28916111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"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":["preview-environment"],"created_at":"2024-12-12T18:09:16.987Z","updated_at":"2026-01-30T17:32:57.974Z","avatar_url":"https://github.com/famly.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template: Preview Environments\n\n\u003e I’d really like to take this feature/change for a spin, but it’s so much work spinning up an environment just for that! 😩 - Sincerely, Everyone.\n\u003e\nHaven’t we all been there before? Well, no more! By sprinkling a little pixie dust onto your CI, we can make it possible to spin up an entire preview environment on-the-go, to test out all your changes 🙂\n\nThe quick version?\n\n- Comment `/preview` on a Pull Request to start an ephemeral Preview Environment\n- This will stay up for 30 minutes by default, but you can change that in the workflow file\n\nWe use the [expose-tunnel](https://github.com/marketplace/actions/expose-tunnel) action to easily set up a tunnel into the CI job. It creates a tunnel using [bore.pub](https://github.com/ekzhang/bore), which supports setting up your own self-hosted server.\n\nCheck out the examples here:\n- Example Pull Request that starts a Preview Environment https://github.com/famly/template-preview-environment/pull/1\n- Example CI job output [here](https://github.com/famly/template-preview-environment/actions/runs/3456364929/jobs/5769048829)\n\n## Workflow Overview\n\nThe following diagram is an overview of the flow the CI job:\n\n```\n            Comment posted on Pull Request\n                          ↓\n            +----------------------------+\n            |   Detect Trigger Comment   |\n            |   React with 👀 if it is   |\n            +----------------------------+\n                          ↓\n            +----------------------------+\n            |      Checkout PR Code      |\n            +----------------------------+\n                          ↓\n            +----------------------------+\n            | Setup Project Dependencies |\n            +----------------------------+\n                          ↓\n            +----------------------------+\n            |  Start Development Server  |\n            |       in background        |\n            +----------------------------+\n                          ↓\n            +----------------------------+\n            |  Setup Tunnel into CI Job  |\n            +----------------------------+\n                          ↓\n            +----------------------------+\n            | Post Tunnel URL as Comment |\n            |    on the Pull Request     |\n            +----------------------------+\n                          ↓\n            +----------------------------+\n            | Keep CI/Server alive for   |\n            |        30 minutes          |\n            +----------------------------+\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffamly%2Ftemplate-preview-environment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffamly%2Ftemplate-preview-environment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffamly%2Ftemplate-preview-environment/lists"}