A modern, privacy-first AI chat application built with Next.js 15 and React 19
Features • Demo • Tech Stack • Screenshots
⭐ Star this repo if you find it useful!
🔒 Closed Source Project
- Multiple AI Models: Support for Llama 3.1, Mistral, Qwen, and more via HuggingFace
- Smart Prompt Engineering: Advanced system prompts, chain-of-thought reasoning, and task detection
- Streaming Responses: Real-time AI responses with streaming technology
- Conversation Context: AI remembers previous messages in the conversation
- Multiple Sessions: Create and manage unlimited chat sessions
- Search & Filter: Quickly find conversations with search functionality
- Export/Import: Export chat history as JSON or import previous conversations
- Edit & Delete: Edit message titles and delete conversations
- Regenerate: Regenerate AI responses with a single click
- Modern UI: Beautiful dark/light theme with smooth animations
- Markdown Support: Rich markdown rendering with syntax highlighting
- Code Highlighting: Beautiful code blocks with syntax highlighting
- Keyboard Shortcuts: Power user shortcuts for faster navigation
- Toast Notifications: User-friendly notifications for all actions
- Responsive Design: Perfect experience on mobile, tablet, and desktop
- Installable: Install as a native app on Android, iOS, Windows, macOS, and Linux
- Offline Support: UI works offline (cached), AI requires internet
- Standalone Mode: Runs like a native app without browser UI
- Fast Loading: Service worker caching for instant load times
- Rate Limiting: Built-in rate limiting to prevent API abuse
- Input Validation: XSS protection and message sanitization
- Error Handling: Comprehensive error handling with retry mechanism
- API Timeout: 30-second timeout with automatic retry (exponential backoff)
- Type Safety: Full TypeScript support for type-safe development
- Framework: Next.js 15 (App Router)
- UI Library: React 19
- Styling: Tailwind CSS 4
- AI API: HuggingFace Inference API
- Markdown: react-markdown + remark-gfm
- Syntax Highlighting: react-syntax-highlighter
- Icons: lucide-react
- Type Safety: TypeScript
- Testing: Jest + React Testing Library
Live Demo: Visit the application
Note: This is a closed-source project. Source code is not publicly available.
This application is built with a modern, scalable architecture:
- Frontend: Next.js 15 with App Router, React 19, TypeScript
- Backend: Next.js API Routes (serverless functions)
- AI Integration: HuggingFace Inference API
- State Management: React Hooks + LocalStorage
- Styling: Tailwind CSS 4 with custom design system
- PWA: Service Worker, Web App Manifest, Offline Support
- Visit the Application: Open the live demo link above
- Start Chatting: Click "Try Now" or navigate to the chat page
- Send Messages: Type your message and press
Enter - Manage Chats: Create multiple chat sessions, search, edit, or delete them
- Multiple Sessions: Organize your conversations into separate chat sessions
- Smart AI: Advanced prompt engineering for better responses
- Real-time Streaming: See AI responses as they're generated
- Markdown Support: Rich formatting with code highlighting
- Keyboard Shortcuts: Power user shortcuts for faster navigation
- PWA Support: Install as a native app on any device
- Theme Toggle: Switch between dark and light modes
- Export/Import: Backup and restore your chat history
- Visit the site in Chrome
- An "Install App" banner will appear
- Click "Install" to add to home screen
- Visit the site in Safari
- Tap the Share button (bottom)
- Select "Add to Home Screen"
- Tap "Add" to confirm
- Fast Loading: Optimized bundle size, code splitting, lazy loading
- Streaming: Real-time AI responses with streaming technology
- Caching: Service worker caching for offline support
- Responsive: Works seamlessly on all devices
- Type-Safe: Full TypeScript support for reliability
- ✅ Rate Limiting: Prevents API abuse (20 requests per minute)
- ✅ Input Validation: XSS protection and message sanitization
- ✅ Error Handling: Comprehensive error handling with user-friendly messages
- ✅ API Timeout: 30-second timeout with automatic retry
- ✅ Type Safety: Full TypeScript support
- ✅ Content Security Policy: CSP headers for additional security
- ✅ Installable: Works on all major platforms
- ✅ Offline UI: Interface works offline (cached)
- ✅ Fast Loading: Service worker caching
- ✅ Standalone Mode: Runs like a native app
- ✅ App Icons: Custom icons for all platforms
Note: AI responses require internet connection. UI is cached and works offline.
- AI Responses: Responses come from HuggingFace API. Please verify important information.
- Chat History: Stored in browser's localStorage. Clearing browser data will delete history.
- Privacy: All data is stored locally. No tracking, no analytics, no data collection.
- Offline Support: UI works offline, but AI responses require internet connection.
- ✅ No Tracking: Zero analytics, zero tracking
- ✅ Local Storage: All data stored in your browser
- ✅ No Backend: No server-side data storage
- ✅ Secure: Rate limiting, input validation, XSS protection
- ✅ Open Standards: Built with open web technologies
This project is closed source and proprietary. All rights reserved.
Built with amazing open-source technologies:
- Next.js - The React Framework
- HuggingFace - AI Models & Inference API
- React - UI Library
- Tailwind CSS - Styling Framework
- TypeScript - Type Safety
Star this repo to show your support! ⭐
Built with ❤️ using Next.js, React, and TypeScript
🔒 Closed Source Project



