{"id":31098944,"url":"https://github.com/beefsack/git-mirror","last_synced_at":"2025-09-16T21:05:34.053Z","repository":{"id":31595834,"uuid":"35160678","full_name":"beefsack/git-mirror","owner":"beefsack","description":"Host Git repository mirrors with ease","archived":false,"fork":false,"pushed_at":"2015-05-07T03:46:19.000Z","size":124,"stargazers_count":109,"open_issues_count":3,"forks_count":22,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-06-20T12:46:51.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/beefsack.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}},"created_at":"2015-05-06T13:38:41.000Z","updated_at":"2024-05-19T10:33:02.000Z","dependencies_parsed_at":"2022-09-09T20:42:00.987Z","dependency_job_id":null,"html_url":"https://github.com/beefsack/git-mirror","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/beefsack/git-mirror","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgit-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgit-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgit-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgit-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beefsack","download_url":"https://codeload.github.com/beefsack/git-mirror/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beefsack%2Fgit-mirror/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275484000,"owners_count":25473167,"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","status":"online","status_checked_at":"2025-09-16T02:00:10.229Z","response_time":65,"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":[],"created_at":"2025-09-16T21:05:31.845Z","updated_at":"2025-09-16T21:05:34.042Z","avatar_url":"https://github.com/beefsack.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-mirror - simple Git mirrors\n\n`git-mirror` is designed to create and serve read-only mirrors of your Git repositories locally or wherever you choose.  A recent GitHub outage reinforces the fact that developers shouldn't be relying on a single remote for hosting code.\n\nA major design goal of `git-mirror` is that it should just work with as little configuration as possible.\n\n## Get started\n\nDownload and extract the latest release from the [releases page](https://github.com/beefsack/git-mirror/releases).\n\nCreate `config.toml` similar to:\n\n```toml\n[[repo]]\nOrigin = \"https://github.com/beefsack/git-mirror.git\"\n```\nBy default it will update the mirror every **15 minutes** and will serve the mirror over HTTP using port **8080**.  You can specify as many repos as you want by having multiple `[[repo]]` sections.\n\nRun `git-mirror` with the path to the config file:\n\n```bash\n$ ./git-mirror config.toml\n2015/05/07 11:08:06 starting web server on :8080\n2015/05/07 11:08:06 updating github.com/beefsack/git-mirror.git\n2015/05/07 11:08:08 updated github.com/beefsack/git-mirror.git\n```\n\nNow you can clone from your mirror on the default port of `8080`:\n\n```bash\n$ git clone http://localhost:8080/github.com/beefsack/git-mirror.git\nCloning into 'git-mirror'...\nChecking connectivity... done.\n```\n\n## Advanced configuration\n\nSee [the example config](example-config.toml) for more advanced configurations.\n\n## Authentication and authorisation\n\nIf you wish to control access to the mirror or specific repositories, consider proxying to `git-mirror` using a web server such as Nginx.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeefsack%2Fgit-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeefsack%2Fgit-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeefsack%2Fgit-mirror/lists"}