| Crates.io | repo-hoarder |
| lib.rs | repo-hoarder |
| version | 1.1.0 |
| created_at | 2025-05-04 05:40:25.590341+00 |
| updated_at | 2025-05-27 06:00:27.20322+00 |
| description | A tool to mass clone repositories from Codeberg |
| homepage | |
| repository | https://github.com/ofluffydev/repo-hoarder |
| max_upload_size | |
| id | 1659383 |
| size | 61,399 |
Repo Hoarder is a CLI tool designed to mass clone repositories from Codeberg or GitHub. It supports asynchronous cloning with multiple threads, making it efficient for downloading repositories from users or organizations.
--github flag).To use Repo Hoarder, you need to have Rust installed. If you don't have Rust installed, you can get it from rust-lang.org.
Clone this repository:
git clone https://github.com/ofluffydev/repo-hoarder.git
cd repo-hoarder
Build the project:
cargo build --release
The compiled binary will be available in the target/release directory:
./target/release/repo-hoarder --help
Run the tool with the following options:
repo-hoarder [OPTIONS] <TARGET>
<TARGET>: The target user or organization on Codeberg or GitHub.-t, --threads <THREADS>: Number of threads to use (defaults to the number of CPU cores).-o, --org: Specify if the target is an organization.-r, --recursive: Clone repositories recursively.-c, --clone-output <CLONE_OUTPUT>: Specify an output directory for cloned repositories.--github: Clone from GitHub instead of Codeberg.Clone all repositories from a Codeberg user:
repo-hoarder ofluffydev
Clone all repositories from a GitHub user:
repo-hoarder --github ofluffydev
Clone all repositories from an organization with 8 threads:
repo-hoarder -t 8 -o codeberg
Clone all repositories recursively into a specific directory:
repo-hoarder -r -c ./cloned-repos ofluffydev
This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.