{"id":48746584,"url":"https://github.com/yangflow/gitrelay","last_synced_at":"2026-04-12T12:01:11.771Z","repository":{"id":350834113,"uuid":"1208437788","full_name":"yangflow/gitrelay","owner":"yangflow","description":"Mirror any Git repository to any other Git repository, automatically — from your Mac.","archived":false,"fork":false,"pushed_at":"2026-04-12T10:11:21.000Z","size":185,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-12T11:22:16.967Z","etag":null,"topics":["developer-tools","git","git-mirror","github","gitlab","macos","menubar-app","swift","swiftui","sync"],"latest_commit_sha":null,"homepage":"https://github.com/yangflow/gitrelay","language":"Swift","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/yangflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-04-12T09:27:14.000Z","updated_at":"2026-04-12T10:11:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/yangflow/gitrelay","commit_stats":null,"previous_names":["yangflow/gitrelay"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/yangflow/gitrelay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangflow%2Fgitrelay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangflow%2Fgitrelay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangflow%2Fgitrelay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangflow%2Fgitrelay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yangflow","download_url":"https://codeload.github.com/yangflow/gitrelay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yangflow%2Fgitrelay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31713876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","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":["developer-tools","git","git-mirror","github","gitlab","macos","menubar-app","swift","swiftui","sync"],"created_at":"2026-04-12T12:00:36.390Z","updated_at":"2026-04-12T12:01:11.762Z","avatar_url":"https://github.com/yangflow.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitRelay\n\nMirror any Git repository to any other Git repository, automatically — from your Mac.\n\nGitRelay is a native macOS app that manages one-way mirror syncs between Git hosting platforms. Point it at a source and a destination, choose a schedule, and it handles the rest: `git clone --mirror`, `git fetch --prune`, `git push --mirror`, all running quietly in the background while you work.\n\nIt supports any combination of GitLab, GitHub, Gitea, Gitee, Bitbucket, or self-hosted Git servers — SSH Agent, SSH key, and HTTPS token auth included.\n\n[中文](./README.zh-CN.md)\n\n---\n\n## Features\n\n- **Multi-repo sidebar** — manage any number of repo pairs from one window\n- **Full mirror sync** — all branches and tags, one direction, src → dst\n- **Scheduled sync** — per-repo frequency: manual, 15 min, 30 min, 1 h, 1 day\n- **Auth flexibility** — SSH Agent, SSH key path, or HTTPS token (stored in macOS Keychain)\n- **Menu bar quick access** — status at a glance, trigger sync without opening the main window\n- **Sync log** — per-run log with credential redaction and error classification\n- **Commit delta** — shows how many commits src is ahead of dst before each push\n\n---\n\n## Requirements\n\n- macOS 14 (Sonoma) or later\n- Apple Silicon or Intel\n- `git` installed (`/usr/bin/git`, `/usr/local/bin/git`, or `/opt/homebrew/bin/git`)\n\n---\n\n## Install\n\n### Homebrew\n\n```bash\nbrew tap yangflow/tap\nbrew install --cask gitrelay\n```\n\n### Download DMG\n\nGo to [Releases](https://github.com/yangflow/gitrelay/releases) and download the latest `GitRelay-x.y.z.dmg`. Open it and drag GitRelay to Applications.\n\n\u003e Unsigned build: right-click → Open on first launch, or run `xattr -cr /Applications/GitRelay.app`\n\n### Build from source\n\n```bash\ngit clone https://github.com/yangflow/gitrelay.git\ncd gitrelay\nopen gitrelay.xcodeproj\n```\n\nSelect the `gitrelay` scheme, press ⌘R.\n\n---\n\n## Usage\n\n1. Click **+** in the toolbar or the empty-state button to add a repo pair.\n2. Enter a name, the source URL, and the destination URL.\n3. Choose the auth method for each side — SSH Agent requires no extra setup if `ssh-agent` is already running.\n4. Set a sync frequency and click **Add**.\n5. GitRelay clones the source as a bare mirror on first sync, then fetches and pushes on every subsequent run.\n\nThe menu bar icon shows aggregate status: a warning triangle if any repo has a sync failure.\n\n---\n\n## Data locations\n\n| What | Where |\n|------|-------|\n| Repo configs | `~/.local/share/gitrelay/repos.json` |\n| Mirror clones | `~/.local/share/gitrelay/mirrors/\u003cuuid\u003e/` |\n| HTTPS tokens | macOS Keychain |\n\n---\n\n## Regenerate app icon\n\nThe icon PNGs are generated by a Swift script and committed to the repo. To regenerate them (e.g. after a palette change):\n\n```bash\nswift scripts/generate-icon.swift\n```\n\n---\n\n## License\n\nMIT — see [LICENSE](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangflow%2Fgitrelay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyangflow%2Fgitrelay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyangflow%2Fgitrelay/lists"}