{"id":15612279,"url":"https://github.com/danielfrg/github-archive","last_synced_at":"2026-01-07T18:30:31.908Z","repository":{"id":193933468,"uuid":"689742290","full_name":"danielfrg/github-archive","owner":"danielfrg","description":"The simplest script to make an archive of a Github user/org","archived":false,"fork":false,"pushed_at":"2024-07-20T22:18:20.000Z","size":46,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-25T01:50:24.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielfrg.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":"2023-09-10T19:00:26.000Z","updated_at":"2024-07-20T22:18:23.000Z","dependencies_parsed_at":"2024-03-13T02:23:11.080Z","dependency_job_id":"cdcf385a-e71b-42c9-b6a0-9034c2e7b57f","html_url":"https://github.com/danielfrg/github-archive","commit_stats":null,"previous_names":["danielfrg/github-archive"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfrg%2Fgithub-archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfrg%2Fgithub-archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfrg%2Fgithub-archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfrg%2Fgithub-archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielfrg","download_url":"https://codeload.github.com/danielfrg/github-archive/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242478375,"owners_count":20134966,"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-03T06:41:22.532Z","updated_at":"2026-01-07T18:30:31.635Z","avatar_url":"https://github.com/danielfrg.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-archive\n\nThe simplest script to make an archive of all repos in a Github user/org.\n\nDepends on: `gh` and `jq`.\n\n- [one file script](./backup.sh)\n- [docker image](https://github.com/danielfrg/github-archive/pkgs/container/github-archive)\n  - Auth using a Github Personal Access Token (PAT)\n- [kubernetes cronjob template](k8s/cronjob.yml)\n- [Github Action template](./.github/workflows/demo-archive.yml)\n\nSee the `backup.sh` and `Dockerfile` files for variables.\n\nI use this to run a daily backup on my homelab.\n\n## Usage\n\nLocal:\n\n```console\n./backup.sh\n```\n\nDocker:\n\n```console\nexport GH_TOKEN=...\ndocker run -it --rm -e GH_TOKEN=$GH_TOKEN -v $PWD/data:/data ghcr.io/danielfrg/github-archive:main\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfrg%2Fgithub-archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielfrg%2Fgithub-archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfrg%2Fgithub-archive/lists"}