RayLabsHQ/gitea-mirror 是一个托管在 GitHub 上的开源项目,主要使用 TypeScript 编写,采用 GNU Affero General Public License v3.0 许可证,目前获得 1.6k 个 Star、83 次 Fork。
仓库全名
RayLabsHQ/gitea-mirror
README 摘要
Gitea Mirror Automatically mirror repositories from GitHub to your self-hosted Gitea/Forgejo instance. Gitea Mirror keeps a self-hosted copy of your repositories. Connect GitHub (or GitLab, Gitea, Forgejo or any git host), pick a Gitea or Forgejo server, and it mirrors your repositories, organizations and starred projects there, with issues, pull requests, releases, wiki and LFS if you want them, and keeps them in…
Automatically mirror repositories from GitHub to your self-hosted Gitea/Forgejo instance.
Gitea Mirror keeps a self-hosted copy of your repositories. Connect GitHub (or GitLab, Gitea, Forgejo or any git host), pick a Gitea or Forgejo server, and it mirrors your repositories, organizations and starred projects there, with issues, pull requests, releases, wiki and LFS if you want them, and keeps them in sync on a schedule.
git clone https://github.com/RayLabsHQ/gitea-mirror.git
cd gitea-mirror
docker compose -f docker-compose.alt.yml up -d
Open http://localhost:4321 and create an account; the first one becomes the admin. Then connect a source and a destination on the Configuration page. The Quickstart walks through it, including the compose file to use without cloning.
Features
Mirror your public, private and starred repositories and whole organizations, including public organizations you are not a member of
Sources: GitHub, GitHub Enterprise and GitHub Apps, GitLab, Gitea and Forgejo, plus plain git hosts in beta (Sources)
Destinations: Gitea and Forgejo as pull mirrors, plus GitHub or GitLab as push targets in beta (Destinations)
Issues, pull requests (as issues), labels, milestones, releases with assets, wiki and Git LFS, with filters and limits per organization and repository
Mirror strategies to keep the source’s structure, use one organization, or put everything under your user, plus a destination per organization or repository
Scheduled syncs, discovery of new repositories, and cleanup that archives mirrors whose source is gone (Cleanup and reconcile)
GiteaMirrorBot by MajMcCloud: a Telegram bot that spots GitHub links shared in private chats or groups and, when you confirm, adds the repository or organization to Gitea Mirror and starts the mirror. It also posts notifications, includes a first-start setup assistant, and supports Docker Compose, chat approvals, stealth mode, and a status page. See the v0.4.0 release.
评论