An AI-powered SaaS workspace with Multi-LLM Chat, RAG, File Intelligence, Image Generation, Web Search, Analytics, and Premium Features.
Nexora AI is a modern AI platform built with Next.js 16, TypeScript, Prisma, PostgreSQL, and the Vercel AI SDK. It provides users with a ChatGPT-like experience while supporting multiple AI providers, document understanding through Retrieval-Augmented Generation (RAG), AI image generation, web search, analytics, subscriptions, and much more.
- Streaming AI responses
- Multiple AI providers
- Multiple LLM selection
- Conversation history
- Markdown rendering
- Syntax highlighted code blocks
- Copy response
- Regenerate response
- Stop generation
- Chat title generation
- Image responses
- Typing animation
Supports multiple AI providers.
- Gemini 2.5 Flash
- Llama 3.3 70B
- GPT OSS 120B
- Command A
- DeepSeek Chat
Supports intelligent document processing.
Supported formats:
- DOCX
- TXT
- Markdown
- Images
Features:
- File upload
- Preview
- Cloud storage
- AI document understanding
- File attachment in chat
- Recent documents
- Upload progress
- Document parser
- Automatic document chunking
- Google Embeddings
- Chroma Vector Database
- Semantic Search
- Context Retrieval
- AI answers grounded on uploaded files
- Live web search
- Tavily integration
- AI summarized results
- Search prompt detection
- Gemini Image Generation
- HuggingFace fallback
- Automatic image prompt detection
- Image preview
- Image modal
- Activity analytics
- AI model usage
- File usage
- Charts
- User statistics
- Recent activity
- Google OAuth
- GitHub OAuth
- Credentials Login
- Registration
- JWT Sessions
- Protected Routes
- Middleware Authentication
- Username
- Avatar Upload
- Profile Management
- Cloudinary Integration
- Razorpay Integration
- Subscription Plans
- Premium Feature Gate
- Feature Restrictions
- Cloudinary
- Secure uploads
- File previews
- Next.js 16
- React 19
- TypeScript
- Tailwind CSS
- shadcn/ui
- Framer Motion
- React Hook Form
- Zod
- Sonner
- Next.js Route Handlers
- Prisma ORM
- PostgreSQL (Neon)
- Auth.js
- Vercel AI SDK
- Google Gemini
- Groq
- Cohere
- DeepSeek
- Tavily Search
- Google Embeddings
- ChromaDB
- Cloudinary
- Razorpay
app/
βββ (auth)
βββ (dashboard)
β βββ analytics
β βββ chat
β βββ dashboard
β βββ files
β βββ pricing
β βββ settings
βββ api
components/
hooks/
lib/
prisma/
services/
types/
Built using Prisma ORM with PostgreSQL.
Main models:
- User
- Chat
- Message
- File
- Subscription
User
β
βΌ
Chat Input
β
βΌ
API Route
β
βΌ
Chat Service
β
βΌ
Prompt Builder
β
βΌ
Selected AI Provider
β
βΌ
Streaming Response
β
βΌ
Database
Upload File
β
βΌ
Document Parser
β
βΌ
Chunking
β
βΌ
Google Embeddings
β
βΌ
Chroma Vector DB
β
βΌ
Semantic Search
β
βΌ
Context Retrieval
β
βΌ
AI Response
Prompt
β
βΌ
Image Prompt Detection
β
βΌ
Gemini Image API
β
βΌ
Fallback (HuggingFace)
β
βΌ
Generated Image
Prompt
β
βΌ
Search Detection
β
βΌ
Tavily API
β
βΌ
Search Results
β
βΌ
AI Summary
Clone the repository
git clone https://github.com/Developer-Sohail786/Nexora.gitInstall dependencies
npm installConfigure environment variables
DATABASE_URL=
AUTH_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_GENERATIVE_AI_API_KEY=
GROQ_API_KEY=
COHERE_API_KEY=
DEEPSEEK_API_KEY=
TAVILY_API_KEY=
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
RAZORPAY_KEY_ID=
RAZORPAY_KEY_SECRET=Run Prisma
npx prisma generate
npx prisma migrate devStart ChromaDB
docker compose up -dRun the development server
npm run devnpm run dev
npm run build
npm run start
npm run lint- Voice Chat
- AI Agents
- Team Workspace
- Shared Chats
- Chat Export
- Memory
- OCR Improvements
- More AI Providers
- Mobile App
- Usage Limits
- Admin Dashboard
Sohail Khan
Backend β’ AI β’ Full Stack Developer
This project is licensed under the MIT License.
Give the repository a β on GitHub.
Check out our Next.js deployment documentation for more details.