{"id":24702539,"url":"https://github.com/yankeguo/gitdump","last_synced_at":"2025-07-20T10:33:08.403Z","repository":{"id":58459628,"uuid":"531969886","full_name":"yankeguo/gitdump","owner":"yankeguo","description":"A tool for dumping hosted git repositories to local in batch.","archived":false,"fork":false,"pushed_at":"2024-04-19T12:46:33.000Z","size":101,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T00:42:48.087Z","etag":null,"topics":["archive","coding","dump","git","gitea","gitee","github"],"latest_commit_sha":null,"homepage":"","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/yankeguo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"yankeguo","patreon":"yankeguo"}},"created_at":"2022-09-02T14:58:19.000Z","updated_at":"2024-12-30T22:27:17.000Z","dependencies_parsed_at":"2024-01-03T04:30:43.032Z","dependency_job_id":"0aeef610-0c76-4cb4-8726-81cef2dcfd55","html_url":"https://github.com/yankeguo/gitdump","commit_stats":null,"previous_names":["yankeguo/gitdump","guoyk93/gitdump"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/yankeguo/gitdump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgitdump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgitdump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgitdump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgitdump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yankeguo","download_url":"https://codeload.github.com/yankeguo/gitdump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yankeguo%2Fgitdump/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266111435,"owners_count":23877980,"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":["archive","coding","dump","git","gitea","gitee","github"],"created_at":"2025-01-27T05:41:33.920Z","updated_at":"2025-07-20T10:33:08.378Z","avatar_url":"https://github.com/yankeguo.png","language":"Go","readme":"# gitdump\n\n![workflow badge](https://github.com/yankeguo/gitdump/actions/workflows/go.yml/badge.svg) [![Go Reference](https://pkg.go.dev/badge/github.com/yankeguo/gitdump.svg)](https://pkg.go.dev/github.com/yankeguo/gitdump)\n\nA tool for dumping hosted git repositories to local in batch.\n\n## Features\n\n- supported git hosting platforms\n  - `github`\n  - `gitee`\n  - `gitea`\n  - `coding`\n\n## 中文使用说明\n\n- [gitdump - 批量备份托管 Git 仓库](https://mp.weixin.qq.com/s/FLPoV5-9A-VuPit7QlFFYg)\n\n## Usage\n\n**Command**\n\n```\n./gitdump -conf config.yaml\n```\n\n**Configuration**\n\n```yaml\ndir: repos\nconcurrency: 3\naccounts:\n  - vendor: github\n    # username, github username\n    username: USERNAME\n    # password, github personal token\n    password: PERSONAL_TOKEN\n  - vendor: gitee\n    # username, gitee username\n    username: USERNAME\n    # password, gitee personal token\n    password: PERSONAL_TOKEN\n  - vendor: gitea\n    # url, url of gitea instance\n    url: https://your.gitea.com\n    # username, gitea username\n    username: USERNAME\n    # password, gitea personal token\n    password: PERSONAL_TOKEN\n  - vendor: coding\n    # url, url of coding instance\n    url: https://your.coding.net\n    # username, personal token username, displayed in token page, NOT YOUR CODING USERNAME\n    username: TOKEN_USERNAME\n    # password, personal token\n    password: TOKEN\n```\n\n## Container Image\n\nCheck [GitHub Packages](https://github.com/yankeguo/gitdump/pkgs/container/gitdump) for available container images\n\nCheck [Dockerfile](Dockerfile) for details\n\nBy default, container image will execute `gitdump` every `6 hours`\n\nAll you need to do is to mount `/data` for data persistence, and put a `config.yaml` at `/data/config.yaml`\n\n## Notification\n\nExecution result will be delivered to environment variable `$NOTIFY_URL`, if given, by HTTP `POST`.\n\n```\n{\"text\": \"MESSAGE...\"}\n```\n\n## Credits\n\nGUO YANKE, MIT License\n","funding_links":["https://github.com/sponsors/yankeguo","https://patreon.com/yankeguo"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeguo%2Fgitdump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyankeguo%2Fgitdump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyankeguo%2Fgitdump/lists"}