gloner
v1.1.1
Published
CLI tool to clone GitHub user or organization repositories
Maintainers
Readme
gloner
🧰 A simple CLI tool to clone GitHub user or organization repositories into a separate folder in the current working directory.
Supports interactive selection or cloning all repositories with the --all flag.
⚠️ Requires Node.js 18+ due to modern fetch and ESM modules.
🔧 Installation & Running
Option 1: Install globally
npm install -g glonerOption 2: Run directly with npx
npx gloner🚀 Usage
1. Interactive mode
gloner- You will be prompted for a GitHub username or organization:
? GitHub username or organization: <account>Then select repositories to clone using a checkbox (max 15 visible at a time, no infinite scroll).
Cloned repositories will be placed in a folder named after the account:
./<account>/<repo1>
<repo2>
<repo3>2. Clone all repositories
gloner --all <account>- Skips the checkbox selection and clones all repositories automatically.
📦 Requirements
🧑💻 Example run
'Interactive' mode:
[START] gloner - GitHub Cloner CLI
? GitHub username or organization: <account>
[GET] Fetching repositories for <account>...
Select repositories to clone: (Use space to select, enter to confirm)
[INFO] Selected <n> repositories to clone.
[CLONE] <repo1>...
[OK] Successfully cloned: <repo1>
[CLONE] <repo2>...
[OK] Successfully cloned: <repo2>
[CLONE] <repo3>...
[OK] Successfully cloned: <repo3>
[DONE] Selected repositories processed.'Clone all' mode:
gloner --all <account>
[START] gloner - GitHub Cloner CLI
[GET] Fetching repositories for <account>...
[INFO] --all flag used: cloning all <n> repositories.
[CLONE] <repo1>...
[OK] Successfully cloned: <repo1>
[CLONE] <repo2>...
[OK] Successfully cloned: <repo2>
[CLONE] <repo3>...
[OK] Successfully cloned: <repo3>
[DONE] Selected repositories processed.⚙️ Purpose
This CLI helps you quickly clone all public repositories of a GitHub user or organization. Useful for:
- Learning from your own or others’ code
- Creating backups of repositories
- Quickly downloading multiple projects at once
📜 License
MIT © vlajs
