{"id":19179297,"url":"https://github.com/jhnc-oss/github-mirror","last_synced_at":"2026-04-22T16:36:18.342Z","repository":{"id":38109852,"uuid":"397527559","full_name":"jhnc-oss/github-mirror","owner":"jhnc-oss","description":"Repository mirror automation.","archived":false,"fork":false,"pushed_at":"2026-02-05T18:12:56.000Z","size":95,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-02-05T23:51:23.581Z","etag":null,"topics":["git","git-mirror","github","github-mirror","github-mirrors"],"latest_commit_sha":null,"homepage":"","language":null,"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/jhnc-oss.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":"SECURITY.md","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":"2021-08-18T08:28:01.000Z","updated_at":"2026-02-05T18:12:57.000Z","dependencies_parsed_at":"2023-02-09T15:01:34.061Z","dependency_job_id":"1fdd90aa-4639-43ad-8f55-7993b23271e3","html_url":"https://github.com/jhnc-oss/github-mirror","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhnc-oss/github-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhnc-oss%2Fgithub-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhnc-oss%2Fgithub-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhnc-oss%2Fgithub-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhnc-oss%2Fgithub-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhnc-oss","download_url":"https://codeload.github.com/jhnc-oss/github-mirror/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhnc-oss%2Fgithub-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32145869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["git","git-mirror","github","github-mirror","github-mirrors"],"created_at":"2024-11-09T10:42:41.758Z","updated_at":"2026-04-22T16:36:13.327Z","avatar_url":"https://github.com/jhnc-oss.png","language":null,"readme":"# GitHub Mirror\n\n[![mirror](https://github.com/jhnc-oss/github-mirror/actions/workflows/mirror.yml/badge.svg)](https://github.com/jhnc-oss/github-mirror/actions/workflows/mirror.yml)\n[![License](https://img.shields.io/badge/license-MIT-yellow.svg)](LICENSE)\n\nMirrors repositories to GitHub.\n\n**Note:** Action runs on branches other than `main` execute a dry run and wont update the remote repository.\n\n## Add Mirror\n\n:warning: *All branches which aren't in the upstream repository are lost*.\n\n1. Create a **fork** (if on GitHub) or an **empty destination repository**, same name as upstream is recommended\n2. **Generate SSH keys**: `ssh-keygen -t ed25519 -C github-mirror`\n   - Add the *private* key as a new secret to this project (`SSH_PRIVATE_KEY_\u003cRepo ID\u003e`, all uppercase)\n   - Add the *public* key as *writeable* deployment key `github-mirror` to the destination repository\n3. **Add configuration** to [`mirror.yml`](./.github/workflows/mirror.yml)\n4. *(Optional)* **Set default branch** of the destination repository according to upstream\n\n### Example\n\n```yml\nmirror_config:\n    - {\n        src_repo: \"\u003cUpstream Git URL\u003e\",\n        dest_repo: \"\u003cDestination Repo Name\u003e\",\n        key_id: \"\u003cRepo ID\u003e\",\n    }\n    - ...\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhnc-oss%2Fgithub-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhnc-oss%2Fgithub-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhnc-oss%2Fgithub-mirror/lists"}