English · 简体中文
Bob selection-translation plugin: select any text and have a large language model "explain it in plain, simple words."
This plugin targets the free community edition of Bob and works with any OpenAI-compatible or Anthropic-compatible API — cloud services (OpenAI / DeepSeek / Zhipu, etc.) or local models (Ollama / LM Studio / various proxy gateways).
- Select any text and press option + d (the selection-translation hotkey) to have an LLM explain it
- Custom prompt: defaults to "Explain the following in plain, simple words: $text", freely editable
- Custom API: both OpenAI-compatible (
/chat/completions) and Anthropic-compatible (/messages) formats - Streaming-compatible: always requests in streaming (SSE) mode, supporting local services that only provide streaming output
- Connection test: translate the word
test(or测试) to verify your configuration
- Download the latest
bobplugin-explain-vX.X.X.bobpluginfile from Releases - Double-click the file and Bob installs it automatically
- Open Bob Preferences → Services → Text Translation and find "解释一下"
Requires Bob free community edition 0.5.0 or later.
Fill in the fields under Bob Preferences → Services → Text Translation → 解释一下 → Settings:
| Option | Description | Example |
|---|---|---|
| API URL | Full request URL, OpenAI- or Anthropic-compatible | See examples below |
| API type | OpenAI-compatible / Anthropic-compatible | Anthropic format uses the x-api-key header |
| API Key | Service secret; usually left empty for local models | sk-... |
| Model name | Depends on your service endpoint | gpt-4o-mini, deepseek-chat, wb-deepseek-v4-pro |
| User prompt | Prompt template; $text is replaced with the selected text, $to is the target language |
Explain the following in plain, simple words: $text |
| Service | API URL | API type |
|---|---|---|
| OpenAI | https://api.openai.com/v1/chat/completions |
OpenAI-compatible |
| DeepSeek | https://api.deepseek.com/v1/chat/completions |
OpenAI-compatible |
| Ollama local model | http://localhost:11434/v1/chat/completions |
OpenAI-compatible |
| Local gateway with Anthropic format | http://127.0.0.1:8317/v1/messages |
Anthropic-compatible |
Type test (or 测试) in any input box, select it, and press option + d. The plugin sends a test request and shows:
✅ 连接成功
端点: http://127.0.0.1:8317/v1/messages
类型: anthropic 模型: wb-deepseek-v4-pro
回复预览: ok
On failure it shows the specific error (network error / status code / API error) to help troubleshooting.
- Default prompt: select a piece of code or a term → option + d → get a plain-language explanation
- Try different prompts in the "User prompt" field:
Polish the following text to sound more professional: $textSummarize the three key points of this passage: $textTranslate this passage into English and explain its slang: $text
npm install # install dependencies
npm run build # build, output in dist/
npm run dev # dev mode (watch)
python3 scripts/gen-icon.py # regenerate icon (requires Pillow)- Based on the engineering scaffold of tingv/bobplugin-google-translate
