AI-powered misinformation detection platform that analyzes content, verifies sources, and provides credibility scores to help users identify false information in real-time.
Trustify is a comprehensive misinformation detection platform that leverages AI to help users distinguish between factual and false information. Built with modern web technologies, it provides real-time analysis of content from URLs or text input, cross-referencing with credible sources and fact-checking organizations.
Developed during Intellithon 2025 on October 10th, 2025
- AI-Powered Analysis: Uses Perplexity AI models for intelligent content analysis
- Real-time Fact-Checking: Instant verification of claims and statements
- Source Verification: Cross-references with 60+ credible sources and fact-checkers
- Credibility Scoring: Quantitative assessment of content reliability
- URL & Text Analysis: Supports both web articles and direct text input
- Chrome Extension: Browser extension for seamless web page analysis
- Modern UI: Clean, responsive interface built with Tailwind CSS
- Authentication: Secure user accounts with email verification
- Analysis History: Track and review past fact-checking results
- Dashboard: Comprehensive overview of analysis results and statistics
- Settings: Customizable user preferences and profile management
- Streaming Responses: Real-time AI analysis with streaming updates
- Database Integration: Supabase for user data and analysis storage
- Email System: Automated verification and notification emails
- Token Management: Secure authentication with automatic cleanup
- Error Handling: Robust error management and retry mechanisms
- Frontend: Next.js 15, React 19, TypeScript
- Styling: Tailwind CSS 4, Radix UI components
- Backend: Next.js API routes, Supabase
- AI: Perplexity AI models (sonar-pro)
- Database: PostgreSQL (via Supabase)
- Authentication: Supabase Auth
- Email: Resend
- State Management: Zustand
- Forms: React Hook Form with Zod validation
- Node.js 18+
- npm or yarn
- Supabase account
- Perplexity AI API key
- Resend API key (for emails)
-
Clone the repository
git clone https://github.com/yourusername/trustify.git cd trustify -
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local
Fill in the following variables:
# Supabase NEXT_PUBLIC_SUPABASE_URL=your_supabase_url NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key SUPABASE_SERVICE_ROLE_KEY=your_service_role_key # AI AI_GATEWAY_API_KEY=your_ai_gateway_key # Email RESEND_API_KEY=your_resend_key
-
Set up Supabase
npx supabase start npx supabase db reset
-
Run the development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
- Sign up for a new account or sign in to existing account
- Navigate to the dashboard
- Enter content to analyze:
- Paste a URL to analyze a web article
- Type or paste text content directly
- Click Analyze to start the AI fact-checking process
- Review results including:
- Verdict (Verified/Not Verified)
- Credibility score
- Source citations
- Detailed analysis
- Install the extension from Chrome Web Store or load unpacked
- Browse any website and click the Trustify extension icon
- Choose analysis method:
- Analyze current page
- Analyze selected text
- Paste content manually
- View results in overlay or full analysis page
- Use keyboard shortcut (Ctrl+Shift+T) for quick analysis
- Analysis History: View all past analyses in the history section
- Settings: Customize your profile and preferences
- Export Results: Save analysis results for future reference
- Context Menu: Right-click integration for seamless analysis
- Real-time Overlay: Non-intrusive results on web pages
trustify/
βββ app/ # Next.js app directory
β βββ (auth)/ # Authentication pages
β βββ (protected)/ # Protected dashboard pages
β βββ api/ # API routes
βββ chrome-extension/ # Chrome browser extension
β βββ manifest.json # Extension configuration
β βββ popup.html # Extension popup interface
β βββ background.js # Background service worker
β βββ content.js # Content script for web pages
β βββ icons/ # Extension icons
βββ components/ # Reusable UI components
β βββ ai-elements/ # AI-specific components
β βββ ui/ # Base UI components
βββ features/ # Feature-based modules
β βββ analysis/ # Analysis functionality
β βββ auth/ # Authentication
β βββ profile/ # User profile
βββ lib/ # Utility libraries
β βββ services/ # External service integrations
β βββ supabase/ # Supabase configuration
βββ hooks/ # Custom React hooks
βββ types/ # TypeScript type definitions
βββ supabase/ # Database migrations and functions
The application uses Perplexity's sonar-pro model by default, optimized for news verification and fact-checking.
The platform maintains a database of 60+ credible sources including:
- International news agencies (Reuters, AP, AFP)
- Fact-checking organizations (Snopes, PolitiFact, FactCheck.org)
- Government sources (WHO, CDC, NASA)
- Academic sources (PubMed, Google Scholar)
- profiles: User account information
- analyses: Fact-checking results and history
- verification_tokens: Email verification and password reset tokens
This is a personal project, but suggestions and feedback are welcome! If you'd like to contribute:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE.md file for details.
-
Team Members:
- Beny Dishon K - Application Architecture, AI Development & Team Leader
- Thamileelan M - Application Frontend, Tech Stack Research
- Aravindhakshan R - Backend & DevOps Development
- Rajarajeswari V - UI/UX Design
- Abdul Rahman M - Chrome Extension & Research
-
Technologies: Built with Next.js, Supabase, Perplexity AI, and Tailwind CSS
-
Inspiration: Addressing the growing challenge of misinformation in digital media
For questions or feedback, please open an issue on GitHub or contact the development team.
Built with β€οΈ by Git Push Force