2025-03-12 20:52:47 +01:00
2023-09-15 00:51:01 +02:00
2023-09-15 00:51:01 +02:00
2025-03-04 22:56:15 +01:00
2025-03-12 20:52:47 +01:00

GitHub to Gitea Mirror 🚀🔄

GitHub Sponsors Patreon Buy Me a Coffee PayPal

License: AGPL v3 Python Version GitHub Stars

GitHub to Gitea Mirror automatically detects repositories on GitHub that are not yet mirrored on Gitea and mirrors them—ensuring that your codebase remains consistent across both platforms.

🔧 Features

  • Auto-Detection: Identifies GitHub repos missing on Gitea.
  • Seamless Mirroring: Automatically mirrors repositories using the Gitea API.
  • Secure Authentication: Utilizes environment variables and tokens for secure API access.

🚀 Installation

Install GitHub to Gitea Mirror via Kevin's Package Manager:

pkgman install gigimi

🛠️ Setup & Usage

  1. Install Required Packages:

    If you haven't already, install the required Python packages:

    pip install python-dotenv requests
    
  2. Create a .env File:

    In your project directory, create a .env file with the following content:

    GITHUB_USER=your_github_username
    GITEA_USER=your_gitea_username
    GITEA_TOKEN=your_gitea_token
    
  3. Run the Script:

    Execute the script to start mirroring:

    python main.py
    

🙌 Acknowledgements

  • Developed with guidance from ChatGPT.
  • Inspired by the need to maintain repository consistency across platforms.

🖋️ Author

Kevin Veen-Birkenbach

📜 License

This project is licensed under the GNU Affero General Public License v3.0. Please refer to the LICENSE file for details.


Happy mirroring! 🎉🔄

Description
No description provided
Readme AGPL-3.0 50 KiB
Languages
Python 100%