gitmyhub

x-algorithm-score

TypeScript ★ 32 updated 6d ago

Chrome extension that scores tweets based on X's recommendation algorithm

X Algorithm Score is a Chrome extension that gives you a score for a tweet before you post it, based on what is publicly known about how X's recommendation algorithm ranks content. As you type in the tweet composer on x.com, a floating badge appears showing a letter grade from S down to F and a numeric score from 0 to 100. Clicking the badge expands a panel with specific suggestions for improvement, a breakdown of how the score was calculated, and an explanation of the algorithm signals involved.

The scoring breaks down into five parts: the content of the tweet itself, whether media like video or images is attached, the time of day you are posting, signals that drive engagement like questions or calls to action, and a risk penalty for things the algorithm tends to punish such as external links, too many hashtags, or overused posting templates. These weights are based on the algorithm code that Twitter made public in 2023 as well as community research into how the ranking actually behaves in practice. For example, the algorithm gives a 75x multiplier to replies you write back to people who comment on your post, and a large negative multiplier to posts that get reported or blocked.

All of the scoring runs locally inside your browser. Your tweet text is never sent anywhere. There is an optional deep-analysis feature powered by Claude that gives more detailed feedback including rewrite suggestions, but that requires you to supply your own Anthropic API key, which is stored only in your browser and sent only to Anthropic.

The extension is built with TypeScript, React, and Vite. It has not yet been published to the Chrome Web Store, so you install it manually by building the project and loading the output folder as an unpacked extension. It is released under the MIT license.