ChatBot UI — Self-Hosted, Open-Source

ChatBot UI is an advanced chatbot kit for OpenAI's chat models aiming to mimic ChatGPT's interface and functionality. Simply add your OpenAI API key and start chatting! This version of ChatBot UI supports both GPT-3.5 and GPT-4 models. Conversations are stored locally within your browser. You can export and import conversations to safeguard against data loss.

ChatBot UI is commonly used as a self-hosted alternative to ChatGPT. Replacing a SaaS tool with a self-hosted equivalent lets you avoid recurring subscription fees, keep full control of your data, and continue working even when the original vendor changes pricing, ships limits, or shuts down.

License: MIT. Built with: TypeScript, PLpgSQL, JavaScript, CSS, Shell. Website: https://github.com/mckaywrigley/chatbot-ui. Source: https://github.com/mckaywrigley/chatbot-ui.

Installation

git clone https://github.com/mckaywrigley/chatbot-ui.git

Why self-host ChatBot UI

Self-hosting gives you three things SaaS can’t: data ownership (the files live on disks you control), cost predictability (a one-time setup vs. recurring per-seat fees that grow with your household or team), and longevity (open-source means the app keeps working even if the maintainers move on, since you can pin a working version). The trade-off is that you take on the operational work of running a server, applying updates, and handling backups.

What hardware do you need

Most self-hosted apps run comfortably on modest hardware — a Raspberry Pi 4, a mini PC, a NAS with Docker support, or a small VPS is usually enough for personal or family use. CPU and RAM requirements scale with how many simultaneous users or how much data you push through ChatBot UI. Storage requirements depend on the kind of data you keep; check the README for guidance on data retention.

ChatBot UI replaces

Where to go from here