{"id":16111132,"url":"https://github.com/mjpitz/github-release-backup","last_synced_at":"2025-07-25T12:39:41.631Z","repository":{"id":80615789,"uuid":"383661959","full_name":"mjpitz/github-release-backup","owner":"mjpitz","description":"Backup GitHub release artifacts to an S3 compatible backend","archived":false,"fork":false,"pushed_at":"2021-07-07T09:28:43.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T12:17:25.916Z","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/mjpitz.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":"2021-07-07T03:26:01.000Z","updated_at":"2021-07-07T09:29:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"ce91148a-f3d1-4128-8728-3cd5fb125328","html_url":"https://github.com/mjpitz/github-release-backup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgithub-release-backup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgithub-release-backup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgithub-release-backup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjpitz%2Fgithub-release-backup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjpitz","download_url":"https://codeload.github.com/mjpitz/github-release-backup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445646,"owners_count":20939951,"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":"2024-10-09T19:40:26.789Z","updated_at":"2025-04-06T06:29:26.352Z","avatar_url":"https://github.com/mjpitz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-release-backup\n\nA minimal tool that backs up GitHub release assets to an S3 compatible backend.\nBy default, GitHub actions will only host artifacts for a maximum of 90 days.\nThis tool can be used to perform a one-time backup of all release assets.\n\n## Installation\n\n```shell script\ngo get github.com/mjpitz/github-release-backup\n```\n\n## Usage\n\n```shell script\n# github configuration\nexport GITHUB_OWNER=\"depscloud\"\nexport GITHUB_REPO=\"depscloud\"\nexport GITHUB_ACCESS_TOKEN=\"github_access_token\" \n\n# s3 configuration\nexport S3_ENDPOINT=\"sfo2.digitaloceanspaces.com\"  # configure the s3 endpoint\nexport S3_DISABLE_SSL=\"\"                          # set to non-empty value to disable tls\nexport AWS_DEFAULT_REGION=\"region\"\nexport AWS_ACCESS_KEY_ID=\"aws_access_key_id\"\nexport AWS_SECRET_ACCESS_KEY=\"aws_secret_access_key\"\nexport S3_BUCKET_NAME=\"bucket_name\"\n\n# configure existing asset behavior\nexport ON_EXISTING_ASSET=\"halt\"      # stop when we encounter an asset that already exists\nexport ON_EXISTING_ASSET=\"overwrite\" # overwrite assets that already exist\nexport ON_EXISTING_ASSET=\"\"          # skip assets that already exist\n\n# run the script\ngithub-release-backup\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjpitz%2Fgithub-release-backup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjpitz%2Fgithub-release-backup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjpitz%2Fgithub-release-backup/lists"}