npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

arvis-google-translate

v0.0.2

Published

Arvis workflow to translate with google translate api

Downloads

2

Readme

arvis-google-translate

NPM

JetBrains' support

jetbrain

Installation

To use this workflow you must also install the arvis-language-configuration workflow, and configure the language pair. See that README for instructions.

  • Voice feature not supported yet.

With NPM

  • Install with npm install -g arvis-google-translate.

Usage

arvis workflow Keyword: tr [word or sentence] Example: tr kitchen sink or tr Hello, my name is arvis

When translating a word you will see the translation as well as alternate translations if available.

With the first two results (which are the input word and the translation) you can…

  • press enter to read the item.
  • press cmd+C to copy the item.
  • press shift open the translate website.
  • press cmd+L to show the translation in large text.

The workflow will attempt to correct spelling mistakes which can be accepted with enter.

🔗 This workflow is converted from alfred-workflow.

  • Note that there might be some code change or different actions from the original workflow.

  • Marked original workflow's creator to author.

Environment Variables

| name | default value | description | | ---------- | ---------------------------- | ------------------------------------------------------------ | | domain | https://translate.google.com | if you cannot access the default domain, you can config this. 大陆访问不了默认域名,所以如果使用2.x版本需要将这个变量设置为https://translate.google.cn. 或者还是使用1.x版本 | | voice | remote | avaliable values: remote: fetch voice from google, local: use macOS local voice (notice: maybe only works on English),none: dont use voice | | save_count | 20 | limit the translation history, see arvis-translate-history. a value of 0 will keep no history | | socks_proxy| - | not turned by default. you can specify local or remote socks proxy. format: socks://{host}:{port} example: local shadowsocks proxy 'socks://127.0.0.1:1086' |

Screenshots

corrected.png

  • press enter to read or cmd+C to copy

    general.png

  • press shift to open the translation website

    quicklook.png

  • press cmd+L to show the translation in large text like this.

License

MIT ©