Skip to content

Repository files navigation

Lumina AI — Intelligence Workspace & Conversational SaaS

Lumina AI is a production-ready, full-stack AI conversational workspace built with Next.js 16 (App Router), TypeScript, Prisma ORM, PostgreSQL (Neon), TanStack React Query, Better-Auth (GitHub OAuth), and Tailwind CSS.

🚀 Key Features

  • Guest Session System: Enables zero-friction guest chats with secure HttpOnly cookie tracking and server-enforced rate limiting (20 free messages).
  • Automatic History Migration: Seamlessly transfers guest conversation history and messages to user accounts upon GitHub OAuth login.
  • Multi-Model Routing: Supports selecting different AI model presets (Lumina AI v2.6 Pro, Lumina Flash 1.5, Lumina Reasoning) with OpenRouter integration.
  • Optimistic UI & Caching: Built using TanStack React Query for smooth, sub-100ms UI updates and automatic query invalidation.
  • Modern Glassmorphic UI: Styled with Tailwind CSS, custom dark mode, responsive drawer sidebars, and accessible component primitives.

🛠️ Tech Stack

  • Framework: Next.js 16 (App Router)
  • Language: TypeScript
  • Database: PostgreSQL (Neon) with Prisma ORM
  • Authentication: Better-Auth (GitHub OAuth)
  • State & Data Fetching: TanStack React Query
  • Styling: Tailwind CSS & Lucide Icons

💻 Getting Started

# Install dependencies
bun install

# Run database schema sync
npx prisma db push

# Start the development server
bun run dev

Open http://localhost:3000 with your browser to see the result.

About

Full-stack AI Conversational Workspace built with Next.js 16, TypeScript, Prisma, │ PostgreSQL & OpenRouter. Features Guest Chat Mode (20 free trial limit) and automatic │ GitHub OAuth history migration

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages