How owenma130-maker/edge-deepseek-bridge works
Edge DeepSeek Bridge exposes a local HTTP service that lets Claude Code or another client send prompts to, and read conversation history from, DeepSeek’s website through a Playwright-controlled browser—without using an API. The main flow is HTTP request → FastAPI route → DeepSeekAgent DOM operation → browser page → DeepSeek response, returned to the caller. The repository also includes a command-line collaboration coordinator and an example client. README documents stable-response detection, read-only-page handling, configurable truncation, and cross-platform browser support; these capabilities are described, but not all were visible in the sampled excerpts.
Main entry points: proxy_service.py FastAPI Service · browser_controller.py Browser Controller · deepseek_agent.py DeepSeek Agent · config.py Bridge Configuration
Components 10
HTTP Bridge
- FastAPI Service
bridge/proxy_service.py
Browser Automation
- DeepSeek Agent
bridge/deepseek_agent.py - Browser Controller
bridge/browser_controller.py
Claude Clients
- Collaboration Coordinator
bridge/deepseek_coordinator.py - Example Client
bridge/client_example.py
Runtime Settings
- Bridge Configuration
bridge/config.py
Other components
- Claude Code
- HTTP Client
- Edge / Chromium
- DeepSeek Website
Connections 15
- Claude Code → FastAPI Service: calls HTTP
README.md - HTTP Client → FastAPI Service: calls HTTP
README.md - FastAPI Service → Browser Controller: starts browser
bridge/proxy_service.py - FastAPI Service → Browser Controller: gets page
bridge/proxy_service.py - FastAPI Service → DeepSeek Agent: creates agent
bridge/proxy_service.py - FastAPI Service → DeepSeek Agent: reads history
bridge/proxy_service.py - FastAPI Service → DeepSeek Agent: sends prompt
bridge/proxy_service.py - Browser Controller → Edge / Chromium: launches browser
bridge/browser_controller.py - Browser Controller → DeepSeek Website: opens website
bridge/browser_controller.py - DeepSeek Agent → DeepSeek Website: operates DOM
bridge/deepseek_agent.py - Browser Controller → Bridge Configuration: reads settings
bridge/browser_controller.py - DeepSeek Agent → Bridge Configuration: reads selectors
bridge/deepseek_agent.py - FastAPI Service → Bridge Configuration: reads service settings
bridge/proxy_service.py - Collaboration Coordinator → FastAPI Service: calls HTTP
bridge/deepseek_coordinator.py - Example Client → FastAPI Service: calls HTTP
bridge/client_example.py