Inspiration

I built this because I was frustrated with the amount of misinformation online. I was in the habit of using Perplexity to verify claims anyway so I decided to improve the UX by making it two clicks away.

What it does

Fact Checker is a Chrome extension that lets you instantly verify any claim on the web. Simply highlight the suspicious claim, right-click and select "Fact Check", and the extension sends that text to Perplexity's API for verification. It then displays the verdicts alongside an explanation and citation in a clean, unobtrusive UI overlay so you never have to leave the page.

How we built it

I built Fact Checker as a Chrome extension using TypeScript and vanilla CSS. The architecture consists of two main components: a background script that handles context menu integration alongside the Perplexity API service layer, and a content script that manages the UI overlay.

Challenges we ran into

Getting Sonar to reply in a consistent format that would allow me to extract the verdict reliably.

What I learned

It was my first time building a Chrome Extension and so I enjoyed learning a lot about Chrome extension APIs.

Share this project:

Updates