📣 Release notes
Changelog
What changed in reposizer, version by version. Ship the latest to your
machine with npx reposizer@latest or
npm install -g reposizer@latest.
⬆️ Changes since 0.1.2
✨ Added
-
📂
Directory analysis (
--analyze). Approximate
top-level folder sizes from GitHub’s recursive Git tree API—no full clone.
Use reposizer owner/repo --analyze or combine with
--json for machine-readable totals and directory breakdowns.
Truncated trees from GitHub surface a warning on stderr.
-
🏢
Organization scan (
reposizer org <org>).
List repositories with size, stars, and language. Supports
--limit (1–100) and --json. Fetches additional
API pages until enough non-archived repositories are collected, or the
listing ends.
-
📊
Multi-repository comparison. Pass several
owner/repo arguments to get one comparison table. Use
--sort size|stars|name (default size). Duplicate
arguments are deduplicated case-insensitively. Invalid names fail before any
network request, with a 1-based position in your argument list.
-
🎯
Smarter default repository. Running
reposizer
with no arguments resolves owner/repo from
.git/config: walk up to .git, support worktree
gitdir: files, read remote "origin"
URLs, and normalize common GitHub SSH and HTTPS forms.
-
🧮
Approximate LOC mode (
--loc). Estimate lines
of code without cloning by using Git tree metadata and language-aware
bytes-per-line heuristics. Output includes total LOC, top languages, and top
directories; --json includes method and approximation metadata.
⚡ Improved
-
💬
Org API errors. Clearer messaging for
401/403 when listing organization repositories,
including guidance for private orgs and GITHUB_TOKEN.
-
🛡️
Rate-limit-friendly fetching. Bounded concurrency for
multi-repo metadata and parallel
--analyze tree requests.
Back to home