How tusharpawar1241/factchecker works
Verifai is a claim-verification app whose main workflow submits a claim (optionally with media), researches it through a server-side endpoint, streams progress and a verdict to the interface, and presents evidence with an exportable PDF report. The README documents the backend’s search, content-retrieval, and LLM stages and its provider integrations; the endpoint source was not excerpted, so those internal relationships are documented rather than independently verified. The graph also includes the app’s localization and setup/theme capabilities.
Main entry points: Dashboard.tsx Claim Dashboard · verify.js Verify Endpoint · researcher.ts Research Client · ApiSetupGuide.tsx API Setup Guide
Components 19
Verification Interface
- React Entry
index.tsx - App Shell
App.tsx - Claim Dashboard
components/Dashboard.tsx - Research Client
services/researcher.ts
Research Backend
- Verify Endpoint
api/verify.js - Web Search
api/verify.js - Page Retrieval
api/verify.js - Verdict Analysis
api/verify.js
Evidence & Reports
- Research Logs
components/ResearchLogs.tsx - Verdict View
components/VerdictCard.tsx - PDF Export
components/VerdictCard.tsx
App Experience
- Localization
i18n.ts - Language Toggle
components/LanguageToggle.tsx - API Setup Guide
components/ApiSetupGuide.tsx - Theme Toggle
components/ThemeToggle.tsx
Other components
- User
- Tavily
- Jina
- Groq LLM
Connections 20
- User → Claim Dashboard: submits claim
README.md - React Entry → App Shell: mounts
index.tsx - App Shell → Claim Dashboard: renders
App.tsx - Claim Dashboard → Research Client: starts research
components/Dashboard.tsx - Research Client → Verify Endpoint: POSTs claim
services/researcher.ts - Verify Endpoint → Web Search: orchestrates
README.md - Verify Endpoint → Page Retrieval: orchestrates
README.md - Verify Endpoint → Verdict Analysis: orchestrates
README.md - Web Search → Tavily: searches sources
README.md - Page Retrieval → Jina: retrieves content
README.md - Verdict Analysis → Groq LLM: evaluates evidence
README.md - Verify Endpoint → Research Client: streams results
README.md - Research Client → Claim Dashboard: returns verdict
services/researcher.ts - Claim Dashboard → Research Logs: passes progress
components/Dashboard.tsx - Claim Dashboard → Verdict View: renders result
components/Dashboard.tsx - Verdict View → PDF Export: exports report
components/VerdictCard.tsx - Claim Dashboard → Language Toggle: renders toggle
components/Dashboard.tsx - Language Toggle → Localization: changes language
components/LanguageToggle.tsx - API Setup Guide → Research Client: configures access
components/ApiSetupGuide.tsx - API Setup Guide → Theme Toggle: renders toggle
components/ApiSetupGuide.tsx