Chatbot UI 2.0: A Supabase-Backed Chat Frontend That Puts Deployment First
AI chat for any model.
At a glance
- What is it?
- Chatbot UI is an open-source TypeScript chat app that connects to any model, but its 2.0 rewrite trades browser storage for a mandatory Supabase backend. This review covers what the project actually offers, how to run it, and where its constraints will bite.
- Who is it for?
- Adopt Chatbot UI if you want a ready-made chat frontend and are willing to commit to Supabase as your backend, whether hosted or local. Skip it if you need a lightweight, storage-agnostic tool or if you cannot run Docker and the Supabase CLI.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Probably not. The repository last received commits 28 months ago, on August 3, 2024.
- What is it written in?
- Mainly TypeScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- mckaywrigley/chatbot-ui33,309 ★ · -31
| Repository | 2026-08-18 | 2026-11-23 |
|---|---|---|
| mckaywrigley/chatbot-ui | 33.3k | 33.3k |
-31 Stars in the last 97 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
What This Project Actually Solves
Chatbot UI is a frontend for AI chat that is not tied to a single model provider. The README calls it "The open-source AI chat app for everyone," and the codebase is TypeScript, built as a Next.js app. The problem it solves is the repetitive work of building a chat interface: message threading, model selection, and a web UI. It is aimed at developers who want a self-hosted chat app without writing the frontend from scratch. The project's 2.0 version made a deliberate shift: it dropped local browser storage in favor of Supabase. That choice defines the project. You are not getting a standalone chat widget. You are getting a full-stack starter kit where the data layer is a specific Postgres service.
The Supabase Dependency Is the Real Architecture
The README is explicit about why Supabase replaced browser storage: security issues, limited storage, and limits on multi-modal use cases. Supabase gives the app a Postgres database, auth, and storage, all in one open-source package. The data flow is straightforward: the Next.js frontend talks to Supabase, which handles conversations, user accounts, and file storage. There is a migration file, supabase/migrations/20240108234540_setup.sql, that creates the schema. The README tells you to replace two values in that file, project_url and service_role_key, though the default project_url can stay unchanged if you do not change the project_id in config.toml. This is not a plug-and-play setup. You must edit a SQL file before the app works correctly, otherwise storage files may not delete properly. That is a concrete operational detail, and it tells you the project expects you to understand its backend, not just run npm start.
Getting It Running: Commands and Config Keys
The local quickstart is a sequence of terminal commands. Clone the repo, run npm install, then install Docker and the Supabase CLI. On macOS or Linux, that is brew install supabase/tap/supabase; on Windows, scoop bucket add supabase https://github.com/supabase/scoop-bucket.git followed by scoop install supabase. Then run supabase start from the repo root. Copy the environment template with cp .env.local.example .env.local and fill in values from supabase status. The key variables are NEXT_PUBLIC_SUPABASE_URL and the service role key. The README notes that if an environment variable is set, it disables the input in user settings, so the app can be configured entirely through env vars. After editing the migration file, run npm run chat and the app should be at localhost:3000. The README asks for a compatible Node version, giving v18 as the example. For hosted instances, you repeat the local steps, then use supabase login, supabase link --project-ref <project-id>, and supabase db push to push the schema to a cloud Supabase project. The frontend deployment is via Vercel.
A Genuine Limitation: You Must Run Supabase, No Exceptions
The most obvious limitation is that Chatbot UI 2.0 has no backend option other than Supabase. The README says "We will support other providers in the future," but that is a promise, not a feature. If you want to use a different Postgres provider, a different auth system, or a simple file-based store, this project will not help you. The local setup requires Docker, which is a heavy dependency for a chat app. The migration file also contains hardcoded values that you must edit manually, and getting them wrong leads to storage cleanup failures. Another constraint: the README restricts GitHub issues to codebase bugs and pushes setup questions to Discussions. That means if you hit a deployment problem, you are on your own or relying on community answers, not official issue tracking. For a project that depends on a specific backend, this is a real support gap.
The Update Path and Maintenance Cost
The project provides an update command: npm run update. For hosted instances, you must also run npm run db-push to apply latest migrations to the live database. That is a clear maintenance procedure, but it implies schema changes happen. You need to track when migrations are added and apply them, or your hosted instance will drift from the code. The README also mentions a legacy 1.0 branch, which used browser storage. If you are on 1.0, upgrading to 2.0 is not a simple npm update; it is a different architecture. The maintenance cost is not zero: you must keep Docker, Supabase CLI, and Node v18 in sync. The README's author, McKay Wrigley, says a big update is coming with "simpler deployment, better backend compatibility, and improved mobile layouts." That is a signal that the current setup is not considered final. Adopting now means you may need to migrate again when that update lands.
Alternatives: The Difference in Approach
The obvious alternative is to build your own chat UI using the model provider's API directly, or to use a library like Vercel AI SDK, which gives you React hooks for streaming chat without dictating a backend. The difference is that Vercel AI SDK is a library, not an app. You still write the UI, the database schema, and the auth. Chatbot UI gives you all of that, but only if you accept Supabase. Another alternative is to stick with the 1.0 legacy branch, which used browser storage and no Docker. That is a lighter setup, but the README implies it is outdated. If your priority is a minimal, self-contained chat app that stores data locally, Chatbot UI 2.0 is the wrong tool. If your priority is a production-ready frontend with auth and storage, then it is a head start, but you are locked into the Supabase ecosystem.
Licence and Hosting Implications
The project is licensed under MIT, which means you can use, modify, and distribute it freely, even commercially, as long as you include the copyright notice. That is a permissive licence, but it does not remove the operational constraints. The README points to a hosted version at chatbotui.com, which is the author's own service. If you want to avoid hosting, the README points to that hosted version. For self-hosting, you need your own Supabase instance, either local or cloud. Supabase has a free tier, but that is a separate service with its own terms. The licence covers the code, not the backend services. Before adopting, check the Supabase free tier limits for storage and requests. The MIT licence is a green light for commercial use, but the Supabase dependency is a practical cost that the licence does not address.
Editorial conclusion
Adopt Chatbot UI if you want a ready-made chat frontend and are willing to commit to Supabase as your backend, whether hosted or local. Skip it if you need a lightweight, storage-agnostic tool or if you cannot run Docker and the Supabase CLI. Before adopting, verify that the migration file's hardcoded project_url and service_role_key match your environment, and confirm your Node version is v18. The project's own README warns of a pending big update, so check the main branch for changes before building anything on top of it.
Frequently asked questions
What is a chatbot UI?
In this repository it means an open-source AI chat application: a TypeScript and Next.js front end that keeps its conversations in Postgres through Supabase and talks to several model providers, with client libraries for several of them named in the manifest. It is MIT licensed and the author describes it as an AI chat app for everyone.
how to use chatbot ui
The local path is: clone the repository, install dependencies, install the Supabase command line tool, start Supabase, copy the example environment file and fill it from the output of the status command, edit two values in the first SQL migration, optionally install Ollama for local models, then run `npm run chat` and open localhost:3000. The README asks for a compatible Node version, giving version 18 as the example.
Is Chatbot UI still maintained?
The repository is not archived but the last commit was 2024-08-03 and there are no GitHub releases. The README carries a maintainer note that a big update is on its way, naming simpler deployment, better backend compatibility and improved mobile layouts, with no date attached. The code for version 1.0 is kept on a branch named legacy.
What database does Chatbot UI use?
Supabase, which is Postgres, replacing an earlier version that stored data in local browser storage. The README gives three reasons for the change: security issues, limited storage, and limits on multi-modal use cases, and says other providers will be supported later. TypeScript types are generated from the local database by the db-types script.
How do I update a hosted Chatbot UI instance?
At the root of your local repository run `npm run update`, which pulls from the default branch, runs the database migrations and regenerates the types. If you are running a hosted instance you also need `npm run db-push` to apply the latest migrations to the live database.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/mckaywrigley-chatbot-ui)Star history chart for your README
[](https://hysenlabs.com/projects/mckaywrigley-chatbot-ui)Was this useful?