ghgrab is a terminal tool for browsing and downloading individual files and folders from source code repositories without cloning the entire project.
It supports GitHub, GitLab, Codeberg, Gitea, Forgejo, and compatible self-hosted instances. Its terminal interface provides repository navigation, fuzzy search, file previews, and batch downloads.
This is free and open source software.
Key Features
- Browse repositories and download specific files or folders.
- Supports GitHub, GitLab, Codeberg, Gitea, Forgejo, and compatible self-hosted instances.
- Fuzzy search for quickly finding repository content.
- Preview source code and text files in the terminal.
- Batch selection and downloading of multiple files and folders.
- Built-in GitHub Large File Storage support.
- Search for GitHub repositories directly from the home screen.
- Download GitHub release assets with operating system and architecture-aware selection.
- Machine-friendly agent mode for scripts and non-interactive workflows.
- Custom colour themes using TOML configuration files.
Website: github.com/abhixdd/ghgrab
Support:
Developer: Abhinav A
License: MIT License

ghgrab is written in Rust. Learn Rust with our recommended free books and free tutorials.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.