A powerful browser-based fact-checking tool that helps users verify information in real-time.
- Real-time Fact Checking: Analyze statements directly from web pages
- Browser Extension: Seamless integration with your browsing experience
- AI-Powered Analysis: Utilizes advanced NLP for accurate fact verification
- User-Friendly Interface: Clean, modern Next.js frontend
- Privacy-Focused: Local processing capabilities using Ollama
The project consists of three main components:
- Chrome/Firefox compatible extension
- Real-time content analysis
- Sentence tokenization
- OAuth authentication
- Fast and efficient fact-checking server
- DuckDuckGo integration for web searches
- Ollama integration for AI processing
- RESTful API endpoints
- Modern Next.js application
- Responsive UI with Tailwind CSS
- Real-time results display
- Interactive fact-checking interface
- Node.js (v16 or higher)
- Python 3.8+
- Ollama installed locally
- Clone the repository
git clone https://github.com/yourusername/FactChecker.git
cd FactChecker
- Install backend dependencies
pip install -r requirements.txt
- Install frontend dependencies
cd frontend/fact-checker-app
npm install
npm install lucide-react
- Install browser extension dependencies
cd ../../client
npm install
- Set up your environment variables
- Configure the Ollama model settings
- Set up DuckDuckGo API credentials (if required)
cd server
python "duckduckgo ollama server.py"
python fact_check_server.py
cd frontend/fact-checker-app
npm run dev
- Open your browser's extension management page
- Enable developer mode
- Load unpacked extension from the client directory
The server exposes the following endpoints:
POST /check-fact
: Submit a statement for fact-checkingGET /results
: Retrieve fact-checking resultsPOST /feedback
: Submit user feedback
Contributions are welcome! Please feel free to submit a Pull Request.
- 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.
- Your Name - Initial work - @elee012345
- Thanks to the Ollama team for their amazing AI models
- The Next.js team for their fantastic framework
- All contributors and supporters of this project
old readme in case i missed some things here
download and install ollama ollama pull mistral pip install requirements.txt (which we will totally have soon) install npm npm install lucide-react probably some other things
need to start multiple services IMPORTANT: RUN THESE IN ORDER python duckduckgo ollama server.py python fact_check_server.py npm run dev in fact-checker-app 😛