DeepSeek open-sources chat-demo, a static browser chat client for its API
DeepSeek released chat-demo, an open-source static chat client that connects directly to the DeepSeek API from the browser. It is MIT-licensed and available on GitHub. Users can run it locally by opening index.html or deploy the built dist/ folder.
China context
- Original name
- 深度求索
- Outside China
- Open weights · github.com
- Claims
- Company-reported; not yet independently evaluated
- For builders
- Developers can use this MIT-licensed client as a starting point for building custom chat interfaces on DeepSeek's API, or adapt it for other Anthropic-compatible services.
- For investors
- The release signals DeepSeek's continued investment in developer tooling and ecosystem growth, which may drive API consumption and enterprise adoption.
Translated from Chinese. Quotes and facts link to the original sources.
DeepSeek published a new open-source repository, chat-demo, a TypeScript static chat application powered by the DeepSeek API. It requires no backend: the browser connects directly to the configured API service. Users can try it online, download a release archive, or build it locally with Node.js 22.12+ and pnpm. Features include multiple conversations, streaming replies, deep thinking, smart search, link reading, attachments, voice input, Markdown/KaTeX/Mermaid rendering, and chat history import/export. Data is stored locally in localStorage and IndexedDB. The default API origin is https://api.deepseek.com, and the default model is deepseek-flash via Anthropic-compatible Messages/Files APIs. The project is MIT-licensed.
The demo uses Anthropic-compatible Messages and Files APIs, with extensions for search, link reading, titles, and latest reminder. Speech features use ASR/TTS endpoints. The build uses rspack, oxlint, and oxfmt. Supported attachment formats are determined by server-side validation. The static build can be opened directly from file:// if the browser supports storage on file:// pages and the API service permits cross-origin requests.
Developers outside China can now self-host a ready-made chat interface for DeepSeek's API, reducing integration effort and potentially lowering the barrier to adopting DeepSeek models. This may increase API usage and developer mindshare for DeepSeek relative to other model providers.
The open-source demo lowers the cost of building a chat UI for DeepSeek's API, potentially attracting developers and businesses that want a customizable, self-hosted frontend without vendor lock-in.
Watch for whether DeepSeek adds more model options or enterprise features to chat-demo, and whether third-party developers fork it to support other API providers. Adoption can be tracked via GitHub stars, forks, and issues.