Ghgrab

github.com/abhixdd/ghgrab Git & Code Hosting Open-source projectOpen source

ghgrab browses and downloads files from GitHub, GitLab, Codeberg, Gitea, and Forgejo without logging in.

github.com/abhixdd/ghgrab
Ghgrab homepage screenshot

About Ghgrab

Ghgrab is a terminal tool for browsing repositories and downloading selected files or folders from GitHub, GitLab, Codeberg, Gitea, Forgejo, and compatible self-hosted instances without a full git clone and without logging in. It includes fuzzy search for navigating folders, preview of source and text files, batch selection, and flags to control the download location.

Repository browsing and file or folder downloads support the listed forges, while home-screen repository search, release asset downloads, and GitHub LFS resolution are GitHub-only. It can be installed via npm, Cargo, pipx, Nix, or Arch AUR.

Key features

  • Browse repositories and download selected files or folders without full clone
  • Fuzzy search to navigate repository folders
  • Preview source code and text files in the interface
  • Select multiple files and folders for batch download
  • Download GitHub release assets filtered by OS and architecture
  • Resolve GitHub LFS files during download
Best for: Terminal users who need specific files or folders from repositories on supported forges without cloning.
Good for
  • Works with GitHub, GitLab, Codeberg, Gitea, Forgejo and compatible self-hosted instances
  • Downloads only selected files or folders instead of full repository clone
  • Available via npm, Cargo, pipx, Nix and Arch AUR
Watch out for
  • Home-screen repository search works with GitHub only
  • Release asset downloads work with GitHub only
  • LFS resolution works with GitHub only

Ghgrab at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Ghgrab alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Imgbot

github.com/imgbot/Imgbot

Imgbot compresses image files in GitHub repositories and opens a pull request for review after applying the changes.

Open source
24 alternatives

Popular in Git & Code Hosting

Well-known listings from the same topic.

All 67

Ghgrab FAQ

Which sites can I browse and download from?
Repository browsing and file or folder downloads support GitHub, GitLab, Codeberg, Gitea, Forgejo, and compatible self-hosted instances. Home-screen repository search, release downloads, and LFS resolution are GitHub-only.
How do I start browsing a repository?
Run ghgrab to open the interface, run ghgrab with a repository URL, or type a keyword on the home screen to search GitHub repositories.
How do I download a GitHub release asset?
Use ghgrab rel user/repo with options such as --tag, --asset-regex, --extract, and --out to select a tag, match an asset, extract archives, and set the output directory.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing