How chikkudunithin/content-verification-system works
VeriTube accepts a YouTube URL, retrieves its transcript, discovers and refines candidate claims, gathers web evidence, verifies claims, scores and summarizes the result, then stores it and presents it with history and export features. The graph preserves the documented agent/tool capability separately; the sampled pipeline excerpt does not show it being invoked. Edges reflect excerpted calls, SOURCE INDEX references, or README statements; unsampled frontend and backend behavior is represented only where documented.
Main entry points: verificationPipeline.js Verification orchestrator · App.jsx App state and requests · analyzeController.js Analysis and history routes · chains.js Refinement verification summary
Components 23
Web interface
- App state and requests
frontend/src/App.jsx - URL input
frontend/src/components/UrlInput.jsx - Loading view
frontend/src/components/LoadingScreen.jsx - Results and PDF
frontend/src/components/ResultsPanel.jsx - Claim card
frontend/src/components/ClaimCard.jsx - History panel
frontend/src/components/HistoryPanel.jsx
HTTP application
- Express server
backend/server.js - Analysis and history routes
backend/controllers/analyzeController.js
Verification workflow
- Verification orchestrator
backend/pipeline/verificationPipeline.js - Heuristic claim discovery
backend/pipeline/claimExtractor.js - Transcript retrieval
backend/services/transcriptService.js - Credibility scoring
backend/scoring/scoring.js
LLM and evidence
- Refinement verification summary
backend/langchain/chains.js - Structured output schemas
backend/langchain/schemas.js - Model provider
backend/langchain/modelProvider.js - Evidence search
backend/services/scrapingService.js - Tool-using verification agent
backend/langchain/verificationAgent.js - Agent tools
backend/langchain/tools.js
Stored analyses
- MongoDB analyses
backend/models/Analysis.js
Other components
- Video viewer
- YouTube transcripts
- DuckDuckGo and grounded search
- Configured chat model
Connections 23
- Video viewer → URL input: submits URL
README.md - App state and requests → URL input: renders
frontend/src/App.jsx - App state and requests → Loading view: shows while waiting
frontend/src/App.jsx - App state and requests → Results and PDF: renders results
frontend/src/App.jsx - Results and PDF → Claim card: renders claims
frontend/src/components/ResultsPanel.jsx - App state and requests → History panel: opens history
frontend/src/App.jsx - App state and requests → Analysis and history routes: requests analysis and history
frontend/src/App.jsx - Express server → Analysis and history routes: mounts API routes
backend/server.js - Analysis and history routes → Verification orchestrator: runs analysis
backend/controllers/analyzeController.js - Verification orchestrator → Transcript retrieval: fetches transcript
backend/pipeline/verificationPipeline.js - Transcript retrieval → YouTube transcripts: retrieves captions
README.md - Verification orchestrator → Heuristic claim discovery: finds candidates
backend/pipeline/verificationPipeline.js - Verification orchestrator → Refinement verification summary: refines verifies summarizes
backend/pipeline/verificationPipeline.js - Verification orchestrator → Evidence search: fetches evidence
backend/pipeline/verificationPipeline.js - Evidence search → DuckDuckGo and grounded search: searches web
README.md - Verification orchestrator → Credibility scoring: computes score
backend/pipeline/verificationPipeline.js - Refinement verification summary → Structured output schemas: validates outputs
backend/langchain/chains.js - Refinement verification summary → Model provider: gets chat model
backend/langchain/chains.js - Model provider → Configured chat model: calls configured model
README.md - Analysis and history routes → MongoDB analyses: creates and queries
backend/controllers/analyzeController.js - Tool-using verification agent → Agent tools: uses tools
backend/langchain/verificationAgent.js - Agent tools → Evidence search: searches evidence
backend/langchain/tools.js - Agent tools → Transcript retrieval: fetches transcript
backend/langchain/tools.js