π¦ ClawHub
Chat DeepSeek by Browser
by @qidu
openclaw browser open https://chat.deepseek.com and login it, then input questions from user's messages, extract response of deepseek chat to reply user.
β‘ When to Use
βοΈ Configuration
Phone Number Configuration
The user's phone number can be configured in several ways:
1. Environment Variable: Set DEEPSEEK_PHONE environment variable
export DEEPSEEK_PHONE="+1234567890000"
2. USER.md: Add phone number to USER.md file
# USER.md
Phone: +1234567890000
3. Configuration File: Add to OpenClaw configuration
// In your implementation code
const userPhone = config.userPhone || process.env.DEEPSEEK_PHONE || "+1234567890000";
QR Code Path Handling
The screenshot path is automatically returned by the browser tool's screenshot action:
const screenshotResult = await browser({ action: "screenshot", profile: "openclaw", targetId: tabId });
const screenshotPath = screenshotResult.path; // Use the actual path from result
Important: Never assume a fixed path like /Users/chris/.openclaw/media/browser/. Always use the path returned by the browser tool.
π Tips & Best Practices
If profile: "user" times out:
1. Restart the OpenClaw gateway: openclaw gateway restart
2. Try again with browser action
TERMINAL
clawhub install freechat-deepseek