Frontend Link: https://github.com/jaydoshi2/Deeptruth-Frontend
Backend Link: https://github.com/jaydoshi2/Deeptruth-Backend
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.
- Real-time Analysis: Instant fact-checking of any article title
- Dual AI Model: Combines Gemini AI and DistilBERT for enhanced accuracy
- Smart Weighting: 70% Gemini, 30% DistilBERT for optimal results
- Chrome Extension: Seamless integration with your browsing experience
- Detailed Reports: Comprehensive analysis with confidence scores
- Source Verification: Cross-references multiple news sources
- Frontend: React + Vite
- Backend: Django + Django REST Framework
- AI Models:
- Google Gemini Pro
- Fine-tuned DistilBERT
- Database: MongoDB
- Browser Extension: Chrome Extension API
- Python 3.8+
- Node.js 16+
- MongoDB
- Chrome Browser
- Google Gemini API Key
- Clone the repository:
git clone https://github.com/yourusername/deeptruth.git
cd deeptruth/backend- Create and activate virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Set up environment variables:
cp .env.example .env
# Edit .env with your API keys and settings- Run migrations:
python manage.py makemigrations
python manage.py migrate- Start the server:
python manage.py runserver- Navigate to the Deeptruth directory:
cd ../Deeptruth- Install dependencies:
npm install- Start the development server:
npm run dev -- --host- Open Chrome and go to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the
Chrome Extensiondirectory - The DeepTruth icon should appear in your Chrome toolbar
Create a .env file in the backend directory with:
GEMINI_API_KEY=your_gemini_api_key
MONGODB_URI=your_mongodb_uri
DEBUG=TruePOST /api/verify-claim/: Verify an article titleGET /api/false-news/: List all analyzed claims
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google Gemini AI Team
- Hugging Face for DistilBERT
- Django and React communities
- All contributors and supporters
For support, email support@deeptruth.com or join our Slack channel.
Made with ❤️ by the DeepTruth Team
© 2024 DeepTruth. All rights reserved.
