How sudhakar-2005/muti-factor-fake-news-detection-system-with-source-trust-score works
TrustGuard is a multi-factor fake-news detection product with a web application and browser extension. The main workflow accepts article text or a URL, optionally scrapes the article, analyzes it, and presents trust results; users can compare sources and revisit saved analyses. Separate product areas cover threat intelligence, dashboards, API access, account settings, and notifications/integrations. The excerpts show routing and selected calls, but most extension and feature implementation was not sampled, so their connections are omitted or marked unverified.
Main entry points: App.tsx Application Router · Dashboard.tsx Public Dashboard · client.ts Supabase Client · Index.tsx Article Analyzer
Components 24
Web Application
- Application Router
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx
Analysis Workflow
- Article Analyzer
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Index.tsx - Article Scraper
trustworthy-news-finder-main/trustworthy-news-finder-main/supabase/functions/scrape-article/index.ts - Trust Analysis
trustworthy-news-finder-main/trustworthy-news-finder-main/src/lib/analysis.ts - Source Comparison
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Compare.tsx - AI Fact Check
trustworthy-news-finder-main/trustworthy-news-finder-main/supabase/functions/ai-fact-check/index.ts - Analysis API
trustworthy-news-finder-main/trustworthy-news-finder-main/supabase/functions/analyze-api/index.ts
Threat Intelligence
- Public Dashboard
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Dashboard.tsx - Threat Map
trustworthy-news-finder-main/trustworthy-news-finder-main/src/components/ThreatMap.tsx - Threat Analytics
trustworthy-news-finder-main/trustworthy-news-finder-main/src/components/ThreatAnalyticsDashboard.tsx - Threat Intelligence
trustworthy-news-finder-main/trustworthy-news-finder-main/supabase/functions/threat-intelligence/index.ts - Leaderboard
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Leaderboard.tsx
Accounts and History
- Sign In
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Auth.tsx - Authentication State
trustworthy-news-finder-main/trustworthy-news-finder-main/src/contexts/AuthContext.tsx - Analysis History
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/History.tsx - Account Settings
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Settings.tsx - Administration
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Admin.tsx
Integrations
- API Documentation
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/ApiDocs.tsx - Browser Extension
trustworthy-news-finder-main/trustworthy-news-finder-main/public/extension/content.js - Notification Functions
trustworthy-news-finder-main/trustworthy-news-finder-main/supabase/functions/send-threat-alert/index.ts - Webhook Delivery
trustworthy-news-finder-main/trustworthy-news-finder-main/supabase/functions/send-webhook/index.ts - Supabase Client
trustworthy-news-finder-main/trustworthy-news-finder-main/src/integrations/supabase/client.ts
Other components
- Reader
- Supabase Data Store
Connections 25
- Reader → Application Router: opens
- Application Router → Article Analyzer: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Application Router → Sign In: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Application Router → Analysis History: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Application Router → Public Dashboard: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Application Router → Account Settings: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Application Router → Source Comparison: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Application Router → Leaderboard: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Application Router → Administration: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Application Router → API Documentation: routes to
trustworthy-news-finder-main/trustworthy-news-finder-main/src/App.tsx - Article Analyzer → Article Scraper: requests scrape
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Index.tsx - Article Analyzer → Trust Analysis: analyzes content
- Source Comparison → Article Scraper: requests scrape
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Compare.tsx - Source Comparison → Trust Analysis: analyzes content
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Compare.tsx - Public Dashboard → Threat Map: renders
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Dashboard.tsx - Public Dashboard → Threat Analytics: renders
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Dashboard.tsx - Sign In → Authentication State: signs in through
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Auth.tsx - Administration → Supabase Client: queries
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Admin.tsx - Public Dashboard → Supabase Client: queries
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/Dashboard.tsx - Analysis History → Supabase Client: reads and deletes
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/History.tsx - Supabase Client → Supabase Data Store: connects
- API Documentation → Threat Intelligence: documents endpoint
trustworthy-news-finder-main/trustworthy-news-finder-main/src/pages/ApiDocs.tsx - Browser Extension → Analysis API: may invoke
- Notification Functions → Supabase Data Store: may use
- Webhook Delivery → Supabase Data Store: may use