Skip to content

Kyvrel/elly-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

28 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Simple Chatbot

A minimalist AI chatbot built with Next.js 16, Vercel AI SDK, and modern web technologies.

Features

  • πŸ’¬ Real-time AI chat with streaming responses
  • 🎨 Claude-inspired design system
  • πŸ“± Responsive sidebar with chat history
  • ✨ Markdown and syntax highlighting support
  • πŸ—„οΈ PostgreSQL database with Drizzle ORM
  • ⚑ Built with Next.js 16 and React 19

Tech Stack

  • Framework: Next.js 16 (App Router)
  • AI: Vercel AI SDK (@ai-sdk/react)
  • Database: PostgreSQL + Drizzle ORM
  • Styling: Tailwind CSS 4 + shadcn/ui
  • Language: TypeScript

Getting Started

  1. Install dependencies
pnpm install
  1. Set up environment variables
cp .env.example .env

Edit .env and add your API keys:

DATABASE_URL=your_database_url
OPENAI_API_KEY=your_openai_key
  1. Set up database
pnpm db:push
  1. Run development server
pnpm dev

Open http://localhost:3000 in your browser.

Available Scripts

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm lint - Run ESLint
  • pnpm type-check - TypeScript type checking
  • pnpm format - Format code with Prettier
  • pnpm db:push - Push schema changes to database
  • pnpm db:studio - Open Drizzle Studio

Project Structure

simple-chatbot/
β”œβ”€β”€ app/                  # Next.js app router
β”œβ”€β”€ components/           # React components
β”‚   β”œβ”€β”€ chat/            # Chat-related components
β”‚   β”œβ”€β”€ sidebar/         # Sidebar component
β”‚   └── ui/              # shadcn/ui components
β”œβ”€β”€ lib/                 # Utilities and configurations
β”‚   └── db/              # Database schema and client
└── docs/                # Documentation

License

MIT

About

🐘 Elly remembers your conversations - A simple yet powerful AI chatbot built with Next.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •