git0

0.2.13 • Public • Published

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.

/git0/

    Package Sidebar

    Install

    npm i git0

    Weekly Downloads

    133

    Version

    0.2.13

    License

    MIT

    Unpacked Size

    1.29 MB

    Total Files

    85

    Last publish

    Collaborators

    • vtempest