Hacker GitHub

← All repos

twitter/the-algorithm

View on GitHub ↗ ★ 73,994 Scala

Source code for the X Recommendation Algorithm

116 mentions on Hacker News by 104 people: 20 stories, 96 comments · first 2022-04-25 · latest 2026-10-19

Mentions per year 116 mentions · busiest year 2023 (78)
20082026
  1. You missed this internet classic https://github.com/twitter/the-algorithm/issues/1999
    comment by greenavocado · 2026-10-19 · in Linux 7.3
  2. The names reminded me of https://github.com/twitter/the-algorithm/pull/1027
    comment by hmokiguess · 2026-08-20 · in Stwipe Acquires OpenWouter
  3. ▲ 2
    Just make a f___ing .EXE file and give it to me
    story by BruceEel · 2026-04-27 · 0 comments
  4. https://github.com/twitter/the-algorithm If it catches engagement, the main firehose feed will show it. They've begun using Grok and AI processes, which is hit and miss, but definitely improving. Having Japanese, French, other countries'…
  5. …time they published their algorithm to great fanfare, and then didn't bother to ever update it: https://github.com/twitter/the-algorithm
    comment by roryirvine · 2026-01-20 · in X For You Feed Algorithm
  6. what is the difference between this and https://github.com/twitter/the-algorithm
    comment by internetter · 2026-01-20 · in X For You Feed Algorithm
  7. This is not believable. It's not syntactically valid Python. https://github.com/twitter/the-algorithm/blob/c54bec0d4e029f...
  8. …of himself and the people he supports. This did not happen in the old twitter - not even close. [0] https://github.com/twitter/the-algorithm/issues/236
    comment by jordanscales · 2025-09-09 · in Source code for the X recommendation algorithm
  9. …This is a question I've pondered in the past but haven't gotten around to researching deeply. [0] https://github.com/twitter/the-algorithm/blob/c54bec0d4e029f...
    comment by TheAceOfHearts · 2025-09-09 · in Source code for the X recommendation algorithm
  10. The file in question is now here: https://github.com/twitter/the-algorithm/blob/main/home-mixe... author_is_elon, author_is_democrat, and author_is_republican are in fact gone. Now there is grok_politics_neutral, grok_politics_left, and…
  11. Already posted above: https://github.com/twitter/the-algorithm/blob/c54bec0d4e029f... It's redacted.
  12. …[1]. I'm confused as to who this is for, this surely isn't the repo they're working on, is it? [1] https://github.com/twitter/the-algorithm/blob/main/trust_and...
  13. Looks pretty real: https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92... When this started it really put me off X - I'd have tolerated, and almost liked the idea, of a freedom of speeech place. But a place that boosts its owners…
  14. RIP author_is_elon, we hardly knew ye. https://github.com/twitter/the-algorithm/issues/236
  15. ▲ 249
    Source code for the X recommendation algorithm
    story by mxstbr · 2025-09-09 · 141 comments
  16. ▲ 14
    Source code for the X Recommendation Algorithm
    story by just_human · 2025-09-09 · 7 comments
  17. …with the algorithm until he gets his political goals. Twitter/X has open sourced their algorithm ( https://github.com/twitter/the-algorithm ). So what do you mean by “mess with the algorithm”? And how do you characterize the extreme…
  18. https://github.com/twitter/the-algorithm Not updated in two years. > Go to Bluesky... At least people are not fantasizing about "race wars" or discussing the "jewsish question" there. Two subjects I saw multiple times on X's front page.
  19. …X algorithm? Ah yes, Musk promised to make it public, and... it hasn't been updated in two years. https://github.com/twitter/the-algorithm And clearly, the promotion of Musk's tweets on everyone's timeline is completely organic. >This is…
  20. Just like they are "publishing" their algorithm? https://github.com/twitter/the-algorithm hasn't been updated for two years
  21. …forgot to update it after his grand gesture of transparency? Pepperidge Farm remembers: https://github.com/twitter/the-algorithm
  22. ▲ 3
    Twitter's Navi: High-Performance Machine Learning Serving Server in Rust (2023)
    story by vinhnx · 2025-03-15 · 0 comments
  23. It's not been updated in over a year. It was a ruse: https://github.com/twitter/the-algorithm
  24. The algorithm that has been open sourced hasn’t been updated in over a year https://github.com/twitter/the-algorithm/commits/main/ You’re the conspiracy theorist. Conspiracies go hand in hand with your ideologies.
    comment by dom96 · 2024-11-29 · in Who Is Jay Graber, the CEO of Bluesky?
  25. …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
  26. …the few months after the repos were published and they haven't been updated in well over a year. https://github.com/twitter/the-algorithm https://github.com/twitter/the-algorithm-ml
  27. https://github.com/twitter/the-algorithm - Last commit: July 13th, 2023 https://github.com/twitter/the-algorithm-ml - Last commit: April 6th, 2023 Either the algorithm hasn't been updated for over a year (unlikely) or the public version is…
  28. ▲ 1
    Source Code for Twitter's Recommendation Algorithm
    story by kklisura · 2024-08-14 · 0 comments
  29. - https://github.com/twitter/the-algorithm?tab=readme-ov-file
    comment by Bluestein · 2024-07-25 · in Twitter's Recommendation Algorithm (2023)
  30. You can look at Twitter's recommendation system [here]( https://github.com/twitter/the-algorithm ) to get an idea.
  31. TIL: https://github.com/twitter/the-algorithm https://blog.x.com/engineering/en_us/topics/open-source/2023...
  32. X algorithm Github project hasn't been updated in 8 months: https://github.com/twitter/the-algorithm So clearly they aren't running it in production. Also they didn't open source the list of people who are being artificially boosted e.g.…
    comment by threeseed · 2024-03-18 · in Grok
  33. …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 some
    comment by aleph_minus_one · 2024-03-11 · in This week, xAI will open source Grok
  34. Yes, and it's here: https://github.com/twitter/the-algorithm If e.g. Amazon open sources some part of its software infrastructure should they also open source the data it uses or their configuration files?
    comment by coldtea · 2024-03-11 · in This week, xAI will open source Grok
  35. AGPL https://github.com/twitter/the-algorithm
    comment by mavhc · 2024-03-11 · in This week, xAI will open source Grok
  36. It's been OSS for a while - https://github.com/twitter/the-algorithm
  37. https://github.com/twitter/the-algorithm
  38. ▲ 4
    Recommendation algorithm manipulation via mass blocks
    story by anigbrowl · 2023-10-24 · 1 comment
  39. …like a pretty serious allegation. How do you know this is true? Is it in the source code?[1] [1]: https://github.com/twitter/the-algorithm
    comment by freedomben · 2023-10-23 · in Leaving Twitter
  40. Twitter's algorithm code is canonical good Scala - https://github.com/twitter/the-algorithm
    comment by steno132 · 2023-08-24 · in Ask HN: Where do I find good code to read?
  41. …I submitted this feature request that was highly ranked, but certainly will never be implemented. https://github.com/twitter/the-algorithm/issues/1363
  42. Who closed 656 issues? They seem to be actively commenting: https://github.com/twitter/the-algorithm/issues?q=commenter%...
  43. ▲ 52
    The new X button doesn't close the website
    story by ryansiddle · 2023-07-25 · 15 comments
  44. There is already a bug report for this: https://github.com/twitter/the-algorithm/issues/1876
    comment by SocketAcc133123 · 2023-07-24 · in Twitter has officially changed its logo to ‘X’
  45. …used when you open a new session. Plus, the algorithm for the "For you" feed is open source[0] 0. https://github.com/twitter/the-algorithm
  46. Well they open sourced part of it, https://github.com/twitter/the-algorithm and then I'm pretty sure Elon had a whiteboard session during his first days before firing everyone and had people explain it to him. Which he then posted on his…
  47. Never forget https://github.com/twitter/the-algorithm/pull/447
  48. Hey! We did some texting on https://github.com/twitter/the-algorithm without issues(*), that was around 150K lines of code. And it works great, I wish I knew more domain details about twitter to be able to really leverage it, but it…
  49. There's another 100 joke PRs where this comes from https://github.com/twitter/the-algorithm/pulls?q=is%3Apr+is%...
    comment by mtmail · 2023-05-22
  50. ▲ 7
    Twitter Open-Sources Tweetypie
    story by fniephaus · 2023-05-19 · 2 comments