repositorypackage
0.0.0-20230928140640-ed60e8450614
Repository: https://github.com/espeduza/cc-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
🚀 CC-GO
📝 Description
This project allows you to clone all GitHub repositories of a user or an organization and archive them into a zip file. The archive can then be downloaded via an HTTP API. If a GitHub token is provided, the application will also clone private repositories. The repositories are fetched, and the latest active branch is pulled.
🛠 Prerequisites
- Docker
- GitHub Token (optional, required for cloning private repositories)
🚀 Setup & Run
1. Clone the Repository
git clone https://github.com/ESPEDUZA/CC-GO
cd CC-GO
2. Configure Environment Variables
Copy the .env.dist file to a new file named .env and update the environment variables as needed.
cp .env.dist .env
Edit the .env file and set the values for the GitHub user and token (if available).
3. Build and Run with Docker
docker build -t cc-go .
docker run -p 8080:8080 cc-go
🌐 Usage
Once the application is running, you can download the archived repositories by navigating to:
http://localhost:8080/download
Replace 8080 with the port number you have configured if it's different.
🧑💻 Author
Eliott GERMAIN