mengxi-ream/read-frog

🐸 Read Frog - Language Learning & Translate | 🐸 陪读蛙 - 语言学习与翻译

Read Frog – AI‑powered language‑learning browser extension

What it is – A free, open‑source browser add‑on (Chrome, Edge, Firefox) that brings AI‑driven translation, explanation, text‑to‑speech and flash‑card creation directly to any web page you read.

Key capabilities

Feature What you get
Bilingual / Translation‑only mode Switch between side‑by‑side original + translation or replace the page with the translation.
Selection translation Highlight any text → a toolbar appears with Translate, Explain and Speak actions that work in real time.
Context‑aware translation The extension sends the page title and a compact Markdown dump of the page to the LLM so translations respect domain‑specific terminology.
Subtitle translation YouTube subtitles are translated on‑the‑fly, showing both original and translated lines.
Text‑to‑speech (TTS) Uses Microsoft Edge TTS (150+ voices, 80+ languages). Auto‑detects language, maps to appropriate voice, and streams speech with sentence‑aware chunking.
Batch requests Groups many translation calls into a single API request, cutting token usage and cost by up to 70 % with automatic retry/fallback logic.
20+ AI providers Through the Vercel AI SDK you can connect to OpenAI, Anthropic, Gemini, Groq, Ollama, DeepSeek, Mistral, etc., plus free translators like Google Translate, Microsoft Translate and DeepLX.
Custom AI actions Define your own prompts, output fields and icons; run them from the selection toolbar for dictionary look‑ups, rewriting, summarising, etc.
Flashcards & spaced‑repetition Save vocab/notes to Notebase, generate flashcards with custom templates, and review them using an SM‑2‑style scheduler.

How to start

  1. Install from the Chrome Web Store, Microsoft Edge Add‑ons, or Firefox Add‑ons (links in the README).
  2. Open any webpage, select text, and use the floating toolbar.
  3. Configure an AI provider in the extension’s settings (API key, model, etc.) – the UI guides you through the 20+ supported services.
  4. Join the community on Discord (or WeChat for mainland China) for help and feature requests.

Licensing – Dual‑licensed under GPL‑v3 for open‑source use and a commercial license for closed‑source products (e.g., Meituan Tabbit Browser Team). See CONTRIBUTING.md for contributor terms.

Who it’s for – Language learners who want AI‑enhanced reading without leaving the browser, developers who want a ready‑made example of AI‑driven UI extensions, and educators looking for a tool to generate study material on‑the‑fly.

Links

  • Website & docs: https://readfrog.app
  • Demo GIFs in the README show the popup and page‑wide translation UI.
  • Source code, issue tracker and release notes are on GitHub.