deepseek-ai/chat-demo

Chat Demo

What it solves

Running a chat app usually requires a backend server to relay messages. This project removes that need: it is a static web page that lets you chat with the DeepSeek API directly from your browser, so you can use it locally without installing anything or building a server.

How it works

You open the app (either the hosted online version or a downloaded index.html file) and enter your API key in Settings. The browser talks straight to the configured API service. Conversations are stored locally in IndexedDB, and your API key/settings live in browser localStorage. The app supports multiple conversation threads, streaming replies, attachments, voice input, and read-aloud. It uses deepseek-flash by default via Anthropic-compatible Messages/Files APIs, plus ASR/TTS for speech. You can also import/export chat history as ZIP archives.

Who it’s for

Developers or users who want a simple, self-contained chat interface for the DeepSeek API without running a server. It is also useful as a demo or starting point for building custom chat UIs, since it includes full source code and build scripts.

Highlights

  • No backend required – works as a static site or a double-clicked local file
  • Multi-conversation management with automatic titles, renaming, deletion, and message branching
  • Streaming replies, deep thinking, smart search, link reading, and source citations
  • Markdown, math, and diagram rendering plus light/dark themes and bilingual UI (Simplified Chinese and English)
  • Local storage (IndexedDB + localStorage) keeps data on your machine, with optional ZIP import/export

Related

  • Project
  • Project
  • Project
  • Project