HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
twitter
the-algorithm
Scala2022–2026
twitter / the-algorithm

the-algorithm

Source code for the X Recommendation Algorithm

104Distinct people
116Mentions
0Explicit recommenders
74.1KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Source code for the X Recommendation Algorithm

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 8:59:20 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year116 dated mentions

Observed mentions: 2022-04-25 21:01:53 UTC to 2026-10-19 13:35:30 UTC.

0204060802022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 78 mentions; 14 submissions, 64 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 13 mentions; 1 submissions, 12 comments20242025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 16 mentions; 3 submissions, 13 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 6 mentions; 1 submissions, 5 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC312
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC781464
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC13112
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC16313
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC615

What Hacker News says

13 sources
The open-sourcing of the X's feed algorithm is a typical Musk's smokescreen. First, while the code was open sourced, the configs and data that determines its behavior wasn't. Any researcher that has some knowledge of the matter will tell you this. Second, that code was last updated in July 2023 [1]. News feed algorithms are updated regularly, especially around the time of US elections [2]. [1] https://github.com/twitter/the-algorithm [2] https://www.science.org/doi/10.1126/science.adt2983
In X's algorithm was changed in mid-July 2024 to boost right-leaning accounts
> Wasn’t the tweet recommendation system “open sourced” as well? Does this guy know the difference between open source and “open source”? What do you mean? There exists only one binding definition of open source > https://opensource.org/osd and either some product does satisfy it, or it doesn't. As far as I am aware > https://github.com/twitter/the-algorithm does satisfy the open source definition, so your sarcasm looks demagogical to me, but I am very willing to learn something new.
In This week, xAI will open source Grok

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.