Text Explainer X

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

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 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