deepseek-webgui

Installation
SKILL.md

deepseek-webgui

Overview

Drives the private API behind chat.deepseek.com — the same one the React frontend calls. Useful when the user wants to use their existing webgui account (free quotas, browser-based reasoning + search) from a script, TUI, or another tool, and does not want to (or cannot) move to the paid OpenAI-compatible API at platform.deepseek.com.

The hard part is the proof-of-work: every /api/v0/chat/completion call requires an x-ds-pow-response header containing a base64-encoded answer to a server-issued DeepSeekHashV1 challenge. The algorithm is implemented as an SHA3-based WASM solver inside the frontend bundle. This skill ships that WASM and drives it from Python via wasmtime so no Node.js is required at runtime.

When to use this skill

Reach for it when any of the following appears:

  • "use my deepseek web account / cookies / session", "free deepseek", "no API key"
  • "deepseek-tui", "deepseek4free", "wrap chat.deepseek.com"
  • "x-ds-pow-response", "DeepSeekHashV1", "POW challenge", "create_pow_challenge"
  • "parse deepseek SSE", "THINK fragment", "TOOL_SEARCH", "JSON-Patch deepseek"

Prefer the official OpenAI-compatible API at https://api.deepseek.com whenever the user has (or can get) a paid API key. It is faster, supported, and has no anti-bot. This skill exists for the case where that is not an option.

Installs
1
GitHub Stars
76
First Seen
Jun 6, 2026
deepseek-webgui — htlin222/dotfiles