Giter Site home page Giter Site logo

lijy91 / biyi Goto Github PK

View Code? Open in Web Editor NEW
1.3K 10.0 113.0 18.38 MB

Biyi (比译) is a convenient translation and dictionary app written in Flutter.

Home Page: https://biyidev.com

License: GNU Affero General Public License v3.0

Ruby 0.69% Dart 85.60% Swift 0.89% CMake 4.61% C++ 7.02% C 0.37% Shell 0.31% Java 0.03% Objective-C 0.01% HTML 0.47%
translate flutter flutter-desktop flutter-web flutter-web-app flutter-desktop-app flutter-app translator translation dictionary

biyi's Introduction

biyi

GitHub (pre-)release GitHub (pre-)release

Biyi is a convenient translation and dictionary app written in Flutter. View document

"Biyi" (比译) is the Chinese word for "Comparison + translation".


English | 简体中文


Platform Support

Linux macOS Windows
✔️ ✔️ ✔️

Installation

Downloads are available on the Releases page. Also check out the website for other installation methods.

To install with Homebrew, run:

brew tap biyidev/biyi
brew install biyi

Development

We welcome you to join the development of Biyi.

Please make sure to read the Contributing Guide before making a pull request.

⚠️ Linux requirements

Run the following command

sudo apt-get install appindicator3-0.1 libappindicator3-dev
sudo apt-get install keybinder-3.0

Before You Start

  1. Create working directory
$ mkdir ~/biyidev
$ cd ~/biyidev
  1. Clone this repo via git:
$ git clone https://github.com/biyidev/biyi.git
  1. Change to biyi directory
$ cd ~/biyidev/biyi
  1. Install dependencies
$ melos bs

Run app

$ cd apps/biyi_app
$ flutter run -d linux / macos / windows

Discussion

Welcome to join the discussion group to share your suggestions and ideas with me.

Related Links

License

AGPL

biyi's People

Contributors

lijy91 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

biyi's Issues

记忆上一次窗口位置

测试发现当前的窗口出现位置是跟随托盘位置走的,那么当顶部菜单栏很满的情况下,始终会出现在最左侧,体验不太好,由于现在可以拖拽窗口,可以考虑让用户自行拖拽窗口到合适的位置,然后呼出的时候就是以这个位置出现,即记忆上一次的位置即可

请求增加“自动去除多余空白/换行/英文连接符”的功能

在阅读PDF版英文文献时,如果需要划词翻译的内容跨行,翻译时会保留多余的空白/换行/英文连接符。

例如:

请求增加“自动去除多余空白/换行/英文连接符”的功能。

感谢作者的开发,比译是一个非常好的软件。希望它能不断进步!

德语 发音

希望添加德语发音
最好其它语种也能加上发音功能

其实我更想使用个人词典
具体来说,使用者
A 输入
1输入某串文字
2录入对应语音
B 查询
1查询某串文字
2听到对应语音

翻译对我来说没有语音重要
所以只要有文字和语音就行
也许因为很多人对功能的幻想过于执着
这种需求便会显得过于简朴

best wishes

取词错误

默认情况下,界面取词得到反馈Instance of UniOcrClientError,同时也无法取到词。
image

Support real-time translation

When I translate the content again, I must click the translate button many times to trigger the translation action

[bug] failed to launch on linux

Linux version:

# uname -a
Linux alex 5.14.10-1-MANJARO #1 SMP PREEMPT Thu Oct 7 06:43:34 UTC 2021 x86_64 GNU/Linux

biyi version: biyi-0.3.3+6-linux.zip

  1. libkeybinder not found
./biyi: error while loading shared libraries: libkeybinder-3.0.so.0: cannot open shared object file: No such file or directory

fixed by install libkeybinder-3.0

  1. undefined symbol: uuid_generate
./biyi: symbol lookup error: /data/projects/biyi/lib/libtray_manager_plugin.so: undefined symbol: uuid_generate

Translation results overflowing the screen

If there are too many translation results, the window will expand downwards and the content will overflow beyond the visible area.

I suggest adding vertical scrollbars and adapting the window width against the length of the content to make more content visible.

Click to see picture

pic

libtray_manager_plugin.so: undefined symbol: uuid_generate

你好,我想在 Arch 下使用,用 release 的 deb 包转换安装后提示

/usr/lib/biyi_app/biyi: symbol lookup error: /usr/lib/biyi_app/lib/libtray_manager_plugin.so: undefined symbol: uuid_generate

是需要安装什么依赖么?

macOS下托盘图标样式希望能有自动模式

macOS下托盘图标样式希望能有自动模式,在正常亮的模式下是黑色图标,然后在暗黑模式下是白色图标,目前需要手动更改,希望能跟随系统自动变化。

esc 窗口隐藏功能

目前有快捷键支持呼出,同样的快捷键可以隐藏,且窗口失去焦点也可以隐藏。希望增加 esc 的方式隐藏,体验类似 Alfred

macOS中esc键失灵

比译版本: v0.3.4 (BUILD 7)
macOS BigSur 11.1
macbook pro 15-inch 2019

开启比译前:

  • esc键正常

开启比译后:

  • 无法触发包括vscode,截图工具,vim等esc键的功能
  • 按键测试工具中按下esc键检测不到
  • 按键测试工具中按下shift+esc键可以成功检测到shift和esc
  • option+command+esc可以正常呼出强制关闭
  • 打开比译弹窗后按下esc可以正常关闭
  • 钉住比译弹窗后转移焦点到其他程序后按下esc也会关闭比译
  • 将设置>键盘快捷键>隐藏 设为其他按键如1后,上述情况就换成1了

推测:

  • 可能全局拦截了快捷按键

期望:

  • 开启比译后可以正常使用esc键

【功能建议】1、翻译窗口跟随鼠标;2、深浅主题跟随系统(Win)。

如题,
第1点——对于划词翻译来说,翻译窗口位置能跟随鼠标可以大大方便鼠标以最快的速度进行下一步操作(如复制翻译结果等);
第2点——个人平时系统(Win11)主题白天是浅色,晚上是深色,所以比译的深浅主题若能跟随系统自动切换,就更完美了~~~

感谢作者的杰作,让大家的生活更美好,谢谢!!

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.