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

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.

Terminal UI

Rich output, right in your shell

Reposizer now renders structured cards, tables, and charts in the terminal — built with Ink and termcn-style components.

Single repo

vercel/next.js

Size
2.43 GB
Stars
139k

Language: JavaScript

Compare repos

Repositories

Repository Size Stars
vercel/next.js 2.43 GB 139k
facebook/react 1.12 GB 240k

--analyze

vercel/next.js

Total approx 2.43 GB

Top directories

packages
examples
test

--loc

vercel/next.js

Total LOC approx 1.2M

File Lines Language
packages/next/src/... 42k TypeScript
packages/react-... 18k TypeScript

Documentation

Use reposizer in minutes

Install options

Published on npm.

# recommended
npx reposizer owner/repo

# optional global install
npm install -g reposizer

Commands

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