What are the benefits compared to Forgejo/Gitea's built-in mirroring? #33

Closed
opened 2026-10-05 01:35:55 +02:00 by adam · 3 comments
Owner

Sorry if I am misunderstand this project, this project mirrors from GitHub in one direction (no two-way sync)?
What benefits does this solution offer compared to using Forgejo's (or Gitea) built-in mirroring feature?

Sorry if I am misunderstand this project, this project mirrors from GitHub in one direction (no two-way sync)? What benefits does this solution offer compared to using Forgejo's (or Gitea) built-in mirroring feature? <!-- github-sync-id:3286021684 -->
adam closed this issue 2026-10-05 01:35:55 +02:00
Author
Owner

@JanRK The Gitea's built in mirroring is either push only mirroring or pull only mirroring. Ref
and it needs to be done for each repo indivitually.

I was looking for a way to backup all my Github repos locally so that incase I get locked out of github or I am banned for some reason or maybe hacked. I can still have access to a copy of all my repos.
Along with that if a project I had starred for some reason is removed or something happens I keep a local copy. Same for all my orgs.

This app does all that automatically. It takes all your github repos and orgs and then makes a read-only mirror in gitea. Doing a two way sync will make it complex and result in merge conflicts thats not possible to handle automatically.

So this is a backup solution for your whole github account.

@JanRK The Gitea's built in mirroring is either push only mirroring or pull only mirroring. [Ref](https://docs.gitea.com/usage/repo-mirror) and it needs to be done for each repo indivitually. I was looking for a way to backup all my Github repos locally so that incase I get locked out of github or I am banned for some reason or maybe hacked. I can still have access to a copy of all my repos. Along with that if a project I had starred for some reason is removed or something happens I keep a local copy. Same for all my orgs. This app does all that automatically. It takes all your github repos and orgs and then makes a read-only mirror in gitea. Doing a two way sync will make it complex and result in merge conflicts thats not possible to handle automatically. So this is a backup solution for your whole github account. <!-- github-comment-id:3146947454 -->
Author
Owner

👋🏻 This looks like a cool project! So it piggybacks off of Forgejo's mirroring technology, and just keeps track of whether or not your GitHub user's repos are mirrored? Forgive me if this question is answered elsewhere, but can you also make it sync organization repos?

👋🏻 This looks like a cool project! So it piggybacks off of Forgejo's mirroring technology, and just keeps track of whether or not your GitHub user's repos are mirrored? Forgive me if this question is answered elsewhere, but can you also make it sync organization repos? <!-- github-comment-id:3203690273 -->
Author
Owner

Hi @WillNilges sync org repos is already there.

So it piggybacks off of Forgejo's mirroring technology,

Yes it uses the gitea api's to set this up and keeps track.

Hi @WillNilges sync org repos is already there. > So it piggybacks off of Forgejo's mirroring technology, Yes it uses the gitea api's to set this up and keeps track. <!-- github-comment-id:3204218837 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/gitea-mirror#33