ai-chatbot-svelte-go-fiber Svelte Themes

Ai Chatbot Svelte Go Fiber

AI Chat App using Svelte and Go Fiber

AI Chat Widget for use in your SaaS apps

A monorepo for a reusable AI chat widget with a Go Fiber streaming API and a Svelte 5 UI (Svelte AI).

Based on https://svelte-ai-elements.vercel.app/

Demo video

Direct link: ./demo.mp4

What's inside

  • aichat_go — Go API (Fiber v3) with OpenAI streaming support
  • aichat_ui — SvelteKit UI component library and demo app

See the detailed READMEs:

Requirements

  • Go 1.21+
  • Node.js 18+
  • pnpm 9+

Quick start

1) API

From aichat_go:

cp .env.example .env   # if present; set OPENAI_API_KEY
go run ./cmd/api

2) UI

From aichat_ui:

pnpm install
pnpm dev

Scripts

API

go test ./...

UI

pnpm lint
pnpm check
pnpm test

License

See LICENSE.

Top categories

Loading Svelte Themes