twitter/the-algorithm
Source code for the X Recommendation Algorithm
Star count as of 16:48 (BKK).
twitter/the-algorithm has 74k stars and gained +41 of them in the last 30 days, a 0.1% change. It is written in Scala, grouped under ai-models, released under AGPL-3.0. Last pushed on 8 Sep 2025.
Hidden from the default views because it has not been pushed in 90 days.See why
Star history
Weekly, from GitHub's stargazers history, over a 30-day window.
Growth
| Period | Stars gained | Growth | From | Measured |
|---|---|---|---|---|
| Last 6 hours | — | — | — | Not measured |
| Last 12 hours | +4 | 0.0% | 74k at 04:32 | Intraday snapshots, measured 16:48 |
| Today | +4 | 0.0% | 74k on 27 Oct 2026 | Daily snapshots |
| Last 7 days | — | — | — | Last measured 24 Oct 2026 |
| Last 30 days | +41 | 0.1% | 73.9k on 27 Sep 2026 | Weekly history |
| Last year | +7.3k | 11.0% | 66.7k on 26 Oct 2025 | Weekly history |
A period with no current measurement is left blank: a delta needs a measurement at both ends of the period. The 6- and 12-hour periods need two intraday measurements exactly that far apart, the day-and-longer periods need snapshots on both dates, and the last year also needs star history from a year ago, which we keep for one year.
Embed this badge
Copy either snippet into the repository's README. The badge shows total stars and the gain over the last 7d (the same window as the one below) and is hotlinked directly, with no account or token.
[](https://bestofgit-blue.vercel.app/projects/twitter/the-algorithm)
<a href="https://bestofgit-blue.vercel.app/projects/twitter/the-algorithm">
<img src="https://bestofgit-blue.vercel.app/badge/twitter/the-algorithm.svg?window=7d"
alt="Star and growth badge for twitter/the-algorithm on BestOfGit" />
</a>