git0
v0.2.21
Published
CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.
Downloads
735
Maintainers
Readme
Step 0: Download Git Repo
CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, then install dependencies and open code editor.
🚀 Installation
npm install -g git0bun install -g git0

✨ Features
- Search GitHub repositories by name with fuzzy matching
- Download repositories directly from GitHub URLs or owner/repo shortcuts. Skip the manual git clone, cd, install dance
- Get Releases instantly download latest release for your system or all systems
- Automatic dependency installation and installation for multiple project types
- Smart IDE integration - automatically opens projects in your preferred editor
- Cross-platform support - works on Windows, macOS, and Linux
- Conflict resolution - handles directory naming conflicts automatically
- Faster than git - skips
.githistory and uncompresses while downloading
🎯 Usage
# Direct download from GitHub URL
## g and git0 both work
g https://github.com/facebook/react
# Search for repositories by name
g react starter
# Download using owner/repo shorthand
git0 facebook/react
# Use git0 without installing, (only node needed)
# (copy this line into your project's readme to help others setup)
npx git0 facebook/reactSupported Project Types
git0 automatically detects and sets up the following project types:
| Project Type | Detection | Installation |
| ----------------- | -------------------------------------- | --------------------------------------------- |
| Node.js | package.json | bun install (fallback to npm install) |
| Docker | Dockerfile, docker-compose.yml | docker-compose up -d or docker build |
| Python | requirements.txt, setup.py | Virtual environment + pip install |
| Rust | Cargo.toml | cargo build |
| Go | go.mod | go mod tidy |
Supported IDEs
git0 automatically detects and opens projects in your preferred IDE:
- Antigravity
- Cursor
- Windsurf
- VS Code
- VSCode Server WebUI
- Neovim
- Webstorm
🔧 Configuration
What Happens After Download
- Repository is downloaded to your current directory
- Project type is detected automatically
- Dependencies are installed based on project type
- IDE is launched automatically (if available)
- Development server starts (for Node.js projects)
If a directory with the same name exists, git0 automatically appends a number (e.g., react-2, react-3).
GitHub Token (Optional)
For higher API rate limits, set your GitHub token:
export GITHUB_TOKEN=your_github_token_hereWithout a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.
