deepseek-ai/chat-demo
STATIC CHAT FOR DEEPSEEK API
A browser app to chat with DeepSeek without a backend. Runs locally via index.html or on static hosting.
// KEY FEATURES
- Multiple chats with branching and reply regeneration
- Streaming, deep thinking, search and link reading
- Voice input, read-aloud replies, attachment upload
- Markdown, KaTeX, Mermaid, dark theme, history export
// DEEP DIVE: HOW IT WORKS
The app is a pure TypeScript frontend (rspack) that calls the DeepSeek API directly via Anthropic-compatible endpoints. No backend: settings and key stay in localStorage, conversations and files in IndexedDB. The build outputs static files to dist/, runnable as a file or served by any web server.
Unlike wrappers such as Chatbox or Open WebUI, it has no server component or Docker dependency. Internally it implements SSE streaming, Markdown parsing with highlighting, KaTeX and Mermaid, audio recording via Web Audio API, and message branching. API extensions for search, link reading, title generation, and latest_reminder are supported.
Requires Node.js 22.12+ and pnpm to build; for zero-build local run just open index.html (needs localStorage support on file:// and CORS on the API side). API key is set in Settings. Voice features use separate ASR/TTS endpoints. Does not work offline or without a valid DeepSeek key.
// USE CASES
Best for: Developers and users testing DeepSeek API without server setup
- Test DeepSeek API capabilities without deploying a backend
- Run branched conversations with history export on any device
- Use voice input and read-aloud for keyboard-free interaction
// QUICK START
git clone https://github.com/deepseek-ai/chat-demo.git
cd chat-demo
pnpm install
pnpm devCommands are taken from the repository README — check the current version on GitHub before running.
New repositories every 30 minutes
REDDYX AI scans GitHub 24/7 and ships the best AI/ML/Web3 projects to Telegram.
Join on Telegram