Skip to content

21prnv/SatyaCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SatyaCheck

SatyaCheck is a comprehensive fact-checking solution that helps users verify the authenticity of news articles and social media posts. It consists of two main components:

  • A web application (satyacheck-web)
  • A Chrome browser extension (satyacheck-extension)

Demo

demo-fall-in-love_48nBICFC.mp4

Features

  • Real-time content analysis using Google's Gemini AI
  • Authenticity scoring and verification
  • Cross-reference checking with reliable sources
  • Author verification
  • Source credibility assessment
  • Integration with Supabase for data persistence

How to run the Chrome Extension Locally

chromeextension.1.mp4

Get API keys here:

Project Structure

satyacheck/
├── satyacheck-web/     # Next.js web application
└── satyacheck-extension/  # Chrome extension

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn
  • Chrome browser (for extension)
  • Supabase account
  • Google AI (Gemini) API key

Environment Setup

Web Application (.env)

NEXT_PUBLIC_SUPABASE_URL=your_supabase_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
NEXT_PUBLIC_SITE_URL=your_dev_url

Chrome Extension (.env)

VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
VITE_GEMINI_API_KEY=your_gemini_api_key

Environment Variables Description

Web Application

  • NEXT_PUBLIC_SUPABASE_URL: Your Supabase project URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY: Your Supabase anonymous key
  • NEXT_PUBLIC_SITE_URL: Local development URL (e.g., "http://localhost:3000/")

Chrome Extension

  • VITE_SUPABASE_URL: Your Supabase project URL
  • VITE_SUPABASE_ANON_KEY: Your Supabase anonymous key
  • VITE_GEMINI_API_KEY: Your Google Gemini AI API key

Installation & Development

Web Application

  1. Navigate to the web application directory:
cd satyacheck-web
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev

The web application will be available at http://localhost:3000

Chrome Extension

  1. Navigate to the extension directory:
cd satyacheck-extension
  1. Install dependencies:
npm install
  1. Build the extension:
npm run build
  1. Load the extension in Chrome:
    • Open Chrome and go to chrome://extensions/
    • Enable "Developer mode"
    • Click "Load unpacked"
    • Select the dist folder from your extension directory

Using the Extension

  1. Click on the SatyaCheck extension icon in your Chrome toolbar
  2. Click "Analyze Page" to check the current webpage
  3. View the analysis results, including:
    • Authenticity score
    • Verification status
    • Supporting evidence
    • Related credible sources
    • Author verification
    • Cross-referenced sources

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For support, please open an issue in the GitHub repository or contact the maintainers.

Acknowledgments

  • Google Gemini AI for content analysis
  • Supabase for backend services
  • Next.js team for the web framework
  • Chrome Extensions team for documentation and APIs

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors