Introduction
chat-demo provides an AI chat interface without requiring you to set up an application backend. A research summary reports that it has earned 5,620 GitHub stars. This is Open Source Daily, and I'm Muyan. Today, we'll look at how to get started quickly and where your API key and chat data are stored.
Today's Open Source Pick
1. chat-demo: An AI chat interface without an application backend
-
What it is: Want to try an AI chat interface without setting up a separate application backend for it? chat-demo is a static application licensed under MIT. The browser connects directly to the configured API service, making it a good fit for engineers who want to quickly try or deploy a chat interface. It saves you the work of deploying an application backend, but chatting still requires an available API service.
-
Recent traction: An Open Source Tools Radar research summary reports that chat-demo has 5,620 GitHub stars. The provided README excerpt does not show the star count or when it was recorded.
-
Highlights:
- Supports streaming responses, search, link reading, and source citations. Having these features in the interface does not mean every API provides them; the configured service must support the corresponding capabilities.
- Lets you manage multiple conversations, edit prompts, regenerate responses, and switch between message branches. You can try a different question from the same point in a conversation without starting a new one each time.
- Renders Markdown, syntax-highlighted code, KaTeX formulas, and Mermaid diagrams, and can import and export conversation history. You don't have to make sense of code, formulas, or diagrams as a wall of plain text.
-
Getting started: Open the online version, enter your API key in the settings, and start chatting through an available API service. You can also download an archive from Releases, extract it, and open
index.htmlwithout installing or building anything. When opening it locally, however, your browser must support storage forfile://pages, and the API service must allow the corresponding cross-origin requests.If you want to modify the interface or build it yourself, first install Node.js 22.12 or later and pnpm, then run:
git clone https://github.com/deepseek-ai/chat-demo.git cd chat-demo pnpm install pnpm devOnce the development server starts, open
http://localhost:8090. To generate the static site, runpnpm build. The output goes intodist/, which you can deploy to a static web server, or you can opendist/index.htmldirectly. -
How it compares: Unlike setups that require a self-hosted application backend, chat-demo can run by deploying static files. The README does not compare its features with any named alternatives, so there is no direct comparison to draw here. The tradeoff is that the browser connects directly to the API, so you need to check whether the service supports capabilities such as search and link reading.
-
Data and caveats: API keys and settings are stored in the browser's localStorage, while conversations and original attachments are stored in IndexedDB. Local data is isolated by browser profile and site origin. These are the local storage locations, but when you send messages, upload attachments, or use voice features, the relevant content is still sent to the configured API service.
Conversation history can be imported or exported as a ZIP file, but an import replaces existing local conversations and attachments once you confirm it and it passes validation, so take care before proceeding. Exports include conversations and locally available original images, but exclude API keys, settings, and original attachments other than images. They should therefore not be treated as a complete backup of all data.
-
Who it's for: Engineers who want to quickly set up a chat interface and can verify API capabilities and where their data goes.
-
Link: chat-demo GitHub
Closing
If you want to avoid maintaining an application backend, chat-demo is worth a try, especially since it already includes conversation branching and rendering features such as Markdown. Before getting started, check which capabilities your API service supports and consider what data you want to send. See you tomorrow, December 4, 2026.


























Comments