LexiAI is an intelligent PDF assistant that helps you work smarter with documents. Upload PDFs, chat with them using AI, organize your documents in collections, and get instant answers to your questions. Built with modern web technologies for a smooth user experience.
- Smart PDF Chat – Upload any PDF and ask questions about it. Get accurate answers from your documents using AI.
- Document Collections – Organize your PDFs into color-coded collections. Perfect for organizing research papers, books, or work documents.
- Intelligent Search – Find documents quickly with smart search across all your uploaded files.
- Note Taking – Take notes while reading and save them for later. All your notes are organized and easy to find.
- Chat History – Keep track of all your conversations with each document. Never lose important insights.
- User Management – Secure login system with personal document libraries for each user.
- Cloud Storage – All your documents are safely stored in the cloud and accessible from anywhere.
- Responsive Design – Works great on desktop, tablet, and mobile devices.
- Sign Up – Create your free account to get started
- Upload PDFs – Drag and drop your documents or browse to upload
- Organize – Create collections to group related documents
- Chat – Ask questions about your documents and get AI-powered answers
- Take Notes – Save important insights and thoughts while reading
- Search – Find any document or conversation quickly
- Frontend: React.js, TailwindCSS, Vite
- Backend: Express.js, Node.js
- Database: MongoDB
- AI: Google Gemini AI
- File Storage: Cloudinary
- Authentication: JWT Tokens
(Include images of the UI here)
Clone the repository:
git clone https://github.com/AdityaKrSingh26/LexiAI.git
cd LexiAIcd server
npm installCreate a .env file in the server directory:
MONGODB_URI=your_mongodb_connection_string
GEMINI_API_KEY=your_gemini_api_key
CLOUDINARY_CLOUD_NAME=your_cloudinary_name
CLOUDINARY_API_KEY=your_cloudinary_key
CLOUDINARY_API_SECRET=your_cloudinary_secret
JWT_SECRET=your_jwt_secret
Start the server:
npm startcd client
npm install
npm run devThe app will be running at http://localhost:5173
- File Upload: Drag & drop PDF upload with Cloudinary integration
- Collections System: Organize documents with custom colors and categories
- Search & Filter: Find documents quickly with text search and filters
- Document Analytics: Track usage statistics and document insights
- Context-Aware Responses: AI understands document content and provides relevant answers
- Chat History: All conversations are saved and can be resumed anytime
- Multi-Document Support: Switch between different documents seamlessly
- Real-time Processing: Fast AI responses with loading indicators
- Responsive Design: Works on all screen sizes with mobile-first approach
- Dark Theme: Modern dark UI for comfortable reading
- Loading States: Smooth animations and loading indicators throughout
- Error Handling: User-friendly error messages and recovery options
- JWT Authentication: Secure user sessions with token-based auth
- Rate Limiting: API protection against spam and abuse
- Input Validation: Server-side validation for all user inputs
- CORS Configuration: Proper cross-origin request handling
- Create Account – Sign up with your email and password
- Upload Documents – Click "Upload Document" and select your PDF files
- Organize – Create collections and add documents to them
- Start Chatting – Click on any document and start asking questions
- Take Notes – Use the notes feature to save important information
- Manage Library – View all your documents in the dashboard
- Full-Stack Development – Built from scratch with modern React frontend and Express.js backend. Shows proficiency in both client and server-side development.
- AI Integration – Implemented Google Gemini AI for document querying. Demonstrates ability to work with AI APIs and handle complex data processing.
- Database Design – Designed MongoDB schemas for users, documents, chats, and collections. Shows understanding of NoSQL database architecture.
- File Handling – Implemented secure file upload, processing, and storage with Cloudinary. Shows expertise in handling file operations.
- State Management – Used Zustand for efficient state management across the application. Demonstrates modern React patterns.
- User Authentication – Built secure login/signup system with JWT tokens and password hashing. Shows security best practices.
- Responsive UI – Crafted modern, mobile-first interface with TailwindCSS. Demonstrates frontend design skills.