Reposizer

GitHub repository CLI

Check repository size before you clone.

reposizer shows size, stars, and language in one command, so you can avoid heavyweight repos and make faster technical decisions.

$ npx reposizer torvalds/linux

Repository: torvalds/linux
Size: 6.02 GB
Stars: 230.8k
Language: C

Zero setup

Run with npx. No global install required.

Automation ready

Use --json output in scripts and CI checks.

Works with private repos

Set GITHUB_TOKEN to inspect private repositories.

Documentation

Use reposizer in minutes

Install options

# recommended
npx reposizer owner/repo

# optional global install
npm install -g reposizer

Common commands

# single repo
reposizer openai/gym

# multiple repos
reposizer openai/gym vercel/next.js torvalds/linux

# detect current git remote
reposizer

Organization scan

reposizer org openai
reposizer org openai --limit 50 --json

Scriptable JSON output

reposizer vercel/next.js --json

{
  "repository": "vercel/next.js",
  "size_mb": 2491.76,
  "stars": 139160,
  "language": "JavaScript"
}

Private repository access

export GITHUB_TOKEN=your_token
reposizer your-org/private-repo

Node.js requirement

# Node.js >= 18
node -v