A Manifest V3 Chrome extension for X/Twitter that combines local source-profile checks with an optional backend-assisted news verification layer.
The extension still does not declare a post to be definitively true or false. It shows the source profile you stored for the author, then can request an evidence summary for the hovered post and any visible linked news URLs.
- Runs on
https://x.com/*andhttps://twitter.com/*. - Tracks the post card currently under your mouse cursor.
- Checks the hovered post author or current profile page against your local source database.
- Shows an automatic source badge on X/Twitter profile pages.
- Lets you add an unknown hovered author to your local source database from the overlay for later review.
- Adds
Alt+Shift+Vto verify the hovered post through the local backend. - Sends post text, author details, tweet URL, timestamp, and visible external links to
POST /api/verify. - Shows a bilingual Turkish/English evidence summary with supporting, contradicting, and inconclusive sources.
- Stores source entries, verification settings, and short-lived verification cache in
chrome.storage.local. - Lets you search, add, edit, delete, import, export, and reset source entries from the popup.
- It does not store API keys in the extension.
- It does not make final truth rulings.
- It does not track browsing or analytics.
- It does not verify every X/Twitter post automatically; verification is user-triggered.
- Install dependencies:
npm install- Create an environment file:
copy .env.example .env- Fill the API keys you want to use:
GOOGLE_FACT_CHECK_API_KEY=
BRAVE_SEARCH_API_KEY=
LLM_BASE_URL=
LLM_API_KEY=
LLM_MODEL=Google Fact Check and Brave Search are optional but recommended. The LLM settings are optional; without them, the backend uses rule-based claim extraction and summary text.
- Start the backend:
npm startThe default endpoint is http://localhost:8787/api/verify.
- Open
chrome://extensions. - Enable Developer Mode.
- Click Load unpacked.
- Select this project folder.
- Open the extension popup and confirm the backend URL is
http://localhost:8787.
If you use a remote backend, add that host to manifest.json host_permissions before loading the extension.
Source profile:
- Open X/Twitter.
- Move your mouse over a post.
- Press
Alt+Shift+X. - Read the source profile overlay.
- If the author is unknown, click
Add source profileto save a review-needed local entry.
News verification:
- Start the backend.
- Move your mouse over a post.
- Press
Alt+Shift+V, or clickVerify hovered postin the popup. - Read the evidence summary below the source profile.
If Chrome reports a shortcut conflict, open chrome://extensions/shortcuts and assign a new shortcut.
The backend exposes:
POST /api/verifyInput:
{
"locale": "tr",
"postText": "Post text",
"author": {
"handle": "@example",
"displayName": "Example",
"profileUrl": "https://x.com/example"
},
"tweetUrl": "https://x.com/example/status/123",
"linkedUrls": ["https://example.com/news"],
"publishedAt": "2026-06-13T10:00:00.000Z"
}Output:
{
"status": "INSUFFICIENT",
"claim": "Extracted checkable claim",
"summary": "Evidence summary",
"confidence": 0.34,
"supportingEvidence": [],
"contradictingEvidence": [],
"inconclusiveEvidence": [],
"checkedAt": "2026-06-13T10:00:00.000Z",
"limitations": []
}Possible statuses are SUPPORTED, CONTRADICTED, MIXED, INSUFFICIENT, and ERROR.
Open the extension popup from the toolbar. From there you can:
- Search by handle, display name, status, category, reason, or notes.
- Add a source by filling the form and clicking Save source.
- Edit a source by selecting it, changing fields, and clicking Save source.
- Delete the selected source.
- Export the database as JSON.
- Import a JSON database.
- Reset to the bundled seed database.
Each source entry uses this shape:
{
"handle": "@sama",
"displayName": "Sam Altman",
"status": "TRUSTED_SOURCE",
"categories": ["AI company leader", "OpenAI"],
"reason": "Primary source for OpenAI-related announcements, but still verify claims outside his direct domain.",
"confidence": 0.9,
"lastUpdated": "2026-06-12",
"notes": "Trusted for OpenAI/company announcements, not automatically for all AI claims."
}Allowed statuses:
TRUSTED_SOURCEKNOWN_BUT_MIXEDSATIRE_OR_UNRELIABLEUNKNOWN_SOURCE
Source data stays local to your Chrome profile. Verification sends only the user-triggered hovered-post package to the configured backend URL. The backend may call Google Fact Check Tools, Brave Search, linked news pages, and the optional LLM endpoint configured in .env.
Run the backend tests:
npm testThe tests use mocked provider responses and do not require API keys.
X/Twitter changes its DOM frequently. This extension avoids brittle class names and uses article, status links, profile links, tweet text nodes, visible handles, and external anchors, but extraction may still need updates if X changes its markup.