ghgrab
Share on:
Enter Your Mastodon Instance
Copy the link below to share to Mastodon
https://terminaltrove.com/ghgrab/
A TUI to download files/folders from repositories without cloning repos.
Script Preview
Review this script before executing in your terminal.

ghgrab is a terminal tool for browsing and downloading individual files or folders from GitHub, GitLab, Codeberg, Gitea, and Forgejo without cloning the entire repo.
It grabs exactly the paths you pick instead of running a full git clone, searches and navigates any repo with fuzzy matching, previews source and text files before downloading, and handles GitHub LFS as well as batch-selecting many files and folders to pull them all at once.
A home-screen keyword search finds GitHub repos with star, language, and fork filters, and release downloads pick the right artifact for your OS and architecture. You can provide a link to ghgrab to any supported repository, browse directly in the TUI, and pull any file directly from there.
ghgrab works well for anyone who needs to pull individual files from a large big repo, across GitHub, GitLab, etc. without needing to do a full git clone.

