Text Explainer X

Explain selected text using LLM with follow-up chat, web search, and Anki integration

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
greasyfork-jake
日安装量
0
总安装量
0
评分
0 0 0
版本
1.0.0
创建于
2026-02-03
更新于
2026-02-03
大小
62.2 KB
许可证
MIT
适用于
所有网站

Text Explainer X

A browser userscript that explains selected text using LLM with follow-up chat, web search, and Anki integration.

Features

  • Text Explanation: Select any text and get instant explanations
    • Single words: Definition, pronunciation (IPA), context, example sentences
    • Phrases/sentences: Translation with tone preservation
    • Long text (500+ words): Structured summary with key points
  • Follow-up Chat: Ask follow-up questions about the explanation
  • Web Search: Integrated search via Brave, Kagi, or Tavily for current information
  • Anki Integration: Save vocabulary and knowledge as flashcards
  • Multi-provider LLM Support: OpenRouter, OpenAI, Anthropic, Gemini
  • Customizable: Keyboard shortcuts, floating button, response language

Installation

  1. Install a userscript manager:

  2. Install the script:

Configuration

Click the Tampermonkey icon and select "Text Explainer Settings" to configure:

Setting Description
Provider LLM provider (OpenRouter, OpenAI, Anthropic, Gemini)
Model Model name (e.g., openai/gpt-4o-mini)
Base URL API endpoint URL
API Key Your API key for the provider
Search Web search provider (Brave, Kagi, Tavily) + API key
Anki AnkiConnect endpoint URL + API key
Language Response language (Chinese, English, Japanese, etc.)
Shortcut Keyboard shortcut (default: Alt+D)
Float Btn Floating button for touch devices

Usage

  1. Select text on any webpage
  2. Press Alt+D (or your configured shortcut)
  3. View the explanation in the popup
  4. Ask follow-up questions or add to Anki

Credits

  • Original script: Text Explainer by RoCry
  • Enhanced version with follow-up chat, web search, and Anki integration

License

MIT License