# twitter/the\-algorithm

> Source code for the X Recommendation Algorithm

Canonical: https://starboard.codevetter.com/explore/twitter/the-algorithm

[Back to Discover](https://starboard.codevetter.com/discover)

![twitter](https://avatars.githubusercontent.com/u/50278?v=4&s=40)

twitter

# the\-algorithm

[View on GitHub
](https://github.com/twitter/the-algorithm)

Source code for the X Recommendation Algorithm

74k stars

Scala

Updated 19h ago

Created Mar 27, 2023

## Star history

\+764 stars
1\.0% growth


## Detected tools

[Cargo](https://starboard.codevetter.com/tools/cargo)
[CMake](https://starboard.codevetter.com/tools/cmake)
[Docker](https://starboard.codevetter.com/tools/docker)


Tool detection is evidence\-based, not a full runtime audit\. Package manifests, lockfiles, and SBOMs are high\-confidence; README, topics, and AI metadata are lower\-confidence signals\. Repository language is metadata, not counted as a tool\. Accuracy varies by ecosystem, especially for C/C\+\+ and custom monorepos\.

- Cargo  · 98% confidence · Sources: navi/dr\_transform/Cargo\.toml, navi/navi/Cargo\.toml, navi/segdense/Cargo\.toml, navi/thrift\_bpr\_adapter/thrift/Cargo\.toml · Detected Jul 9, 2026

- CMake  · 90% confidence · Sources: twml/libtwml/src/lib/CMakeLists\.txt, twml/libtwml/src/ops/CMakeLists\.txt · Detected Jul 9, 2026

- Docker  · 90% confidence · Sources: ann/src/main/python/dataflow/worker\_harness/Dockerfile · Detected Jul 9, 2026

## Similar projects

[![twitter](https://avatars.githubusercontent.com/u/50278?v=4&s=24)

twitter/ the\-algorithm\-ml

Source code for Twitter's Recommendation Algorithm

Python 11k 80%](https://starboard.codevetter.com/explore/twitter/the-algorithm-ml)[![metarank](https://avatars.githubusercontent.com/u/72728171?v=4&s=24)

metarank/ metarank

A low code Machine Learning personalized ranking service for articles, listings, search results, recommendations that boosts user engagement\. A friendly Learn\-to\-Rank engine

Scala 2\.5k 65%](https://starboard.codevetter.com/explore/metarank/metarank)[![fpinscala](https://avatars.githubusercontent.com/u/8195133?v=4&s=24)

fpinscala/ fpinscala

Code, exercises, answers, and hints to go along with the book "Functional Programming in Scala"

Scala 5\.9k 63%](https://starboard.codevetter.com/explore/fpinscala/fpinscala)[![apache](https://avatars.githubusercontent.com/u/47359?v=4&s=24)

apache/ predictionio

PredictionIO, a machine learning server for developers and ML engineers\.

Scala 13k 63%](https://starboard.codevetter.com/explore/apache/predictionio)[![twitter](https://avatars.githubusercontent.com/u/50278?v=4&s=24)

twitter/ finagle

A fault tolerant, protocol\-agnostic RPC system

Scala 8\.9k 63%](https://starboard.codevetter.com/explore/twitter/finagle)[![recommenders\-team](https://avatars.githubusercontent.com/u/142452264?v=4&s=24)

recommenders\-team/ recommenders

Best Practices on Recommendation Systems

Python 22k 65%](https://starboard.codevetter.com/explore/recommenders-team/recommenders)[![typelevel](https://avatars.githubusercontent.com/u/3731824?v=4&s=24)

typelevel/ cats

Lightweight, modular, and extensible library for functional programming\.

Scala 5\.5k 62%](https://starboard.codevetter.com/explore/typelevel/cats)[![gitbucket](https://avatars.githubusercontent.com/u/11145783?v=4&s=24)

gitbucket/ gitbucket

A Git platform powered by Scala with easy installation, high extensibility & GitHub API compatibility

Scala 9\.4k 63%](https://starboard.codevetter.com/explore/gitbucket/gitbucket)
