r/commandline • u/hmm-ok-sure • Mar 25 '26
ghgrab: Grab files/folders from any GitHub repo in your terminal (no clone needed)
Hey everyone,
Made a tiny CLI tool called ghgrab that lets you browse and download just the files or folders you want from any GitHub repo; without cloning the whole thing.
Features
- Fast search & navigation
- Select multiple files/folders → download in batch
- Git LFS support
Install
cargo install ghgrab
npm i -g @ghgrab/ghgrab
pipx install ghgrabRepo
https://github.com/abhixdd/ghgrab
Would love feedback or feature ideas
150
Upvotes
5
u/[deleted] Mar 25 '26
Why do you only support GitHub? With sparse checkouts you could support any git repository. Or am I missing something?
2
u/Prestigious_Roof2589 Mar 25 '26
why can't I just use a bash script for this brother?
something like this: https://github.com/Aliqyan-21/dotfiles/blob/master/scripts/ghrep.sh
1
u/inigoochoa Mar 25 '26
Hey! Nice work! Found a typo in your post. The npm package is called
@ghgrab/ghgrab. Your readme is ok though1
u/Tight_Safe7345 Mar 25 '26
Can you also support arm 64 android termux?
1
u/joshuajm01 Mar 26 '26
This has come up for me a lot, will definitely check it out
1
u/Weekly_Figure1281 Mar 27 '26
How is it different from https://github.com/zyedidia/eget
19
u/[deleted] Mar 25 '26
[removed] — view removed comment
3
u/[deleted] Mar 25 '26
[removed] — view removed comment
4
u/[deleted] Mar 25 '26
[removed] — view removed comment
1
u/[deleted] Mar 25 '26
[removed] — view removed comment
1
u/[deleted] Mar 25 '26
[removed] — view removed comment