Gitea Auto Mirror
Gitea Auto Mirror is a web API that is used to automatically create push-mirror entries in one Gitea instance, to then mirror its repository contents to another git server.
How it works
Gitea Auto Mirror listens for webhook events triggered by the Gitea server, and responds to them by POSTing back to the Gitea instance and creating a push mirror entry. That means that you set up a webhook on your Gitea instance. This webhook will trigger when a repository is created, and send a webrequest to Gitea Auto Mirror, which will check if the repository matches its RegEx filter. If it does, it will send a POST request back to Gitea, modifying the newly created repository and triggering a push to another git server. From there on out, Gitea itself will handle pushing new changes to the mirror server.
Info
Gitea Auto Mirror only works with HTTP-based mirror servers, as others are not supported by Gitea.
Setup
Refer to the installation guide and configuration guide to find out how to set up Gitea Auto Mirror.