I reverse-engineered X's open-source algorithm into a Chrome extension that predicts your reach before you post
I kept writing tweets, posting them, and getting 200 views. Same effort, wildly different outcomes. So I went to twitter/the-algorithm on GitHub to find out why. Turns out X published exactly how t...

Source: DEV Community
I kept writing tweets, posting them, and getting 200 views. Same effort, wildly different outcomes. So I went to twitter/the-algorithm on GitHub to find out why. Turns out X published exactly how they rank content. Replies are worth 27x a like. Your own reply to your own tweet? 150x. Bookmarks? 20x. External links? -50% reach. It's all in the source code. I extracted 36 scoring rules from the algorithm and built a Chrome extension that grades your tweets in real time as you type. What it does You open X.com. Start typing a tweet. A small overlay appears: Score: 72/100 (updating live as you type) Predicted reach: ~14,200 people Remove the link → 21,600 Add an image → 19,600 Both → 34,400 That's it. Know your reach before you post. The 36 rules Every tweet is scored across 5 categories: Category Rules What it checks Hook 12 Opening strength, open loops, contrarian claims, story openers, pattern interrupts Structure 5 Length, hashtag/emoji spam, thread length, line breaks Engagement 2 CTA