{"id":50492985,"url":"https://github.com/reload/testsite-overview","last_synced_at":"2026-06-02T04:31:25.388Z","repository":{"id":355580302,"uuid":"1228533907","full_name":"reload/testsite-overview","owner":"reload","description":null,"archived":false,"fork":false,"pushed_at":"2026-05-04T09:59:03.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-04T11:23:06.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"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/reload.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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-05-04T05:45:28.000Z","updated_at":"2026-05-04T09:56:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/reload/testsite-overview","commit_stats":null,"previous_names":["reload/testsite-overview"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/reload/testsite-overview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Ftestsite-overview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Ftestsite-overview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Ftestsite-overview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Ftestsite-overview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reload","download_url":"https://codeload.github.com/reload/testsite-overview/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Ftestsite-overview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33806987,"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-02T02:00:07.132Z","response_time":109,"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-02T04:31:23.330Z","updated_at":"2026-06-02T04:31:25.376Z","avatar_url":"https://github.com/reload.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Test Site Overview\n\nThis project provides an overview dashboard for test environments (test sites)\nmanaged via the Upsun platform. It fetches environment data using the Upsun API\nand displays a list of active PR environments in a web interface.\n\n## Features\n\n- Lists active PR environments for a given Upsun project\n- OAuth-based authentication to the Upsun API\n- Simple, fast Go web server\n- Uses [templ](https://templ.guide/) for HTML rendering\n\n## Getting Started\n\n### Prerequisites\n\n- Go 1.21 or newer\n- An Upsun API token and project ID\n\n### Setup\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/reload/testsite-overview.git\n   cd testsite-overview\n   ```\n\n2. Set the required environment variables:\n\n   - `UPSUN_API_TOKEN`: Your Upsun API token\n   - `UPSUN_PROJECT_ID`: The ID of your Upsun project\n   - (Optional) `PORT`: Port for the web server (default: 80)\n   - (Optional) `TITLE`: Custom title for the dashboard\n   - (Optional) `LINK_REGEXP`: Custom regexp for filtering environment URLs\n\n### Build and Run\n\n```sh\ngo build\n./testsite-overview\n```\n\n### Linting and Analysis\n\nTo ensure code quality, run:\n\n```sh\ngolangci-lint run ./...\ngo tool nilaway ./...\n```\n\n### Testing\n\nCurrently, there are no automated tests. You can add Go test files to increase\ncoverage.\n\n## Project Structure\n\n- `main.go` — Main application logic and HTTP server\n- `page_templ.go` / `page.templ` — Templ components for HTML rendering\n- `Dockerfile` — Containerization support\n- `AGENTS.md` — Agent automation and workflow documentation\n\n## Development Notes\n\n- Follows Go best practices for code style and documentation\n- Uses `golangci-lint` and `nilaway` for static analysis\n- See AGENTS.md for automation and agent workflow details\n\n## License\n\nSee [LICENSE.md](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Ftestsite-overview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freload%2Ftestsite-overview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Ftestsite-overview/lists"}