🇷🇴 Built for RISE Project Romania

AI-Powered
Fact-Checking for
Investigative Journalists

A Google Docs sidebar add-on that verifies claims against your own Drive evidence — documents, PDFs, spreadsheets, and YouTube videos — powered by Gemini 2.0 Flash.

Four Steps to Verified Facts

1
📝

Highlight a Claim

Select any text in your Google Doc that you want to verify

2
📁

Select Evidence

Browse and pick a Drive folder containing your evidence files

3
🤖

AI Verification

Gemini scans every file — docs, PDFs, images, YouTube captions

4
📊

Scored Results

Each source gets a 0–100 match score with exact supporting quotes

Built for Real Newsrooms

🧠

Native Multimodal AI

Images sent as base64 directly to Gemini — no lossy text transcription. Documents, images, and text analyzed together.

📺

YouTube Integration

Detects YouTube links in your evidence, auto-fetches video metadata and captions for cross-referencing claims.

📄

PDF OCR Engine

Clones PDFs with Google's native OCR on the backend for instant, accurate text extraction from scanned documents.

🗂️

Drive Folder Browser

Full navigation of My Drive and Shared Drive folders — not just starred items. Search and browse your entire archive.

🎯

Precision Scoring

Each evidence source scored 0–100 with exact quotes highlighted. Know immediately which documents support or contradict a claim.

Lightweight & Fast

Entire UI is under 32 KB — a single-file build via Vite. No heavy frameworks, no loading spinners for the interface.

Service Pipeline Architecture

📝
DocumentService
Extract highlighted text
📁
DriveService
Gather evidence files
📺
YouTubeService
Hydrate video links
🤖
GeminiService
AI scoring & analysis

What Powers RIFACTS

Google Apps Script V8
Gemini 2.0 Flash
Vite + Single-File Build
Vanilla JS / CSS
Google Drive API
YouTube Data API

Ready to Verify Your Sources?

RIFACTS is open-source and free. Clone the repo, deploy to your Google Workspace, and start fact-checking in minutes.

View on GitHub →