reposizer
v0.2.6
Published
Fast CLI to inspect GitHub repository sizes
Downloads
267
Maintainers
Readme
reposizer
Fast CLI to inspect GitHub repository sizes.
Check repo size before you clone. Analyze large codebases instantly.
Demo
npx reposizer torvalds/linuxRepository: torvalds/linux
Size: 4.82 GB
Stars: 190k
Language: CFeatures
- ⚡ Instant repository size lookup
- 🔐 Supports private repositories via
GITHUB_TOKEN - 📦 Works with
npx(no global install required) - 🧩 JSON output for scripts and CI tooling
- 🏢 Organization repository scanning
- 🔎 Current repository auto-detection (via
.git/config) - 📚 Multi-repository lookup in one command
- 📊 Directory analysis (no clone)
- 🧮 Approximate LOC analysis (no clone)
Installation
Option 1: no install (recommended)
npx reposizer owner/repoOption 2: global install
npm install -g reposizerUsage
Check repository size
reposizer openai/gymCheck multiple repositories
reposizer openai/gym vercel/next.js torvalds/linux
reposizer openai/gym vercel/next.js --sort starsDetect current repository automatically
reposizerScan an organization
reposizer org openai
reposizer org openai --limit 50 --jsonAnalyze top directories (no clone)
reposizer vercel/next.js --analyzeEstimate lines of code (no clone)
reposizer vercel/next.js --loc
reposizer vercel/next.js --loc --jsonJSON output
reposizer openai/gym --jsonPrivate repository access
export GITHUB_TOKEN=your_token
reposizer your-org/private-repoExample JSON Output
{
"repository": "openai/gym",
"size_mb": 92.15,
"stars": 31000,
"language": "Python"
}Roadmap
- [x] Organization scanning
- [x] Current repository auto-detection
- [x] Multi-repository support
- [x] Directory size analysis
- [x] Approximate LOC analysis
- [ ] CI/CD threshold mode
- [ ] Repository growth tracking
Why
Cloning a massive repository blindly is painful. Reposizer helps you inspect before you pull.
Security Notes
GITHUB_TOKENis optional and used only for request authorization.- Tokens are never printed to output or written to disk.
License
MIT - see LICENSE.
