alok8bb
cloneit
Rust

A cli tool to download specific GitHub directories or files

Last updated May 14, 2026
91
Stars
3
Forks
6
Issues
0
Stars/day
Attention Score
11
Language breakdown
No language data available.
โ–ธ Files click to expand
README

cloneit

A cli tool to download specific GitHub directories or files.

Installation

From git

git clone https://github.com/alok8bb/cloneit
cd cloneit
bash ./install.sh

Usage

cloneit 1.0.0
Alok P <alok8bb@gmail.com>
Download specific GitHub directories or files

USAGE: cloneit [OPTIONS] <url>...

ARGS: <url>... URL to the GitHub directory or file. You can pass a single URL or multiple comma-delimited URLs e.g.

https://github.com/fpic/linpeace.py,https://github.com/s0xf/r2gihdra.c,https://github.com/fpic/defpol/master

OPTIONS: -h, --help Print help information

-V, --version Print version information

-z Download zipped directory

Examples

Download a specific folder

$ cloneit https://github.com/alok8bb/cloneit
$ cloneit https://github.com/alok8bb/cloneit/tree/master/src

Download a file

$ cloneit https://github.com/alok8bb/cloneit/tree/master/src/main.rs

Downloading and zip the folder/file

Thanks to @winterrdog for implementing this feature.

$ cloneit -z https://github.com/alok8bb/cloneit
๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท alok8bb/cloneit ยท Updated daily from GitHub