Open source AI chat widget

Add an AI chatbot to
any website in minutes

Upload your docs, get a project ID, drop in one line of code. Your users get instant AI-powered answers from your knowledge base.

App.tsx
import { ChatWidget } from "@obusek/embedchat-react";

function App() {
  return <ChatWidget
    projectId="proj_abc123"
  />;
}

Everything you need

From document upload to live chatbot — one platform.

Upload & auto-embed

Upload text files — they're automatically chunked, embedded with all-MiniLM-L6-v2, and stored in pgvector.

RAG-powered answers

Every chat query retrieves the most relevant chunks and sends them as context to the LLM for accurate, grounded answers.

One line to embed

React component or script tag — drop it in and your users get an AI chatbot instantly. No backend work required.

Fast & lightweight

The widget is under 8KB (gzipped). Inline styles — no Tailwind or CSS dependency needed in your app.

Secure by design

Dashboard behind Firebase Auth. Chat API is public but scoped to your project. Domain allowlists for extra control.

Themeable

5 built-in themes, configurable position, size, and greeting. Style it to match your brand.

Three steps to launch

Go from zero to live chatbot in under 5 minutes.

1

Create a project

Sign up, name your chatbot, and configure a system prompt.

2

Upload your docs

Upload text files — they're automatically chunked and embedded into your knowledge base.

3

Embed the widget

Copy one line of code into your site. Your users can now chat with your knowledge base.

Ready to add AI chat?

Free to start. No credit card required.

Unlimited projects Unlimited documents 5 themes