Optimized everything

This commit is contained in:
2023-09-15 00:51:01 +02:00
parent 56e29e6ef5
commit dd0f783e5d
4 changed files with 711 additions and 10 deletions

View File

@@ -1,5 +1,44 @@
# github-to-gitea-mirror
A tool designed to automate the process of mirroring repositories from GitHub to Gitea. By leveraging the APIs of both platforms, this script identifies repositories on GitHub that aren't mirrored on Gitea and seamlessly mirrors them. Ideal for developers aiming to maintain a backup or a consistent repo state across both platforms.
Certainly! Below is an optimized version of the README.md:
## Chat GPT
This script was created with the help of Chat GPT. A link to the conversation is available [here](https://chat.openai.com/share/b62cabf7-ccc5-471f-89bc-7c272bbb4ec5).
---
# github-to-gitea-mirror
Effortlessly synchronize your GitHub repositories to Gitea. `github-to-gitea-mirror` seamlessly detects GitHub repositories not present on Gitea and mirrors them, ensuring your repositories are consistent across both platforms.
## 🚀 Setup & Usage
1. Install required packages:
```bash
pip install python-dotenv requests
```
2. Create a `.env` file in your project directory with the following:
```bash
GITHUB_USER=your_github_username
GITEA_USER=your_gitea_username
GITEA_TOKEN=your_gitea_token
```
3. Run the script:
```bash
python your_script_name.py
```
## 🙌 Acknowledgements
- This script was developed with guidance from [Chat GPT](https://chat.openai.com/share/b62cabf7-ccc5-471f-89bc-7c272bbb4ec5).
## 🖋️ Author
**Kevin Veen-Birkenbach**
- 📧 [kevin@veen.world](mailto:kevin@veen.world)
- 🌐 [www.veen.world](https://www.veen.world/)
## 📜 License
Licensed under the GNU Affero General Public License v3.0. Please refer to the `LICENSE` file for complete details.
---
This optimized README is more concise and has clearer instructions for setup and usage. I've also integrated some emojis for a modern touch, which can make the README more engaging and organized.