Gemini 3 Hackathon Project - Fighting misinformation with AI-powered claim verification and real-time web grounding.
The AI-Powered Fact Checker is a full-stack web application that leverages Gemini 3 with Google Search Grounding to automatically verify factual claims from text or image inputs. Users receive instant credibility scores, detailed verdicts (TRUE/FALSE/UNSURE), and cited sourcesβall powered by cutting-edge AI.
- β Text Analysis: Paste articles, social media posts, or any text for instant fact-checking
- β Image Analysis: Upload screenshots or images containing claims
- β
Gemini 3 Integration: Powered by
gemini-3-flash-previewfor state-of-the-art analysis - β Google Search Grounding: Real-time web verification with cited sources
- β Search Query Transparency: View the exact Google Search queries Gemini used
- β Credibility Scoring: Algorithmic truthfulness score (0-100%)
- β Premium UI: Modern, responsive design with smooth animations
- β Structured Output: JSON-formatted claims with verdicts and evidence
Misinformation is a global crisis affecting elections, public health, and social cohesion. Our tool empowers users to:
- Verify claims before sharing on social media
- Educate themselves with evidence-based explanations
- Combat the spread of false information
βββββββββββββββββββββββββββββββββββββββ
β React Frontend (Vite + TypeScript) β
β - Premium UI with Tailwind CSS β
β - Framer Motion animations β
βββββββββββββββββ¬ββββββββββββββββββββββ
β HTTP/JSON
βΌ
βββββββββββββββββββββββββββββββββββββββ
β FastAPI Backend (Python 3.12+) β
β - Modular architecture β
β - Pydantic validation β
βββββββββββββββββ¬ββββββββββββββββββββββ
β
βΌ
βββββββββββββββββββββββββββββββββββββββ
β Gemini 3 API (gemini-3-flash-preview)β
β + Google Search Grounding β
βββββββββββββββββββββββββββββββββββββββ
For detailed architecture documentation, see ARCHITECTURE.md
- Python 3.12+
- Node.js 18+
- Gemini API Key (get one at ai.google.dev)
git clone https://github.com/your-org/ai-powered-fact-checker.git
cd ai-powered-fact-checkercd backend
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txtCreate a .env file:
cp .env.example .envEdit .env and add your Gemini API key:
GEMINI_API_KEY=your_api_key_hereStart the backend:
uvicorn app.main:app --reloadThe API will run at http://localhost:8000
cd frontend
npm installCreate a .env file:
cp .env.example .envEdit .env:
VITE_API_URL=http://localhost:8000Start the frontend:
npm run devThe app will open at http://localhost:5173
- ARCHITECTURE.md - System design and technical details
- DEPLOYMENT.md - Full local and production deployment guide
- FEATURES.md - Feature roadmap and implementation status
- CONTRIBUTING.md - How to contribute to the project
- ISSUES.md - Planned GitHub issues and enhancements
- GOOGLE_SEARCH_GROUNDING.md - Deep dive into grounding implementation
- Backend README - Backend-specific documentation
- Frontend README - Frontend-specific documentation
- Paste an article or social media post
- Click "Analyze"
- View credibility score, claim verdicts, and sources
- Upload a screenshot containing claims
- Gemini extracts text and identifies claims
- Google Search verifies each claim
- View results with cited sources
πΉ Watch the full demo video β (Coming soon)
- FastAPI - High-performance Python web framework
- Gemini 3 API -
gemini-3-flash-previewfor claim extraction and verification - Google Search Grounding - Real-time web verification
- Pydantic - Data validation and settings management
- Python 3.12+ - Modern Python with type hints
- React 18 - Component-based UI library
- Vite - Next-generation build tool
- TypeScript - Type-safe JavaScript
- Tailwind CSS - Utility-first styling
- Framer Motion - Smooth animations
- Radix UI - Accessible component primitives
cd backend
pytest tests/ --cov=appcd frontend
npm run testnpm run test:e2e- Connect your GitHub repository
- Set environment variables:
GEMINI_API_KEYDEBUG=False
- Deploy!
- Connect GitHub repository to Vercel
- Set
VITE_API_URLto your production backend URL - Deploy!
Live Demo: Coming soon after deployment
We welcome contributions! Please read our Contributing Guidelines before submitting PRs.
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature-name - Make your changes
- Write tests
- Submit a pull request
- Backend: Black formatting, type hints, docstrings
- Frontend: ESLint + Prettier, TypeScript strict mode
- Commits: Conventional Commits format
This project is licensed under the MIT License - see the LICENSE file for details.
A-Justice-League - Gemini 3 Hackathon Participants
- [Team Member 1] - Backend Development
- [Team Member 2] - Frontend Development
- [Team Member 3] - AI/ML Engineering
- [Your Name] - Full Stack & Project Lead
- Google for the Gemini API and hackathon opportunity
- FastAPI and React communities for excellent documentation
- All open-source contributors whose libraries made this possible
- GitHub Issues: Open an issue
- Email: your-team@example.com
- Twitter: @YourTeamHandle
Like what you see? Give us a β on GitHub to show your support!
Made with β€οΈ for the Gemini 3 Global Hackathon