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 comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

