Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mamad-1999/cloneallrepo
The script clones repositories from a specified GitHub user.
https://github.com/mamad-1999/cloneallrepo
clone git github-api github-clone go go-scripts golang
Last synced: 6 days ago
JSON representation
The script clones repositories from a specified GitHub user.
- Host: GitHub
- URL: https://github.com/mamad-1999/cloneallrepo
- Owner: mamad-1999
- License: mit
- Created: 2024-08-22T07:35:48.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-09-10T19:11:26.000Z (2 months ago)
- Last Synced: 2024-09-10T21:15:27.759Z (2 months ago)
- Topics: clone, git, github-api, github-clone, go, go-scripts, golang
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
CloneAllRepo is a script that allows you to clone repositories from a specified GitHub user.
It provides an interactive and colorful terminal interface to choose and clone repositories.
### Preview
![clone](https://github.com/user-attachments/assets/d0caa7cc-6de2-480d-bad5-cd5aafac6351)> [!IMPORTANT]
> ### Requirements
> - Go (version 1.18 or later) [![Go Version](https://img.shields.io/badge/go-1.17%20%7C%201.18%20%7C%201.19%20%7C%201.20-blue)](https://golang.org/dl/)
> - Git
> - GitHub Personal Access Token (for authentication and rate limit issues)### Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/mamad-1999/CloneAllRepo.git
```
2. **Navigate to the Project Directory**:
```bash
cd CloneAllRepo
```
3. **Install Dependencies**:
```bash
go mod tidy
```## Usage
1. **Create a .env file in the project directory with your GitHub token**:
```bash
GITHUB_TOKEN=your_github_token2. **Run the Script**:
```bash
go run cloneAllRepo.go
```
> [!TIP]
> Follow the Prompts:
> - Enter the GitHub username.
> - Choose which repositories to clone (All or specific numbers).## Contributing
Feel free to submit issues if you have improvements or bug fixes.