๐Ÿ“Š How Attention Score Works

GitHub has 300M+ repositories. Star count alone doesn't tell you what's gaining momentum right now. Attention Score is our answer to that problem.

The Problem with Raw Stars

A repository with 100,000 stars that gained them over 10 years is fundamentally different from one that gained 50,000 stars in the last month. Raw star count measures accumulated history, not current relevance.

Traditional GitHub trending lists use a 24-hour or weekly star window โ€” useful, but gameable and noisy. We take a different approach.

The Attention Score Formula

Attention Score combines multiple signals into a single 0โ€“100 score, normalized within each category so you're always comparing like with like:

attention_raw = (stars ร— 0.50) + (forks ร— 1.50) + (watchers ร— 0.30) + (issues ร— 0.10) ร— max(0.1, 1 โˆ’ days_since_update รท 365) star_velocity = stars gained in the past 7 days (shown separately on cards) attention_score = ROUND(attention_raw / MAX(attention_raw in same category) ร— 100) attention_score = ROUND(attention_raw / MAX(attention_raw in category) ร— 100)

The score is computed fresh on every query โ€” it never goes stale even as new repos enter a category and shift the distribution.

The Signals
โญ Star Velocity
Stars gained in the past 7 days. The primary signal โ€” captures genuine current interest better than total stars.
โ‘‚ Fork Count
Forks indicate developers actively using the code, not just bookmarking it. Highest weight at 1.5ร— โ€” forking means active use.
๐Ÿ‘ Watchers
Watchers signal long-term sustained interest from developers monitoring a project's progress.
๐Ÿ“ Category Normalization
Scores are relative within each category. A niche Rust tool scoring 80 means it's top-tier in Rust โ€” not competing against Python's massive repos.
What Attention Score Is Not

It's not a quality score. A repo can have a high Attention Score because it went viral for controversy, or a low score because it's a mature, stable project that no longer needs stars to prove its value (like Linux). The score measures current attention, not merit.

It's also not gameable by buying stars โ€” star velocity spikes from bought stars look exactly like organic viral growth, but they don't come with corresponding fork/watcher increases, making them easy to spot in the full signal picture.

Data Freshness

We pull fresh data from the GitHub API weekly, storing snapshots in our database to power the star growth charts on each repo page. Category rankings update on the same schedule.

All data is sourced directly from the GitHub public API. We don't scrape, infer, or estimate any metrics.

Questions or feedback?

We're building this in public. If you think a signal is wrong or missing, open an issue or reach out.