Là một dự án mã nguồn mở, affaan-m/x-algorithm-score đã đạt 53 sao trên GitHub, ngôn ngữ TypeScript. Chrome extension that scores tweets based on X's recommendation algorithm
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
A Chrome extension that scores your tweets before you post them, based on X's open-sourced recommendation algorithm. Get a 0-100 score, letter grade (S through F), actionable suggestions, and predicted reach — all in real time as you type.
Features
On-Page Scoring (Content Script)
Live score overlay on x.com — a floating badge appears while you compose tweets
Click to expand into a full panel with three tabs: Suggestions, Breakdown, Algorithm Factors
Auto-detects attached media (images, video, GIFs, polls) and adjusts score accordingly
Reply/quote detection — knows when you're replying vs. posting fresh
Popup (Toolbar Icon)
Test tab — score any tweet text offline without navigating to x.com
Learn tab — 8 algorithm insight cards covering reply value (75x!), video boost, link penalties, dwell time, and more
Settings tab — configure Claude API key for AI analysis, toggle overlay, set score alert threshold
Sentiment analysis — lightweight pattern matching since Grok AI scores tone
Link penalty modeling — separate calculations for Premium vs. non-Premium accounts
AI-Powered Deep Analysis (Optional)
Originality scoring with template pattern detection
Engagement prediction — reply likelihood and viral potential with reasoning
Rewrite suggestions — improved versions of your tweet with explanations
Audience analysis — who your tweet appeals to and how to better target
Powered by Claude API (requires your own API key, stored locally)
Screenshots
Load the extension and visit x.com to see the UI in action.
View
Description
Score Badge
Floating circle in the bottom-right corner showing your grade (S/A/B/C/D/F) while composing
Expanded Overlay
Click the badge to see suggestions, score breakdown bars, and algorithm factor cards
Popup — Test
Type any tweet text, see instant score with grade circle, suggestions, and optional AI analysis
Popup — Learn
8 cards covering key algorithm insights: reply multipliers, video boost, link penalties, timing
Popup — Settings
Claude API key input, overlay toggle, suggestion toggle, minimum score alert slider
To capture screenshots for the Chrome Web Store, see store-assets/STORE_LISTING.md.
Installation
For Users: Load as Unpacked Extension
Download or clone this repository
Install dependencies and build:
npm install
npm run build
Open Chrome and go to chrome://extensions/
Enable Developer mode (toggle in the top-right corner)
Click Load unpacked
Select the dist/ folder inside this project
The XS icon appears in your toolbar — navigate to x.com and start composing
Tip: After code changes, run npm run build again, then click the reload button (circular arrow) on the extension card in chrome://extensions/.
For Developers: Development Mode
git clone https://github.com/affaan-m/x-algorithm-score.git
cd x-algorithm-score
npm install
# Start dev server with hot module replacement
npm run dev
Then load dist/ as an unpacked extension (steps 3-6 above). CRXJS provides HMR so most changes reflect without a manual reload.
Package for Chrome Web Store
npm run package
# Outputs: x-algorithm-score.zip (clean build, ready for CWS upload)
Usage
On x.com
Go to x.com and open the tweet composer
A score badge appears in the bottom-right corner as you type
Click the badge to expand — see Suggestions, Breakdown, and Algorithm Factors tabs
The score updates in real time with 150ms debounce
Attach media, add questions, or remove links and watch your score change
In the Popup
Click the toolbar icon (XS) to open the popup without leaving your current page:
Tab
What It Does
Test
Paste or type a draft tweet, toggle "has media", see score + suggestions. Click "Deep Analysis with AI" for Claude-powered feedback.
Learn
Browse 8 algorithm insight cards based on twitter/the-algorithm code analysis and community research.
Settings
Enter Claude API key (stored in chrome.storage.local), toggle composer overlay, configure alert threshold.
Scoring is based on twitter/the-algorithm (home-mixer, heavy-ranker, SimClusters) plus community research.
Key Multipliers from Algorithm Code
Signal
Multiplier
Why It Matters
Reply-to-reply
75x
You responding to comments is the single highest-value action
Direct replies
13.5-27x
Conversation signals dominate the ranking
Quote tweets
> retweets
Commentary adds value over simple amplification
Retweets
1-2x
Basic amplification, lowest positive signal
Likes
0.5x
Lowest engagement value in the algorithm
Reports
-369x
Devastating, creates lasting "algorithmic debt"
Blocks/mutes
-74x
Accumulates, equivalent to "show me less"
Critical Findings (2024-2026)
Links kill non-Premium reach: Since March 2026, non-Premium link posts get ~0% median engagement
Native video = 10x: 4 out of 5 user sessions now include video
First 30 minutes are critical: Engagement velocity in this window determines algorithmic distribution
Dwell time threshold: 3 seconds: Users must stay on your tweet >3s to signal quality
Positive sentiment wins: Grok AI scores tone — constructive content gets distributed further
TweepCred below 0.65: Only 3 of your tweets get considered for distribution
Privacy
All scoring runs locally in your browser — tweet text never leaves your device
No backend servers, no tracking, no analytics
No X/Twitter API access or authentication required
The only external call is optional AI analysis via Claude API using your own API key
API key stored in chrome.storage.local (never transmitted except to Anthropic's API)
Full source code available for audit
See PRIVACY_POLICY.md for the complete privacy policy.
Development
Tech Stack
Technology
Role
TypeScript 5.3
Type-safe source code
React 18
Popup and overlay UI components
Vite 5 + @crxjs/vite-plugin
Build toolchain with Chrome extension HMR
Tailwind CSS 3
Utility-first styling (popup)
Chrome Manifest V3
Extension platform APIs
Scripts
npm run dev # Vite dev server with HMR
npm run build # TypeScript check + production build
npm run build:clean # Clean dist/ then build
npm run package # Clean build + zip for Chrome Web Store
npm run type-check # TypeScript only (no emit)
npm run lint # ESLint on src/
Project Structure
x-score-extension/
├── manifest.json # Source manifest (CRXJS transforms for build)
├── src/
│ ├── background/
│ │ └── index.ts # Service worker: install, messaging, score history
│ ├── content/
│ │ ├── index.tsx # Content script: composer detection, overlay injection
│ │ ├── styles.css # Overlay animations and scoped styles
│ │ └── components/
│ │ └── ScoreOverlay.tsx # Collapsible score badge + expanded panel
│ ├── lib/
│ │ ├── scoring-engine.ts # Core scoring algorithm (5 components + suggestions)
│ │ └── ai-analysis.ts # Claude API integration for deep analysis
│ ├── popup/
│ │ ├── index.html # Popup entry HTML
│ │ ├── main.tsx # React mount point
│ │ ├── Popup.tsx # 3-tab popup UI (Test, Learn, Settings)
│ │ └── styles.css # Popup styles + Tailwind directives
│ └── types/
│ └── index.ts # All TypeScript interfaces + default scoring weights
├── assets/ # Extension icons (16/32/48/128 in PNG + SVG)
├── store-assets/ # Chrome Web Store listing copy
├── vite.config.ts # Vite + CRXJS + React plugin config
├── tailwind.config.js # Tailwind theme with X color palette
├── tsconfig.json # TypeScript config (strict, paths alias)
└── package.json # Dependencies and scripts
How the Build Works
tsc type-checks all source files (no emit — Vite handles transpilation)
Vite + CRXJS reads manifest.json, transforms source references (.tsx, .ts) into built chunks
CRXJS generates a content script loader (tiny IIFE) that dynamically imports the real content script bundle via chrome.runtime.getURL()
A service-worker-loader.js is generated to import the background script bundle
Output lands in dist/ — this folder is what Chrome loads as the extension
Roadmap
Timeline scoring — show scores on tweets in your feed
Score history — track your scoring over time
User context — integrate follower count and engagement rate into predictions
Thread composer — per-tweet scoring within threads
Optimal posting time — personalized suggestions based on follower timezones
Chrome Web Store release
Firefox and Safari support
Contributing
Fork the repository
Create a feature branch (git checkout -b feature/my-feature)
Commit your changes (git commit -m 'feat: add my feature')
Push to the branch (git push origin feature/my-feature)
Open a Pull Request
The scoring logic lives in src/lib/scoring-engine.ts with detailed comments explaining each algorithm factor and its real-world multiplier.
Disclaimer
This extension is based on publicly available information from Twitter's open-source algorithm release and community research. Scores are estimates — actual tweet performance depends on your audience, timing, content quality, trends, and X's constantly evolving algorithm.
affaan-m/x-algorithm-score có 53 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/affaan-m/x-algorithm-score. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
affaan-m/x-algorithm-score có phải mã nguồn mở không?
Có — affaan-m/x-algorithm-score phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/affaan-m/x-algorithm-score.
affaan-m/x-algorithm-score còn đang phát triển không?
Commit gần nhất trên affaan-m/x-algorithm-score là 4 tháng trước (theo timestamp GitHub). Repo có 17 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
affaan-m/x-algorithm-score dùng license gì?
affaan-m/x-algorithm-score phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
affaan-m/x-algorithm-score là gì?
affaan-m/x-algorithm-score (affaan-m/x-algorithm-score) là dự án TypeScript trên GitHub. Theo mô tả gốc: Chrome extension that scores tweets based on X's recommendation algorithm
affaan-m/x-algorithm-score viết bằng ngôn ngữ gì?
affaan-m/x-algorithm-score chủ yếu viết bằng TypeScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc thêm về affaan-m/x-algorithm-score ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/affaan-m/x-algorithm-score là nguồn chính thức.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về x-algorithm-score?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về x-algorithm-score.