Skip to content

stars stats

Terminal window
stars stats

Returns a record with summary statistics:

╭──────────────────┬─────────────────────────╮
│ total_stars │ 1247 │
│ unique_languages │ 42 │
│ archived_repos │ 31 │
│ forked_repos │ 15 │
│ db_size_mb │ 2.34 │
│ last_sync │ 2026-02-23 10:15:00 │
│ backup_count │ 3 │
│ top_languages │ [table 10 rows] │
│ top_owners │ [table 10 rows] │
╰──────────────────┴─────────────────────────╯
FieldTypeDescription
total_starsintTotal number of starred repositories
unique_languagesintNumber of distinct programming languages
archived_reposintNumber of archived repositories
forked_reposintNumber of forked repositories
db_size_mbfloatSQLite database file size in megabytes
last_syncdatetimeLast database modification time
backup_countintNumber of backup files
top_languagestableTop 10 languages by count
top_ownerstableTop 10 repo owners by count
Terminal window
stars stats | get top_languages
╭───┬────────────┬───────╮
│ # │ language │ count │
├───┼────────────┼───────┤
│ 0 │ Rust │ 187 │
│ 1 │ TypeScript │ 156 │
│ 2 │ Go │ 134 │
│ 3 │ JavaScript │ 98 │
│ 4 │ Shell │ 45 │
│ … │
╰───┴────────────┴───────╯
Terminal window
stars stats | get top_owners
╭───┬──────────────┬───────╮
│ # │ owner │ count │
├───┼──────────────┼───────┤
│ 0 │ cloudflare │ 23 │
│ 1 │ astral-sh │ 12 │
│ 2 │ nushell │ 11 │
│ … │
╰───┴──────────────┴───────╯
Terminal window
# Get just the total count
stars stats | get total_stars
# Top 5 languages
stars stats | get top_languages | first 5
# Check if a sync is needed
stars stats | get last_sync