Dependency-aware GitHub file extraction

GetGrabKit Documentation

Explore repositories in a premium terminal UI, select exactly what you need, and download minimal working sets with confidence.

Start TUI

grabkit

Alias

getgrabkit

Help

getgrabkit --help

Restore

grabkit restore ./grabkit.config.json

Installation

Install globally from npm:

npm install -g getgrabkit

Supported commands after install: grabkit and getgrabkit.

Usage

  1. Run grabkit.
  2. Paste a GitHub repository URL in the input bar.
  3. Use arrow keys to navigate the tree explorer.
  4. Press Space to select files/folders.
  5. Press Enter to download selected files.

TUI Controls

Key Action
Up / Down Move selection
Left / Right Collapse or expand folder
Space Select or unselect file/folder subtree
Enter Toggle folder or download selected files
/ Filter mode
s Smart Grab (dependency-aware)
d Dependency insight
m Choose download mode
p Toggle preview panel
t Switch theme
q Quit

Smart Grab

Smart Grab analyzes local JavaScript-family imports and includes dependency files automatically in your final download set.

Troubleshooting

Command not found

npm ls -g --depth=0 getgrabkit
npm config get prefix

Make sure your npm global bin directory is in PATH.

GitHub API limits

$env:GITHUB_TOKEN="your_token_here"
setx GITHUB_TOKEN "your_token_here"

Local Docs Preview

python -m http.server 4173 --directory docs

Open http://localhost:4173 to preview this docs website locally.