GithubHelp home page GithubHelp logo

toby1991 / alfred-google-translate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xfslove/alfred-google-translate

0.0 1.0 0.0 27.82 MB

Alfred 3 workflow - 中英文互译

License: MIT License

JavaScript 100.00%

alfred-google-translate's Introduction

alfred-google-translate

NPM

安装

$ npm install -g alfred-google-translate

Requires Node.js 4+ and the Alfred Powerpack.

用法

在Alfred中, 输入tr, 和想要翻译的关键字, 会查询出关键字相关的翻译结果.

选中其中一个, 按enter复制翻译结果到剪切板.

按住cmd再按enter发音.

shift在google翻译官网查看翻译结果和其它更多内容.

如果输入关键字错误, 会有纠错提示, 按tab会用纠错后的关键字查询.

注意

最新版本已经不需要代理了,非常感谢 @lingyvpull request

由于使用的是google的翻译接口, 在大陆需要**才能使用, 需要电脑上有http代理, 然后在该workflow中添加如下两个环境变量

效果

corrected.pngtab: general.pngcmd: pronounce.pngshift: quicklook.png

Related

License

MIT ©

alfred-google-translate's People

Contributors

lingyv avatar xfslove avatar

Watchers

 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.