Mirror your all Github repositories into local Gitea server
- gitea-monkey is a bash script file that will mirror your all Github repos in to your own local Gitea server.
- This will help you to back up your all repos locally.
- This scripts only works for debian or debian varient Linux systems. But you can tweak easily for any other linux OS version.
# clone or download the repo
$ git clone https://github.com/manushadilan/gitea-monkey
# change the working directory to gitea-monkey
$ cd gitea-monkey
# give execution permission to script files
$ chmod +x gitea-monkey.sh
$ chmod +x gitea-monkey-mirror.sh
# frist run gitea-monkey script with sudo permission to install gitea server locally
$ sudo ./gitea-monkey.sh
# After server installation, configure gitea settings and finish the installation.
- Create Gitea user and get access token
- Get Github acess token
- Mirror all repos
# run gitea-monkey-mirror script with sudo permission to mirror all repos
$ sudo ./gitea-monkey-mirror.sh
- Please ⭐️ this repository if this project helped you.
- Any kind of contributions are welcomed. :)
This project is licensed under the Apache License 2.0 License. Read more