De Facto Checker is a powerful Chrome Extension that empowers users to verify claims on the web instantly. Powered by an AI-driven backend, it cross-references selected text against reliable sources to provide a groundedness score, detailed reasoning, and citations—all without leaving your current tab.
- Context Menu Integration: Simply select text, right-click, and "Verify".
- Non-Intrusive UI: Results appear in the Chrome Side Panel, keeping your workflow uninterrupted.
- AI-Powered Analysis: Uses Perplexity's
sonar-promodel for deep semantic verification. - Source Transparency: Provides clickable citations for every claim.
- Smart Filtering: Automatically excludes the current page from sources to ensure independent validation.
- Manifest V3: Secure, modern extension architecture.
- Side Panel API: For a seamless user experience.
- Vanilla JS/HTML/CSS: Lightweight and fast.
- FastAPI: High-performance Python web framework.
- HTTPX: Async HTTP client for external service calls.
- Pydantic: Robust data validation and settings management.
- Perplexity API: The core intelligence engine.
- Python 3.11+
- uv (Recommended) or pip
- A Perplexity API Key
-
Clone the repository:
git clone https://github.com/yourusername/de-facto-checker.git cd de-facto-checker/src/backend -
Set up environment variables:
cp .env.example .env # Edit .env and add your PERPLEXITY_API_KEY -
Install dependencies and run:
uv run fastapi dev app/main.py
The server will start at
http://localhost:8000.
- Open Chrome and navigate to
chrome://extensions. - Enable Developer mode (toggle in the top right).
- Click Load unpacked.
- Select the
src/extensiondirectory from this project. - The De Facto Checker icon should appear in your toolbar.
- Ensure the backend server is running.
- Browse any website (news, blog, social media).
- Select text you want to verify.
- Right-click and select "Verify with De Facto Checker".
- The Side Panel will open with the verification result:
- Grounded Badge: Indicates if the claim is supported.
- Reasoning: An AI-generated explanation.
- Sources: Links to external articles confirming (or debunking) the claim.
This project is licensed under the MIT License - see the LICENSE file for details.