Skip to content
프로젝트

소개

Vue AI Chatbot Template made with Nuxt UI, Vercel AI SDK, Vite and Nitro.

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

  • ⚡️ Streaming AI messages powered by the AI SDK with thinking/reasoning support
  • 🤖 Multiple model support — Claude Haiku 5.5, Gemini 3 Flash and GPT-5.6 Luna via Vercel AI Gateway
  • 🔍 Web search with built-in provider tools (Anthropic, Google, OpenAI), toggleable from the prompt menu along with extended thinking
  • 🎤 Dictation in the prompt with live streaming transcription over WebSocket through AI Gateway

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Vue AI Chatbot Template

Nuxt UI Nitro

Full-featured AI Chatbot Vue application with authentication, chat history, collapsible sidebar, keyboard shortcuts, light & dark mode, command palette and more. Built using Nuxt UI components and integrated with AI SDK for a complete chat experience.

Vue AI Chatbot Template

The chat template for Nuxt is on https://github.com/nuxt-ui-templates/chat.

Features

  • ⚡️ Streaming AI messages powered by the AI SDK with thinking/reasoning support
  • 🤖 Multiple model support — Claude Haiku 5.5, Gemini 3 Flash and GPT-5.6 Luna via Vercel AI Gateway
  • 🔍 Web search with built-in provider tools (Anthropic, Google, OpenAI), toggleable from the prompt menu along with extended thinking
  • 🎤 Dictation in the prompt with live streaming transcription over WebSocket through AI Gateway
  • 📊 Charts and weather tool calling with rich UI rendering
  • 🔐 Authentication via GitHub OAuth using Nitro server routes and httpOnly cookies
  • 💾 Chat history persistence using SQLite database (Turso in production) and Drizzle ORM
  • ✨ Markdown rendering with streaming code highlighting via Comark

Quick Start

npm create nuxt@latest -- --no-modules -t ui-vue/chat

Deploy your own

Deploy with Vercel

Setup

Make sure to install the dependencies:

pnpm install

Run database migrations:

pnpm db:migrate

[!NOTE] In production, configure your database connection. On Vercel, add the Turso integration to automatically provision TURSO_DATABASE_URL and TURSO_AUTH_TOKEN.

AI Integration

This template uses the Vercel AI SDK for streaming AI responses with support for multiple providers through Vercel AI Gateway. When deployed on Vercel, the AI Gateway is configured automatically.

For local development, set your API key in .env:

AI_GATEWAY_API_KEY=<your-vercel-ai-gateway-api-key>

[!TIP] With Vercel AI Gateway, you don't need individual API keys for OpenAI, Anthropic, etc. It provides a unified API to access hundreds of models through a single endpoint with automatic load balancing, fallbacks, and spend monitoring.

On Vercel, the routes that create a chat or call the model are protected by BotID, which blocks requests that don't come from a browser. Elsewhere the check is skipped. BotID is not a rate limit, so for production also add a rate limit on the paths starting with /api/chats, so it also covers the model calls on /api/chats/:id.

Authentication (Optional)

This template uses Nitro server routes with httpOnly cookies for authentication with GitHub OAuth.

To enable authentication, create a GitHub OAuth application and set:

GITHUB_OAUTH_CLIENT_ID=<your-github-oauth-app-client-id>
GITHUB_OAUTH_CLIENT_SECRET=<your-github-oauth-app-client-secret>
SESSION_SECRET=<your-secret-minimum-32-characters>

Development Server

Start the development server on http://localhost:3000:

pnpm dev

Production

Build the application for production:

pnpm build

Locally preview production build:

pnpm preview

Check out the deployment documentation for more information.

Renovate integration

Install Renovate GitHub app on your repository and you are good to go.

관련 프로젝트 살펴보기

불러오는 중…