{"id":25015271,"url":"https://github.com/ditschedev/kagami","last_synced_at":"2026-05-01T14:34:14.211Z","repository":{"id":239815266,"uuid":"800914504","full_name":"ditschedev/kagami","owner":"ditschedev","description":"A simple cli tool to mirror git repositories","archived":false,"fork":false,"pushed_at":"2024-05-21T12:11:26.000Z","size":18,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T06:15:36.021Z","etag":null,"topics":["cli","git","mirror","mirroring"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ditschedev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-05-15T08:40:29.000Z","updated_at":"2025-01-02T15:21:15.000Z","dependencies_parsed_at":"2024-05-21T13:42:44.422Z","dependency_job_id":null,"html_url":"https://github.com/ditschedev/kagami","commit_stats":null,"previous_names":["ditschedev/kagami"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ditschedev/kagami","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditschedev%2Fkagami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditschedev%2Fkagami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditschedev%2Fkagami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditschedev%2Fkagami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ditschedev","download_url":"https://codeload.github.com/ditschedev/kagami/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ditschedev%2Fkagami/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32501403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["cli","git","mirror","mirroring"],"created_at":"2025-02-05T08:18:36.256Z","updated_at":"2026-05-01T14:34:14.192Z","avatar_url":"https://github.com/ditschedev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kagami\n\n[//]: # ([![]\u0026#40;https://img.shields.io/github/actions/workflow/status/ditschedev/kagami/test.yml?branch=main\u0026longCache=true\u0026label=Test\u0026logo=github%20actions\u0026logoColor=fff\u0026#41;]\u0026#40;https://github.com/ditschedev/swag-ts/actions?query=workflow%3ATest\u0026#41;)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ditschedev/kagami)](https://goreportcard.com/report/github.com/ditschedev/kagami)\n\nKagami is a simple CLI tool for mirroring git repositories from one provider to another.\nIt is versatile and easy to use.\n\n## Installation\n\n```bash\ngo install github.com/ditschedev/kagami@latest\n```\n\n## Configuration\nThe configuration is done using a yaml file. The file should contain a list of repositories \nthat should be mirrored. Here is an example configuration file:\n\n```yaml\nrepositories:\n  - name: my-repo\n    remote_uri: \"git@github.com:ditschedev/kagami.git\"\n    mirror_uri: \"git@gitlab.com:ditschedev/kagami.git\"\n```\n\nThe configuration file can be passed to the CLI using the `-c` flag.\n\n### Authentication\nCurrently only SSH authentication is supported. \nMake sure you have the correct SSH keys set up for the repositories you want to mirror and have \nyour ssh agent up and running.\n\n## Cron\n\nKagami can be used in a cron job to mirror repositories periodically. \nSimply provide a path to the configuration file and add an entry to your crontab.\n\n```bash\ncrontab -e\n```\n\nAdd the following line to make kagami run every 5 minutes:\n\n```bash\n*/5 * * * * kagami mirror -c /path/to/repositories.yml\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fditschedev%2Fkagami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fditschedev%2Fkagami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fditschedev%2Fkagami/lists"}