|
1 | 1 | --- |
2 | | -title: UnCovered | Real-Time Fact-Checking for Text, Images & Screenshots |
3 | | -description: 2-click truth for anything you see online — text, images, screenshots, and links — without leaving the page. |
4 | | -sidebar_position: 7 |
5 | | -keywords: [fact-checking, image verification, chrome extension, misinformation, sonar, perplexity, uncovered] |
| 2 | +title: UnCovered | Real-Time Fact-Checking Chrome Extension |
| 3 | +description: A Chrome extension that brings real-time fact-checking to anything you see online in just 2 clicks, powered by Perplexity's Sonar API for instant verification |
| 4 | +sidebar_position: 23 |
| 5 | +keywords: [uncovered, fact-checking, chrome-extension, misinformation, sonar, perplexity, image-verification, text-analysis] |
6 | 6 | --- |
7 | 7 |
|
8 | | -## UnCovered: three clicks, instant truth for anything you see on the we |
9 | | - |
10 | | -**UnCovered** is a powerful Chrome extension that verifies **text, images, websites, and screenshots** in real-time—right where you browse. Built on Perplexity’s Sonar API, it provides instant truth with citations, verdicts, and deep analysis using just a right-click. |
| 8 | +**UnCovered** is a Chrome extension that verifies text, images, websites, and screenshots in real-time—right where you browse. Built on Perplexity's Sonar API, it provides instant truth with citations, verdicts, and deep analysis using just a right-click, without breaking your browsing flow. |
11 | 9 |
|
12 | 10 | ## Features |
13 | 11 |
|
14 | | -- **3-Click Verification**: Select → Right-click → Verify (Text, Image, Link, or Screenshot) |
15 | | -- **Text Analysis Modes**: Quick Search, Fact-Check, Deep Research |
16 | | -- **Image Fact-Checking**: Reverse image analysis and multimodal claim verification |
17 | | -- **Screenshot & Video Frame Capture**: Analyze visuals like infographics, memes, or chart snapshots instantly |
18 | | -- **Citation-Backed Results**: All answers include sources and fact-verdicts (True/False/Unconfirmed) |
19 | | -- **Instant Rebuttal Generator**: Create concise, fact-based replies to misinformation |
20 | | -- **No Tab Switching**: Stay on the same page — no copy-paste, no new tabs |
| 12 | +* **3-Click Verification**: Select → Right-click → Verify (Text, Image, Link, or Screenshot) |
| 13 | +* **Text Analysis Modes**: Quick Search, Fact-Check, and Deep Research capabilities |
| 14 | +* **Image Fact-Checking**: Reverse image analysis and multimodal claim verification |
| 15 | +* **Screenshot & Video Frame Capture**: Analyze visuals like infographics, memes, or chart snapshots |
| 16 | +* **Citation-Backed Results**: All answers include sources and fact-verdicts (True/False/Unconfirmed) |
| 17 | +* **Instant Rebuttal Generator**: Create concise, fact-based replies to misinformation |
| 18 | +* **Zero-Friction UX**: Stay on the same page — no copy-paste, no new tabs required |
| 19 | + |
| 20 | +## Prerequisites |
| 21 | + |
| 22 | +* Chrome browser |
| 23 | +* Node.js 16+ and npm |
| 24 | +* MongoDB database |
| 25 | +* Cloudinary account for image storage |
| 26 | +* Perplexity API key (Sonar Pro and Deep Research access) |
| 27 | +* Google OAuth credentials |
| 28 | + |
| 29 | +## Installation |
| 30 | + |
| 31 | +```bash |
| 32 | +# Clone the repository |
| 33 | +git clone https://github.com/aayushsingh7/UnCovered.git |
| 34 | +cd UnCovered |
| 35 | + |
| 36 | +# Install dependencies |
| 37 | +npm install |
21 | 38 |
|
22 | | -## How it uses Sonar |
| 39 | +# Build the Chrome extension |
| 40 | +npm run build |
| 41 | +``` |
23 | 42 |
|
24 | | -UnCovered leverages the Perplexity Sonar API in three core modes: |
| 43 | +## Configuration |
25 | 44 |
|
26 | | -- `sonar-pro`: Powers **Quick Search** and **Fact-Check** for fast, citation-backed answers |
27 | | -- `sonar-deep-research`: Used for **in-depth analysis** and **multi-source context** |
28 | | -- Input sources include selected text, right-clicked images, URLs, or screenshots captured directly in the browser |
| 45 | +Set up your environment variables: |
29 | 46 |
|
30 | | -Each user interaction is intelligently routed to the appropriate Sonar API mode to ensure high accuracy and minimal latency. |
| 47 | +```ini |
| 48 | +PERPLEXITY_API_KEY=your_sonar_api_key |
| 49 | +MONGODB_URI=your_mongodb_connection_string |
| 50 | +CLOUDINARY_URL=your_cloudinary_credentials |
| 51 | +GOOGLE_OAUTH_CLIENT_ID=your_google_oauth_id |
| 52 | +``` |
31 | 53 |
|
32 | 54 | ## Usage |
33 | 55 |
|
34 | | -1. **Text/Link Verification** |
| 56 | +1. **Text/Link Verification**: |
35 | 57 | - Select text or right-click a link |
36 | 58 | - Choose Quick Search / Fact-Check / Deep Research |
37 | 59 | - Get trusted results with verdicts and citations |
38 | | - |
39 | 60 |
|
40 | | -2. **Image Verification** |
| 61 | +2. **Image Verification**: |
41 | 62 | - Right-click any image |
42 | 63 | - Choose from Quick Search or Fact-Check |
43 | 64 | - Detect misinformation and visual manipulation |
44 | | - |
45 | 65 |
|
46 | | -3. **Screenshot/Infographic Analysis** |
| 66 | +3. **Screenshot/Infographic Analysis**: |
47 | 67 | - Click UnCovered icon in the toolbar |
48 | | - - Use "Capture Screen" to analyze visual content (e.g., memes, videos, infographics) |
49 | | - |
50 | | - |
51 | | -4. **Get Instant Rebuttal** |
52 | | - - Auto-generate a short, human-like response you can post to correct misinformation |
53 | | - |
54 | | - |
55 | | - |
56 | | -## Prompt Modes |
57 | | - |
58 | | -| Mode | Description | Use Case | |
59 | | -|------|-------------|----------| |
60 | | -| `sonar-pro` | Default fast mode | Quick Search & Fact Verdicts | |
61 | | -| `sonar-deep-research` | Deep multi-source understanding | Thorough claim analysis | |
62 | | -| Screenshot Upload | Multimodal image understanding | Infographics, memes, video frames | |
63 | | - |
64 | | -## Tech Stack |
65 | | - |
66 | | -- **Frontend**: Vanilla JavaScript + HTML (Chrome Extension APIs) |
67 | | -- **Backend**: Node.js + Express |
68 | | -- **Database**: MongoDB |
69 | | -- **Auth**: Google OAuth |
70 | | -- **Cloud Storage**: Cloudinary (for image uploads) |
71 | | -- **AI Engine**: Perplexity Sonar Pro + Deep Research APIs |
| 68 | + - Use "Capture Screen" to analyze visual content |
| 69 | + |
| 70 | +4. **Get Instant Rebuttal**: |
| 71 | + - Auto-generate fact-based responses to correct misinformation |
| 72 | + |
| 73 | +## Code Explanation |
| 74 | + |
| 75 | +* **Frontend**: Vanilla JavaScript Chrome extension with context menu integration |
| 76 | +* **Backend**: Node.js Express server handling API requests and user authentication |
| 77 | +* **AI Integration**: Perplexity Sonar Pro and Deep Research APIs for intelligent fact-checking |
| 78 | +* **Image Processing**: Cloudinary integration for screenshot and image analysis |
| 79 | +* **Database**: MongoDB for user data and verification history |
| 80 | +* **Authentication**: Google OAuth for secure user management |
| 81 | +* **Multimodal Analysis**: Support for text, images, screenshots, and video frames |
| 82 | + |
| 83 | +## Technical Implementation |
| 84 | + |
| 85 | +UnCovered leverages Perplexity Sonar API in three core modes: |
| 86 | + |
| 87 | +```javascript |
| 88 | +// Quick Search and Fact-Check with Sonar Pro |
| 89 | +const quickResponse = await perplexityClient.chat.completions.create({ |
| 90 | + model: "sonar-pro", |
| 91 | + messages: [{ role: "user", content: factCheckPrompt }] |
| 92 | +}); |
| 93 | + |
| 94 | +// Deep Research for comprehensive analysis |
| 95 | +const deepResponse = await perplexityClient.chat.completions.create({ |
| 96 | + model: "sonar-deep-research", |
| 97 | + messages: [{ role: "user", content: deepAnalysisPrompt }] |
| 98 | +}); |
| 99 | +``` |
| 100 | + |
| 101 | +## Demo Video |
| 102 | + |
| 103 | +<iframe |
| 104 | + className="w-full aspect-video rounded-xl" |
| 105 | + src="https://www.youtube.com/embed/WJxW91eu0fs" |
| 106 | + title="UnCovered Demo" |
| 107 | + frameBorder="0" |
| 108 | + allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" |
| 109 | + allowFullScreen |
| 110 | +></iframe> |
72 | 111 |
|
73 | 112 | ## Links |
74 | 113 |
|
75 | 114 | - [GitHub Repository](https://github.com/aayushsingh7/UnCovered) |
76 | | -- [Live Demo Video](https://youtu.be/WJxW91eu0fs) |
| 115 | +- [Live Demo](https://uncovered.vercel.app) |
77 | 116 |
|
0 commit comments