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: 5 months 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 (9 months ago)
- Default Branch: master
- Last Pushed: 2024-10-04T11:39:37.000Z (8 months ago)
- Last Synced: 2024-11-09T07:42:01.904Z (7 months ago)
- Topics: clone, git, github-api, github-clone, go, go-scripts, golang
- Language: Go
- Homepage:
- Size: 20.5 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
> [!IMPORTANT]
> ### Requirements
> - Go (version 1.18 or later) [](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.