Skip to content
/ git0 Public

πŸ’»βš’οΈ CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, πŸš€ then install dependencies and open code editor.

Notifications You must be signed in to change notification settings

vtempest/git0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

43 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHub Stars GitHub Discussions GitHub last commit

Git0: Download Git Repo on Step Zero

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 git0
bun install -g git0

livepreview preview

✨ 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 .git history 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/react

Supported 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:

  • Cursor (cursor)
  • Windsurf (windsurf)
  • VS Code (code)
  • Code Server (code-server)
  • Neovim (nvim)
  • Webstorm (webstorm)

πŸ”§ Configuration

What Happens After Download

  1. Repository is downloaded to your current directory
  2. Project type is detected automatically
  3. Dependencies are installed based on project type
  4. IDE is launched automatically (if available)
  5. 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_here

Without a token, you're limited to 60 requests per hour. With a token, you get 5,000 requests per hour.

About

πŸ’»βš’οΈ CLI tool to search GitHub repositories, download source & releases for your system, and instantly set up, πŸš€ then install dependencies and open code editor.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published