LunaLens

通过HTTP API连接LunaTranslator实现浏览器上的原文的分词、翻译、朗读和查词功能

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
raindrop213
Denně instalací
0
Celkem instalací
5
Hodnocení
0 0 0
Verze
0.2.7
Vytvořeno
20. 09. 2025
Aktualizováno
20. 09. 2025
Size
83,4 KB
Licence
MIT
Spustit na
všech stránkách

🌙 LunaLens

LunaLens是一个专为移动端小说阅读设计的油猴脚本,通过连接LunaTranslator的HTTP API,在浏览器中实现文本分词、翻译、朗读和词汇查询功能,让您畅享无障碍的阅读体验。

✨ 核心功能

  • 🔍 分词注音:Mecab分词,加注音
  • 📚 即时词典:点击单词查询词典
  • 🌐 段落翻译:选中文本内容并翻译
  • 🔊 语音朗读:朗读句子或段落

🛠 视频演示

https://github.com/user-attachments/assets/b362eb4a-abd0-4656-bf73-b5e7f14f41d9

📥 安装指南

  1. 配置LunaTranslator

  2. ※重点:设置服务端

    • 填写你的服务器地址API_URL。(局域网ip的话需要设备与服务器出在同一个网段下,既换成对应的wifi)
    • 公益API https://luna.raindrop213.com
  3. 推荐阅读器