โ๏ธ Veritas - Fact Check Copilot
A rigorous AI fact-checking assistant powered by GitHub Copilot SDK.
Features
- ๐ฐ Clean, professional journalism-inspired UI
- โ๏ธ Typography: Merriweather (serif) for content, Inter (sans) for UI
- ๐ Fact-checking with structured verdicts (True/False/Mixed/Unverified)
- ๐ Confidence indicators and evidence citations
- ๐ URL input support for fact-checking article content
- ๐พ Persistent model selection via localStorage
Prerequisites
- Python 3.11+
- Node.js 18+
- GitHub Copilot CLI - Install guide
Quick Start
1. Start the Backend
cd backend
# Create virtual environment (first time only)
python -m venv venv
# Activate venv
.\venv\Scripts\activate # Windows
source venv/bin/activate # Linux/Mac
# Install dependencies
pip install -r requirements.txt
# Run server
uvicorn main:app --reload --port 80002. Start the Frontend
cd frontend
# Install dependencies (first time only)
npm install
# Run dev server
npm run dev3. Open Veritas
Navigate to http://localhost:5173 โ๏ธ
Testing
# Backend tests
cd backend
.\venv\Scripts\activate
pytest tests/ -v
# Frontend tests
cd frontend
npm test
# E2E tests
cd frontend
npx playwright install # first time
npx playwright testProject Structure
veritas/
โโโ backend/
โ โโโ main.py # FastAPI server
โ โโโ copilot_service.py # Copilot SDK wrapper
โ โโโ mock_copilot.py # Mock for testing
โ โโโ models.py # Pydantic schemas
โโโ frontend/
โโโ src/
โ โโโ App.jsx # Main app
โ โโโ index.css # Professional styling
โ โโโ components/ # React components
โโโ e2e/ # Playwright tests
Environment Variables
| Variable | Description | Default |
|---|---|---|
USE_MOCK_SDK |
Use mock instead of real SDK | false |
Set USE_MOCK_SDK=true for development without Copilot CLI.
License
MIT
On this page
Languages
Python46.3%JavaScript40.8%CSS12.2%HTML0.8%
Contributors
Created January 26, 2026
Updated January 26, 2026