KhataGPT is an intelligent document analysis platform that leverages Google's Gemini AI to transform how users interact with their documents. Extract, analyze, and chat with your documents using state-of-the-art AI technology.
- 🔍 Multi-format document support (PDF, DOC, Images)
- 🤖 AI-powered text extraction & analysis
- 📋 Smart categorization & tagging
- 🖼️ Advanced image processing
- 📝 Automatic metadata generation
- 🧠 Context-aware document conversations
- 🌐 Web search integration
- 📊 Structured data extraction
- 🎯 Precision question answering
- ✍️ Rich markdown responses
- 🔎 Full-text semantic search
- 📱 Mobile-responsive interface
- 🔄 Real-time sync
- 📊 Analytics dashboard
- 🔐 Secure document handling
|
|
- 🐍 Python 3.8+
- 📦 Node.js 14+
- 🍃 MongoDB 4.4+
- 🔑 Gemini API Key
- Clone & Setup
git clone https://github.com/KhataGPT/KhataGPT.git
cd KhataGPT- Backend Setup
cd backend
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
uvicorn app.main:app --reload- Frontend Setup
cd frontend
npm install
npm start- Environment Configuration
# Backend .env
GEMINI_API_KEY=your_key_here
MONGODB_URI=mongodb://localhost:27017/
MONGODB_DB_NAME=KhataGPTv2
# Frontend .env
REACT_APP_API_URL=http://localhost:8000| Endpoint | Method | Description |
|---|---|---|
/api/v1/documents |
POST | Upload document |
/api/v1/documents |
GET | List documents |
/api/v1/chat |
POST | Send message |
/api/v1/chat/{id} |
GET | Chat history |
- Fork repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push branch (
git push origin feature/AmazingFeature) - Open Pull Request
- 🛡️ Input sanitization
- 🔐 JWT authentication
- 📝 Input validation
- 🚫 Rate limiting
- 🔍 Security headers
MIT License • View License
- 📧 Email: codehimanshu24@gmail.com
- 💻 GitHub Issues

