Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dudynets/github-repository-cloner
Clone all repositories from GitHub for a specified user or organization.
https://github.com/dudynets/github-repository-cloner
bulk dump git github-api repository
Last synced: 9 days ago
JSON representation
Clone all repositories from GitHub for a specified user or organization.
- Host: GitHub
- URL: https://github.com/dudynets/github-repository-cloner
- Owner: dudynets
- License: mit
- Created: 2023-09-24T20:06:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-24T20:54:56.000Z (over 1 year ago)
- Last Synced: 2024-11-21T15:54:25.076Z (2 months ago)
- Topics: bulk, dump, git, github-api, repository
- Language: JavaScript
- Homepage:
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Repository Cloner
This is a simple Node.js script that allows you to clone repositories from GitHub for a specified user or organization. It utilizes several npm packages, including axios, inquirer, fs-extra, git-clone, and chalk.
## Usage
1. Clone this repository or download the script.
2. Install the required npm packages by running `npm install`.
3. Run the script using `npm start`.## Features
- Interactive command-line interface to select whether to clone repositories for a user or organization.
- Input validation for the GitHub username.
- Fetches the list of repositories from GitHub using the GitHub API.
- Deletes the output folder if it already exists and creates a new one.
- Clones repositories with progress, displaying information about the cloning process.## Installation
1. Clone this repository or download the script.
2. Install the required npm packages by running `npm install`.## Usage
1. Run the script using `npm start`.
2. You will be prompted to select whether you want to clone repositories for a user or organization.
3. Enter the GitHub username for the user or organization you want to clone repositories from.
4. The script will start cloning the repositories, displaying progress and information about each repository.## Configuration
You can customize the behavior of the script by modifying the `src/index.js` file. For example, you can change the output folder name or add additional features.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.