gitsnatch
v0.1.2
Published
Browse and download files from any git repo without cloning the whole thing. Built with OpenTUI.
Downloads
43
Readme
gitsnatch
Browse and download files from any git repo without cloning the whole thing. Built with OpenTUI.
Install
bun install -g gitsnatchOr clone and run:
bun install
bun run src/index.tsxUsage
- Enter a repo URL (https://github.com/user/repo)
- It clones with
--depth 1into/tmp, then shows the tree - Navigate files with arrow keys / j/k/G, open with Enter
ddownloads the selected file to your current directoryl/hor→/←switches focus between sidebar and code view- Submitting the same URL reuses the cached clone in /tmp
- Ctrl+C twice to exit
Build
bun run buildOutput is written to dist/. The bin/gitsnatch.js entry tries source first, then falls back to dist/.
