{"id":36790589,"url":"https://github.com/csmith/github-release-redirector","last_synced_at":"2026-01-12T13:25:16.491Z","repository":{"id":38917785,"uuid":"174539029","full_name":"csmith/github-release-redirector","owner":"csmith","description":"Small HTTP server that redirects to artifacts from the latest github release of a project","archived":false,"fork":false,"pushed_at":"2025-11-26T11:58:15.000Z","size":85,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-29T10:17:28.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/csmith.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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":"2019-03-08T13:04:34.000Z","updated_at":"2025-11-26T11:58:18.000Z","dependencies_parsed_at":"2023-02-08T21:15:40.106Z","dependency_job_id":"29119265-27f1-4a11-a5ef-e3f1cc420eb4","html_url":"https://github.com/csmith/github-release-redirector","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/csmith/github-release-redirector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fgithub-release-redirector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fgithub-release-redirector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fgithub-release-redirector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fgithub-release-redirector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csmith","download_url":"https://codeload.github.com/csmith/github-release-redirector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fgithub-release-redirector/sbom","scorecard":{"id":311058,"data":{"date":"2025-08-11","repo":{"name":"github.com/csmith/github-release-redirector","commit":"6fba54d839288a7c42f1a1c9c5e54797e841f459"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/2 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":10,"reason":"12 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/image.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/image.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/csmith/github-release-redirector/image.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:10: pin your Docker image by updating ghcr.io/greboid/dockerbase/nonroot:1.20250803.0 to ghcr.io/greboid/dockerbase/nonroot:1.20250803.0@sha256:4771328537af0c3e3f4aac642d419e454b074e7f514e9f3a66fc704b56ba4f08","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   1 out of   1 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENCE:0","Info: FSF or OSI recognized license: MIT License: LICENCE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T23:11:12.979Z","repository_id":38917785,"created_at":"2025-08-17T23:11:12.979Z","updated_at":"2025-08-17T23:11:12.979Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2026-01-12T13:25:15.188Z","updated_at":"2026-01-12T13:25:16.468Z","avatar_url":"https://github.com/csmith.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-release-redirector\n\nSmall go application that listens for incoming HTTP requests and redirects\nto assets from the latest release published to a GitHub repository.\n\n## Usage\n\n```console\n$ go install .\n$ github-release-redirector -port 1234 -repo user/repo\n```\n\nor using docker:\n\n```console\n$ docker run -p 8080:8080 ghcr.io/csmith/github-release-redirector -repo user/repo\n```\n\n## Options\n\nOptions can be passed as either command line arguments or environment variables:\n\n```\nUsage of github-release-redirector:\n  -poll int\n    \t[POLL] the amount of time to wait between polling for releases; 0 to disable polling (default 3600)\n  -port int\n    \t[PORT] the port to listen on for HTTP requests (default 8080)\n  -redirect string\n    \t[REDIRECT] if specified, requests for / will be redirected to this url\n  -repo string\n    \t[REPO] the repository to redirect releases for, in user/repo format [required]\n  -webhook string\n    \t[WEBHOOK] full path to receive release webhooks from GitHub on\n```\n\n## Notes\n\n### Root redirecting\n\nIf the `-redirect` option is specified, then requests to the root (i.e. `/`)\nwill be redirected to that URL, and no further processing will be done for\nthat request.\n\n### Polling and webhooks\n\nReleases are refreshed at startup and then, by default, once an hour. You can\ncustomise this duration with the `-poll` option; setting the poll time to `0`\nwill disable polling entirely other than at startup.\n\nAs an alternative to polling, you can configure a webhook URL with the\n`-webhook` argument. This must be the full URL that GitHub will call\nwhen a release is made, and it is advisable to include a secret in the\nURL to avoid any client on the Internet being able to trigger a refresh.\n\nFor example if you run with `-webhook /webhook/gjrCBVy7`, you\nshould configure GitHub to send pull requests to\n`https://yourserver.example.com/webook/gjrCBVy7`. You should configure\nthe WebHook to only send individual events, and select only the\n`Releases` option.\n\nThe contents of the webhook are not used; it is merely used as a signal\nto start a refresh using the GitHub API.\n\nWhen running with the `-webhook` option it is recommended to also disable\npolling with `-poll 0`, or set the polling time to a much larger value.\n\n### Asset matching\n\nAssets are matched on their name, so an asset attached to the latest release\nnamed \"myproject-installer-1.2.3.exe\" will be available at the URL\n`/myproject-installer-1.2.3.exe`.\n\nAny url not mapped to an asset is responded to with a 404 not found error;\nif there is no latest release available all requests will respond with 500\ninternal server error.\n\n### HTTPS\n\nThe service listens only on HTTP, not HTTPS. For production use it should\nbe placed behind an SSL-terminating proxy such as Traefik, Nginx or HAProxy.\n\n## Contributing/further work\n\nThis performs the job I wrote it to do, so it's unlikely I'll be developing\nany further features. If you're using this and would like to send a pull\nrequest for a feature I'd be happy to review and merge.\n\nIn particular I'd welcome the following:\n\n- [ ] HTTPS support (specifying certs/keys/etc)\n- [ ] Support for GitHub's secret digests, instead of using a secret URL\n- [ ] Parsing of the WebHook content to avoid refreshing needlessly\n\n## Licence\n\nThis software is released under the MIT licence. See the LICENCE file for\nfull details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsmith%2Fgithub-release-redirector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsmith%2Fgithub-release-redirector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsmith%2Fgithub-release-redirector/lists"}