DeepTruth

๐Ÿ” DeepTruth - AI-Powered Fact-Checking Platform

DeepTruth Logo

Unveiling Truth in the Digital Age

image

Frontend Link: https://github.com/jaydoshi2/Deeptruth-Frontend

Backend Link: https://github.com/jaydoshi2/Deeptruth-Backend

๐ŸŒŸ Overview

DeepTruth is an innovative fact-checking platform that combines the power of Googleโ€™s Gemini AI and DistilBERT to provide real-time analysis of news articles and claims. Our Chrome extension makes it easy to verify information while browsing the web.

๐ŸŽฏ Key Features

๐Ÿ› ๏ธ Tech Stack

๐Ÿš€ Getting Started

Prerequisites

Backend Setup

  1. Clone the repository:
    git clone https://github.com/yourusername/deeptruth.git
    cd deeptruth/backend
    
  2. Create and activate virtual environment:
    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install dependencies:
    pip install -r requirements.txt
    
  4. Set up environment variables:
    cp .env.example .env
    # Edit .env with your API keys and settings
    
  5. Run migrations:
    python manage.py makemigrations
    python manage.py migrate
    
  6. Start the server:
    python manage.py runserver
    

Frontend Setup

  1. Navigate to the Deeptruth directory:
    cd ../Deeptruth
    
  2. Install dependencies:
    npm install
    
  3. Start the development server:
    npm run dev -- --host
    

Chrome Extension Setup

  1. Open Chrome and go to chrome://extensions/
  2. Enable โ€œDeveloper modeโ€
  3. Click โ€œLoad unpackedโ€ and select the Chrome Extension directory
  4. The DeepTruth icon should appear in your Chrome toolbar

๐Ÿ”ง Configuration

Environment Variables

Create a .env file in the backend directory with:

GEMINI_API_KEY=your_gemini_api_key
MONGODB_URI=your_mongodb_uri
DEBUG=True

๐Ÿ“Š API Endpoints

๐Ÿค 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.

๐Ÿ™ Acknowledgments

๐Ÿ“ž Support

For support, email support@deeptruth.com or join our Slack channel.


Made with โค๏ธ by the DeepTruth Team

ยฉ 2024 DeepTruth. All rights reserved.