ai-chatbot-svelte  by vercel

Open-source AI chatbot template

created 4 months ago
349 stars

Top 80.8% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a fully-featured, hackable SvelteKit AI chatbot template, built by Vercel. It's designed for developers looking to quickly deploy a customizable AI chat interface with robust data persistence and flexible model provider integration.

How It Works

The chatbot leverages SvelteKit for a modern web framework and the AI SDK for unified LLM interactions, supporting text, structured objects, and tool calls. It utilizes shadcn-svelte and Tailwind CSS for accessible, flexible UI components, with data persistence handled by Vercel Postgres and Vercel Blob for chat history and file storage.

Quick Start & Requirements

  • Install: pnpm install, pnpm db:generate, pnpm dev
  • Prerequisites: Node.js, pnpm, Vercel CLI (npm i -g vercel). Requires environment variables (e.g., API keys) typically managed via .env or Vercel's environment variable system.
  • Links: Deploy to Vercel, AI SDK

Highlighted Details

  • Unified API for text, structured objects, and tool calls with LLMs.
  • Supports xAI (default), Groq, OpenAI, Anthropic, Cohere, and more.
  • Data persistence via Vercel Postgres and Vercel Blob.
  • Built with SvelteKit and Svelte 5.

Maintenance & Community

Developed by Vercel. Further community or roadmap details are not specified in the README.

Licensing & Compatibility

The README does not explicitly state a license. Compatibility for commercial use or closed-source linking is not specified.

Limitations & Caveats

The template is heavily integrated with Vercel's ecosystem (Vercel Postgres, Vercel Blob, Vercel CLI for environment variables), which may present challenges for deployment on other platforms or for users not utilizing Vercel services.

Health Check
Last commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
3
Star History
70 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.