Boilerplate

Chat Interface Kit

A minimalist BYOK (bring your own key) chat app built with Svelte 5, SvelteKit, Tailwind CSS, and shadcn-svelte. Connect your own AI provider, pick a model, and start chatting. No data is stored on the server.

Features

Bring Your Own Key (BYOK)

OpenAI, Google Gemini, Anthropic, or any OpenAI-compatible endpoint as a Custom Provider.

Streaming Chat

Typewriter effect that respects prefers-reduced-motion, a Stop button, and error handling rendered inline within the message.

Image Attachments

Via file picker, drag and drop, or paste. Images over 900 KB are automatically downscaled to WebP on the client, with a warning when the selected model cannot read images.

Local Conversation History

Stored in IndexedDB with search, rename, delete, and JSON export. Conversations are grouped by time and restored after a refresh.

System Prompt

Draft-then-save editing, stored per browser.

Session Security

Your API key never returns to the browser after connect. Keys are encrypted with AES-256-GCM and stored in an HttpOnly cookie readable only by the server.

Pricing

Open Source

Free and open source. Clone the repository, connect your own AI provider, and run it however you like.

Free

Tech Stack

Front End

SvelteKitSvelte 5TypeScriptTailwind CSS 4shadcn-svelte

Back End

SvelteKit Server EndpointsSSE Streaming ProxyAES-256-GCM

Database

IndexedDBlocalStorage

Deployment

Vercel

FAQ

A minimalist BYOK (bring your own key) chat app built with Svelte 5, SvelteKit, Tailwind CSS, and shadcn-svelte. You connect your own AI provider, pick a model, and start chatting — with no data stored on the server.

OpenAI, Google Gemini, and Anthropic, plus any OpenAI-compatible endpoint as a Custom Provider.

No. Conversations and messages (including image data) are stored locally in your browser via IndexedDB, and can be viewed and cleared from Settings > Storage.

The API key is encrypted with AES-256-GCM and stored in an HttpOnly cookie that JavaScript cannot read. The key never returns to the browser after connect and is never stored in localStorage or IndexedDB. All provider calls are also proxied through server endpoints.

Yes, via file picker, drag and drop, or paste. Images over 900 KB are automatically downscaled to WebP on the client, and a warning appears when the selected model cannot read images.

Install dependencies with npm install, create a .env.local file with PROVIDER_COOKIE_SECRET, run npm run dev, then open Settings and connect a provider with your API key.

KutipDuaDev

Production-ready boilerplates & SaaS products. Ship your apps in days, not months.

kutipduadev@gmail.com GitHub Built with SvelteKit

© 2026 KutipDuaDev. All rights reserved.

Ship your apps in days, not months.