{"id":27947906,"url":"https://github.com/emersion/hottub","last_synced_at":"2025-05-07T14:39:03.127Z","repository":{"id":282554828,"uuid":"948965284","full_name":"emersion/hottub","owner":"emersion","description":"A CI bridge from GitHub to SourceHut","archived":false,"fork":false,"pushed_at":"2025-03-15T11:29:43.000Z","size":137,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T15:18:22.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/emersion.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":"2025-03-15T11:18:22.000Z","updated_at":"2025-03-17T17:58:10.000Z","dependencies_parsed_at":"2025-03-15T12:35:27.001Z","dependency_job_id":null,"html_url":"https://github.com/emersion/hottub","commit_stats":null,"previous_names":["emersion/hottub"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersion%2Fhottub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersion%2Fhottub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersion%2Fhottub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emersion%2Fhottub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emersion","download_url":"https://codeload.github.com/emersion/hottub/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252896967,"owners_count":21821366,"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":"2025-05-07T14:39:02.292Z","updated_at":"2025-05-07T14:39:03.108Z","avatar_url":"https://github.com/emersion.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hottub\n\nA CI bridge from GitHub to SourceHut.\n\nA [public instance] is available.\n\n## Building\n\n    go build\n\n## Installation\n\n1. Follow the [GitHub guide] to register an app suitable for the Checks API:\n   - Open the [Register a new app](https://github.com/settings/apps/new) page\n   - Set a name and homepage URL\n   - Leave the callback URL empty\n   - Set the setup URL to `https://\u003cdomain\u003e/post-install`\n   - Set the webhook URL to `https://\u003cdomain\u003e/webhook`\n   - In *Repository permissions*, select:\n     - Checks: Read and write\n     - Commit statuses: Read and write\n     - Contents: Read-only\n     - Metadata: Read-only\n     - Pull requests: Read-only\n   - In *Subscribe to events*, check:\n     - Check run\n     - Check suite\n     - Pull request\n2. Grab the GitHub app ID and webhook secret (optional for local development).\n   Download a new PEM private key.\n3. Start hottub:\n\n       hottub -gh-app-id \u003cid\u003e -gh-private-key \u003cpath\u003e -gh-webhook-secret \u003csecret\u003e\n\nOptionally, to improve the authorization flow, you can [register an sr.ht\nOAuth2 client] (setting the Redirection URI to\n`https://\u003cdomain\u003e/authorize-srht`) and pass its credentials with\n`-metasrht-client-id` and `-metasrht-client-secret`.\n\n## License\n\nAGPLv3, see LICENSE.\n\nCopyright (C) 2022 Simon Ser\n\n[GitHub guide]: https://docs.github.com/en/developers/apps/guides/creating-ci-tests-with-the-checks-api\n[register an sr.ht OAuth2 client]: https://meta.sr.ht/oauth2/client-registration\n[public instance]: https://hottub.emersion.fr/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femersion%2Fhottub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femersion%2Fhottub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femersion%2Fhottub/lists"}