{"id":51703511,"url":"https://github.com/arfshl/github-mirror-script","last_synced_at":"2026-07-16T13:30:51.673Z","repository":{"id":371463410,"uuid":"1299974106","full_name":"arfshl/github-mirror-script","owner":"arfshl","description":"Script to mirror your GitHub accounts to another git provider","archived":false,"fork":false,"pushed_at":"2026-07-15T04:43:10.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-07-15T06:12:09.959Z","etag":null,"topics":["github","gitlab","mirror-ci"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arfshl.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-14T03:40:40.000Z","updated_at":"2026-07-15T04:43:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/arfshl/github-mirror-script","commit_stats":null,"previous_names":["arfshl/github-mirror-script"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/arfshl/github-mirror-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfshl%2Fgithub-mirror-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfshl%2Fgithub-mirror-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfshl%2Fgithub-mirror-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfshl%2Fgithub-mirror-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arfshl","download_url":"https://codeload.github.com/arfshl/github-mirror-script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arfshl%2Fgithub-mirror-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35546266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["github","gitlab","mirror-ci"],"created_at":"2026-07-16T13:30:50.998Z","updated_at":"2026-07-16T13:30:51.665Z","avatar_url":"https://github.com/arfshl.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Mirror Script\n\nScript to mirror your GitHub accounts to another git provider, can be used with github actions or self-hosted\n\n#### Supported git provider\n\n- GitLab\n\n- Codeberg\n\n```bash\nUsage: mirror.sh [OPTIONS]\n\nOptions:\n  --gh-user \u003cvalue\u003e       Source GitHub username (REQUIRED)\n  --gh-token \u003cvalue\u003e      GitHub Personal Access Token (REQUIRED)\n  --provider \u003cvalue\u003e      Target provider name (e.g., codeberg, gitlab) (REQUIRED)\n  --username \u003cvalue\u003e      Target provider username (REQUIRED)\n  --token \u003cvalue\u003e         Target provider Access Token (REQUIRED)\n  --skip-forks            Do not sync repositories that are forks\n  --skip-archived         Do not sync archived repositories\n  --skip-large            Do not sync repositories larger than KB\n  --many-repo             Enable API pagination loop if you have more than 100 repositories\n  --exclude \u003cvalue\u003e       Space-separated list of repositories to skip\n  --include \u003cvalue\u003e       Space-separated list of repositories to ONLY sync\n  -h, --help              Show this help message\n```\n\n#### Github Action example\n\n[GitLab](https://github.com/arfshl/arfshl-mirror/blob/main/.github/workflows/gitlab-mirror.yml)\n\n[Codeberg](https://github.com/arfshl/arfshl-mirror/blob/main/.github/workflows/codeberg-mirror.yml)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farfshl%2Fgithub-mirror-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farfshl%2Fgithub-mirror-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farfshl%2Fgithub-mirror-script/lists"}