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.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.