A minimal, modern AI-powered platform for intelligent document analysis and insights.
- π― Intelligent Document Analysis - Powered by OpenAI GPT-4
- π Multi-Format Support - PDF, TXT, DOC, DOCX
- π€ AI-Powered Chat - Ask questions about your documents
- π¨ Modern UI - Clean, minimal, dark theme
- π± Responsive Design - Works on all devices
- π Docker Ready - Easy deployment and scaling
- Frontend: React + Material-UI
- Backend: FastAPI + Python
- AI Engine: OpenAI GPT-4 with RAG
- Database: FAISS for document indexing
- Deployment: Docker + Docker Compose
- Docker (20.10+)
- Docker Compose (2.0+)
git clone <your-repo-url>
cd nexuscp env.example .env
# Edit .env with your OpenAI API keydocker-compose up -d --build- Frontend: https://room-xi-liard.vercel.app/
- Backend API: https://room-production-3918.up.railway.app/
OPENAI_API_KEY=your-api-key-here
API_HOST=0.0.0.0
API_PORT=8000POST /upload- Upload documentsPOST /chat- Chat with AI about documentsGET /health- Health checkPOST /set-openai-key- Configure API key
- Replace
frontend/public/LOGO.jpgwith your logo - Replace
frontend/public/INTRO.mp4with your intro video - Update colors in theme configuration
- Main colors:
#1B1B1B,#242424,#374151 - Accent colors:
#9CA3AF,#6B7280 - Typography: Inter font family
# Build and start
docker-compose up -d --build
# View logs
docker-compose logs -f
# Stop services
docker-compose down
# Rebuild specific service
docker-compose build frontend --no-cache# Backend
cd backend
pip install -r requirements.txt
uvicorn main:app --reload
# Frontend
cd frontend
npm install
npm start# Backend tests
cd backend && python -m pytest
# Frontend tests
cd frontend && npm testdocker-compose -f docker-compose.prod.yml up -d- Use provided
nginx.prod.conf - Configure SSL certificates
- Set up domain and DNS
NODE_ENV=production
REACT_APP_API_URL=https://your-domain.com/api
OPENAI_API_KEY=your-production-keycurl http://localhost:8000/health
docker-compose ps
docker-compose logs -f- RAG engine with configurable chunk size
- OpenAI API integration with fallback
- Automatic document processing
- Port conflicts: Check if ports 3000/8000 are free
- API key issues: Verify OpenAI configuration
- Frontend not loading: Rebuild frontend container
- File upload errors: Check file size and format
# Backend logs
docker-compose logs backend
# Frontend logs
docker-compose logs frontend
# All logs
docker-compose logs -f- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
NEXUS Platform - Where intelligence meets your documents π
Built with so much β€οΈ using React, FastAPI, and OpenAI