Quick Start¶
Launch the TUI¶
Start the interactive browser:
ghgrab
From the home screen you can:
paste a repository URL from a supported forge,
type a repository keyword and press
Enterto search GitHub,jump straight into browsing and downloading.
Supported repository URLs include GitHub, GitLab, Codeberg, Gitea, and Forgejo.
Open a repository directly¶
ghgrab https://github.com/rust-lang/rust
ghgrab https://gitlab.com/gitlab-org/gitlab
ghgrab https://codeberg.org/forgejo/forgejo
Download into the current directory¶
ghgrab https://github.com/rust-lang/rust --cwd --no-folder
--cwd writes into the current working directory, and --no-folder skips creating a repository-named subfolder.
Download a release asset¶
ghgrab rel sharkdp/bat
This selects the best matching asset for the current OS and architecture when there is a clear winner.
Release downloads are currently GitHub-only.
Keyboard shortcuts¶
Home input helpers¶
Key |
Action |
|---|---|
|
Delete character at cursor |
|
Auto-fill |
Repository search mode¶
Key |
Action |
|---|---|
|
Move selection |
|
Open the selected repository |
|
Toggle include or exclude forks |
|
Cycle minimum star filters |
|
Cycle language filter |
|
Cycle sort mode |
|
Reset filters |
|
Refresh the current search |
|
Return to the home input |
Repository search mode currently searches GitHub only. Use a direct URL to open GitLab, Codeberg, Gitea, or Forgejo repositories.