AI for everyone, from everyone
Multi-provider AI Chat - access Claude, ChatGPT, Gemini, and Grok with advanced features, open-source and production-ready.
Access every major AI assistant Claude, GPT-4, Gemini, Grok, and 20+ models through one interface. Get capabilities like document analysis, image generation, code execution, and research tools without managing multiple subscriptions. Try instantly, no signup required.
-
🤖 Multi-Model Chat - Access 90+ AI models including Claude, GPT-5, Gemini, and Grok in one interface.
-
🔐 Authentication & Sync - Secure authentication with chat history sync across all devices.
-
🎯 Easy to Try - Try the interface and some features without creating an account.
-
📎 Attachment Support - Upload and analyze images, PDFs, and documents in conversations.
-
🎨 AI-Powered Image Generation - Generate and edit images with advanced AI models.
-
💻 Syntax Highlighting - Beautiful code formatting and highlighting for all programming languages.
-
🔄 Resumable Streams - Continue AI generations after page refreshes or interruptions.
-
🌳 Chat Branching - Create alternative conversation paths without losing your original thread.
-
🔗 Chat Sharing - Share conversations with others and collaborate on AI-assisted projects.
-
🔭 Deep Research - Comprehensive research with real-time web search, source analysis, and cited findings.
-
⚡ Code Execution - Run Python, JavaScript, and more in secure sandboxes.
-
📄 Document Creation - Generate and edit documents, spreadsheets, and presentations.
-
📊 Web Analytics - Built-in Vercel Web Analytics (enable in Vercel dashboard).
Sparka AI is built with modern technologies for scalability and performance:
- Next.js 15: App Router with React Server Components
- TypeScript: Full type safety and developer experience
- Tailwind CSS: Responsive, utility-first styling
- Radix UI: Accessible component primitives
- Framer Motion: Smooth animations and transitions
- Zustand: Lightweight state management
- Vercel AI SDK: Unified AI provider integration
- tRPC: End-to-end typesafe APIs
- Drizzle ORM: Type-safe database operations
- PostgreSQL: Robust data persistence
- Redis: Caching and real-time features
- AI SDK v5: Latest Vercel AI SDK for unified provider integration
- AI SDK Gateway: Models from various AI providers with automatic fallbacks
- Node.js 18+ or Bun
- PostgreSQL database
- Redis (optional, for scaling)
-
Clone and Install
git clone https://github.com/franciscomoretti/sparka.git cd sparka bun install
-
Environment Setup
cp .env.example .env.local # Configure your environment variables
-
Database Setup
bun run db:migrate
-
Development Server
bun dev
Visit http://localhost:3000 to start using Sparka AI locally.
Sparka AI was built on the shoulders of giants. We're deeply grateful to these outstanding open source projects:
- Vercel AI Chatbot - Core architecture and AI SDK integration patterns
- Scira - AI-powered search engine