Self-Host DeepSeek's Chat App on Ubuntu (2 Minutes)
This is the companion guide to Self-Host DeepSeek's Chat App on Ubuntu (2 Minutes), a 103-second video uploaded 2026-11-17. The video walks through serving the official DeepSeek chat demo on Ubuntu with no Docker, no build tools, and no backend, and this guide puts that walkthrough in linkable written form with grounding research and the honesty notes the video discloses.
Nothing below sends a real chat message, because sending needs your own DeepSeek API key, and the history export and import round-trip with real chats is untested here. Every section keeps In the video claims apart from Added from the sources research, and steps that were not executed are marked untested.
What the app is
In the video: the app is the official DeepSeek chat demo, a static page with no backend. Your browser talks straight to the DeepSeek API, and your chats live on your own machine.
Added from the sources: the repo is deepseek-ai/chat-demo, MIT licensed, a static HTML, CSS, and JS demo with no backend where the browser connects directly to the configured API service. The release archive runs by extracting it and opening the page or deploying the files to a static server, the API key is entered in Settings, and history import and export as a ZIP live in Settings.
Added from the sources: the grounded release is v0.1.1, published 2026-11-13, with the asset chat-demo-v0.1.1.zip at 1,881,259 bytes, byte-matched in the sandbox. Background reading sits at the chatbot build guide, and a hosted try-before-you-self-host copy is at the online demo.
What you need
In the video: Ubuntu 24.04, Python 3 already installed, about five megabytes of disk, and port 8090 free. A DeepSeek API key, which is pay-per-use, is needed only to send messages, and everything else works without one.
Added from the sources: the sandbox notes confirm the install is user-local only with no sudo and no system changes, and no account of any kind is needed except the DeepSeek API key for sending. The download is about 1.9 MB and extracts to about 2 MB, so the five-megabyte figure leaves comfortable headroom.
Requirements card: 64-bit Ubuntu 24.04, Python 3 already installed, about 5 MB free, port 8090 free, plus your own DeepSeek API key for sending chat (Still from the walkthrough video.)
Download the release
In the video: grab version 0.1.1 from the official releases page, one zip under two megabytes, verified byte for byte against the published release.
Added from the sources: the releases page carries v0.1.1 over the same-day v0.1.0, and the sandbox download of chat-demo-v0.1.1.zip matched the published 1,881,259 bytes exactly. First prepare a folder with mkdir -p ~/chat-demo && cd ~/chat-demo, then download with curl -L -o chat-demo-v0.1.1.zip https://github.com/deepseek-ai/chat-demo/releases/download/v0.1.1/chat-demo-v0.1.1.zip.
Extract and serve
In the video: unzip into an app folder, step inside, and start Python's built-in static server on port 8090. That is the whole install, and the terminal stays running as the chat server.
Added from the sources: the extraction command is python3 -c "import zipfile; zipfile.ZipFile('chat-demo-v0.1.1.zip').extractall('app')", which yields 153 files topped by index.html plus static/ plus the MIT LICENSE. Then cd app && python3 -m http.server 8090 starts the server, and opening http://localhost:8090 in a browser loads the app.
Added from the sources: the sandbox proved this exact path on port 18090, with GET /index.html returning 200 at 414 bytes, GET / returning 200, and the main CSS bundle returning 200 at 88,771 bytes. The viewer port in the video is 8090, so serving on 8090 itself is untested here, though it is the same command on a different free port.
Simulated terminal card showing the zipfile extract into the app folder and the Python static server start on port 8090, marked as recreated from the test run (Still from the walkthrough video.)
First run English plus API key
In the video: the first run lands on Settings asking for an API key, the interface follows the browser language with English shown, and the language can change under General. The key never leaves the browser and is stored in the browser's own storage alongside settings.
Added from the sources: the static shell title reads API 使用 demo, so the app boots in Chinese by default and the fix is Settings to English. The in-app path is Settings to General for Language and Settings to Data for the key, all clicks with no command. The app bundle carries both en-US and en locale options with a settings locale selector, which supports the language switch.
Added from the sources: the key is stored in browser localStorage only, is pay-per-use, and is required to send chat. Entering a real key and sending a message is untested here because it needs the viewer's own key, and the video never claims otherwise.
Settings screenshot showing General options with Language set to English, captured by Scottek, with the key-stays-local note (Still from the walkthrough video.)
Verify with history backup
In the video: prove it works by exporting chats as a zip file any time in Data and importing one back the same way, with conversations and images restoring.
Added from the sources: this history export and import flow is the verify step, and the bundle confirms the history plus import flows the video teaches. The import and export round-trip with real chats is untested here, shown as the documented in-app flow on the empty-state Data tab where the download control enables once chats exist.
Added from the sources: keeping the server terminal running is the whole maintenance story, since reopening http://localhost:8090 any time the server runs restores the app. There is no database to back up beyond the history ZIP.
Paths not taken
In the video: no Docker, no build tools, no backend, and that is the entire install story.
Added from the sources: the pnpm dev and pnpm build path from a git clone needing Node plus pnpm is the heavier developer workflow and is not taught, and it was not executed, so it is untested here. Opening the built page directly by double-click works but carries file storage and cross-origin caveats, so the server path stays the deterministic one.
Added from the sources: there is no official Docker image, and third-party images are untrusted and not recommended. The online demo is for trying, not for self-hosting, since it defeats the point of the video.