[Feature] Mirror support for other Git hosting sites alongside Github #149

Closed
opened 2026-10-05 01:44:52 +02:00 by adam · 6 comments
Owner

Some projects I was keeping an eye on moved off of github, I am trying to start keeping backups of source code for projects I either use, or find interesting, or think could be useful at some point.
some of the sites I see them commonly moving to are:

Gitlab
Gitflic
codeberg

Or they are doing their own self hosted thing, be it Forgeo, Gitea, ect...
In some cases small niche projects just provide a source zip on their personal site. Being able to back these things up, as well as release binaries would be nice. Maybe add a custom URL option for those smaller niche one off available through the developer site, as well as sync option for the 3 alternative platforms mentioned above?

Some projects I was keeping an eye on moved off of github, I am trying to start keeping backups of source code for projects I either use, or find interesting, or think could be useful at some point. some of the sites I see them commonly moving to are: [Gitlab](https://gitlab.com) [Gitflic](https://gitflic.ru) [codeberg](https://codeberg.org/) Or they are doing their own self hosted thing, be it Forgeo, Gitea, ect... In some cases small niche projects just provide a source zip on their personal site. Being able to back these things up, as well as release binaries would be nice. Maybe add a custom URL option for those smaller niche one off available through the developer site, as well as sync option for the 3 alternative platforms mentioned above? <!-- github-sync-id:5287679826 -->
adam closed this issue 2026-10-05 01:44:52 +02:00
Author
Owner

@Data-PhiIe #368 This PR from one of our users should help towards this direction.

@Data-PhiIe #368 This PR from one of our users should help towards this direction. <!-- github-comment-id:5488578059 -->
Author
Owner

@Data-PhiIe #368 This PR from one of our users should help towards this direction.

Very much appreciated! :D

> [@Data-PhiIe](https://github.com/Data-PhiIe) [#368](https://github.com/RayLabsHQ/gitea-mirror/pull/368) This PR from one of our users should help towards this direction. Very much appreciated! :D <!-- github-comment-id:5495382412 -->
Author
Owner

The next release (PR #376) adds GitLab (beta), Gitea and Forgejo as sources. That covers gitlab.com, codeberg.org and self hosted Forgejo or Gitea instances. One source per gitea-mirror account for now, several at once is tracked under #131.

Gitflic has no usable API, and zips from personal sites are out of scope for this tool. Closing as done with the release.

The next release (PR #376) adds GitLab (beta), Gitea and Forgejo as sources. That covers gitlab.com, codeberg.org and self hosted Forgejo or Gitea instances. One source per gitea-mirror account for now, several at once is tracked under #131. Gitflic has no usable API, and zips from personal sites are out of scope for this tool. Closing as done with the release. <!-- github-comment-id:5506863893 -->
Author
Owner

@Data-PhiIe Give it a try in the new verison. Let me know if you face any issues

@Data-PhiIe Give it a try in the new verison. Let me know if you face any issues <!-- github-comment-id:5515221549 -->
Author
Owner

@Data-PhiIe Give it a try in the new verison. Let me know if you face any issues

I'm currently on whatever release community-scripts provides, I would have to spin something separate up to test, I can if I find the time, but some one else may beat me to it.

Although, they're pretty quick, its possible its already available, let me update it and check.

> [@Data-PhiIe](https://github.com/Data-PhiIe) Give it a try in the new verison. Let me know if you face any issues I'm currently on whatever release [community-scripts](https://github.com/community-scripts/ProxmoxVE) provides, I would have to spin something separate up to test, I can if I find the time, but some one else may beat me to it. Although, they're pretty quick, its possible its already available, let me update it and check. <!-- github-comment-id:5554498759 -->
Author
Owner

I went ahead and took the update community scripts had available, but it seems to have wiped the install (I'm back at account creation on the WebUI). I am going to have to look into what caused this issue, there are several factors at play:
community-scripts: gitea-mirror
community-scripts: helper-scripts-local
and my postgres database being separated into a dedicated postgres LXC instead of using the one added to each individual LXC like how helper-scripts defaults. I think the issue may be because helper-scripts-local wasn't picking up and I manually added it. I had a backup so no worries, but I'm going to start by submitting an issue to community-scripts and work my way back over here if I need to.

I went ahead and took the update community scripts had available, but it seems to have wiped the install (I'm back at account creation on the WebUI). I am going to have to look into what caused this issue, there are several factors at play: community-scripts: gitea-mirror community-scripts: helper-scripts-local and my postgres database being separated into a dedicated postgres LXC instead of using the one added to each individual LXC like how helper-scripts defaults. I think the issue may be because helper-scripts-local wasn't picking up and I manually added it. I had a backup so no worries, but I'm going to start by submitting an issue to community-scripts and work my way back over here if I need to. <!-- github-comment-id:5554664901 -->
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#149