twitter / the-algorithm
git clone https://github.com/twitter/the-algorithm.git
π₯ on GitHub Trending today
Source code for the services and jobs that build X's For You Timeline and notification feeds from shared data and models.
Why you might care
Useful for engineers studying how a large-scale production recommender is structured, covering candidate sourcing, embeddings like SimClusters and TwHIN, and the product-mixer feed framework. It is a reference codebase rather than a drop-in tool, and it is tied to X's internal infrastructure.
+0
stars, 24h Β· #27,966
+25
stars, 7 days Β· #11,656
+130
stars, 30 days Β· #10,471
74k
β
total Β· +0% this week
13k
forks Β· 337 open issues
Star history (as recorded here)
LanguageScala
LicenseAGPL-3.0
Created2023-03-27 (3y ago)
Last push1y ago
Watchers408
OwnerOrganization
Seen on GitHub Trending
- 2026-12-04 β #4 monthly in scala Β· +221 β
- 2026-12-04 β #6 weekly in scala Β· +32 β
- 2026-12-03 β #4 monthly in scala Β· +235 β
- 2026-12-03 β #6 weekly in scala Β· +32 β
- 2026-12-02 β #4 monthly in scala Β· +241 β
- 2026-12-02 β #6 weekly in scala Β· +41 β
- 2026-12-01 β #4 monthly in scala Β· +243 β
- 2026-12-01 β #6 weekly in scala Β· +42 β
- 2026-11-30 β #4 monthly in scala Β· +243 β
- 2026-11-30 β #6 weekly in scala Β· +46 β
- 2026-11-29 β #4 monthly in scala Β· +244 β
- 2026-11-29 β #6 weekly in scala Β· +46 β
- 2026-11-28 β #4 monthly in scala Β· +247 β
- 2026-11-28 β #6 weekly in scala Β· +44 β
- 2026-11-27 β #4 monthly in scala Β· +247 β
- 2026-11-27 β #6 weekly in scala Β· +41 β
- 2026-11-26 β #4 monthly in scala Β· +247 β
- 2026-11-26 β #6 weekly in scala Β· +41 β
- 2026-11-25 β #4 monthly in scala Β· +244 β
- 2026-11-25 β #6 weekly in scala Β· +37 β
- 2026-11-24 β #4 monthly in scala Β· +240 β
- 2026-11-24 β #6 weekly in scala Β· +40 β
- 2026-11-23 β #4 monthly in scala Β· +239 β
- 2026-11-23 β #6 weekly in scala Β· +38 β
- 2026-11-22 β #3 monthly in scala Β· +238 β
- 2026-11-22 β #6 weekly in scala Β· +39 β
- 2026-11-21 β #3 monthly in scala Β· +240 β
- 2026-11-21 β #6 weekly in scala Β· +46 β
- 2026-11-20 β #3 monthly in scala Β· +244 β
- 2026-11-20 β #6 weekly in scala Β· +53 β
Links
- GitHub: github.com/twitter/the-algorithm
- Homepage: https://blog.twitter.com/engineering/en_us/topics/open-source/2023/twitter-recommendation-algorithm
- Releases Β· Issues Β· Hacker News mentions
README
Loading READMEβ¦
Blurb generated by claude-haiku-5-5 1mo ago. Star deltas marked ~ are extrapolated from partial history.