Giter Site home page Giter Site logo

cheney1941 / fluentread Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bistutu/fluentread

0.0 0.0 0.0 13.13 MB

拥有基于上下文语境的人工智能翻译引擎,为网站提供更加友好的翻译,让所有人都能够拥有基于母语般的阅读体验。

Home Page: https://fr.unmeta.cn

License: GNU General Public License v3.0

JavaScript 68.16% Go 31.84%

fluentread's Introduction

流畅阅读 流畅阅读

Fluent Read,基于母语般的阅读体验

拥有基于上下文语境的人工智能翻译引擎,为网站提供更加友好的翻译,让所有人都能够拥有基于母语般的阅读体验。

sample-git-1.gif

安装指南

  1. 在浏览器中安装 油猴插件(如已安装则跳过)
  2. 在油猴中安装 流畅阅读 插件

如何使用?

  1. 打开油猴插件,配置你想要的翻译服务(如果选择 AI 翻译则需要填写 token)。

    sample-git-1.gif

  2. 翻译功能

    流畅阅读提供了 2 种翻译方式,分别为:

    • 将鼠标悬浮在想要翻译的文本上面,按下快捷键进行翻译。
    • 持续按住快捷键,鼠标滑动至文本进行翻译。
  3. 缓存与回译功能

    为了避免 AI 模型重复翻译句子,流畅阅读基于每个页面做了缓存,你无需关心具体细节(蓝色表示正常翻译、绿色表示使用缓存)。

    sample-git-1.gif

    当你将鼠标悬浮在已翻译的文本上并按下快捷键时,会触发“回译”功能。

    sample-git-1.gif

  4. 部分网站定制化翻译功能

    由于部分网站属于“较常”访问的站点,流畅阅读在编写时考虑到了这些场景,因此针对部分网站做了专门的翻译,这些站点包括但不限于:

    OpenAI官网Docker仓库Maven仓库StackoverflowGitHub Star 趋势生成网Coze人工智能助手

为什么是流畅阅读?

  1. 程序开源、免费

  2. 代码接受审查、不收集任何用户信息,保证数据安全

  3. 支持常见国外或国产AI大模型,如:

    chatGPTGemini通义千问智谱清言文心一言moonshot

  4. 支持 chatGPT 自定义 API 接口地址,支持使用国内代理访问

常见问题解答

1、我该如何获取 token?   如果你想获取各家大模型的 token,建议直接在百度或 Google 中以关键词 模型名称 + api 进行搜索。
2、为什么翻译的内容不准确?   翻译可能不准确的原因有很多。首先,翻译引擎可能无法完全理解原文的上下文和细微的语言差异。其次,不同语言之间的语法结构和表达方式可能存在很大差异,这使得直接翻译时难以保留原文的全部含义。建议更换其他模型进行尝试
3、我的数据会被中间人获取吗?   流畅阅读代码完全开源,不会收集你的数据,你的所有翻译请求都会被直接转发至相应的官方接口。所以说,你的数据安全取决于你所使用的翻译服务提供商。

版本更新记录

  • 2024-02-18:1.0版本发布。
    1. 接入微软机器翻译
    2. 接入 OpenAI、智谱清言、文心一言、通义千问、Gemini、moonshot 人工智能引擎
    3. 增加鼠标快捷键操作
    4. 增加翻译缓存与回译功能
  • 2024-01:0.6版本发布,增加讯飞翻译引擎
  • ...
  • 2023-12:0.1版本发布

开源许可证

GPL-3.0 license

star 历史记录

Star History Chart

最重要的事情!

春招求职!

姓名:Chen Miankang

院校:北京信息科技大学 计算机专业 2024 届本科毕业生

专业技能:熟悉 Go 以及 Java 生态

实习经历:米哈游(半年)

独立开发者作品:流畅阅读音乐迁移网站空闲教室查询应用

在线简历点击查看

联系方式[email protected]

wechat

fluentread's People

Contributors

bistutu avatar 520250 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.