Skip to content
/ ydict Public
forked from TimothyYe/ydict

Yet another command-line dictionary for geeks!

License

Notifications You must be signed in to change notification settings

SkyHive/ydict

 
 

Repository files navigation

██╗   ██╗██████╗ ██╗ ██████╗████████╗
╚██╗ ██╔╝██╔══██╗██║██╔════╝╚══██╔══╝
 ╚████╔╝ ██║  ██║██║██║        ██║   
  ╚██╔╝  ██║  ██║██║██║        ██║   
   ██║   ██████╔╝██║╚██████╗   ██║   
   ╚═╝   ╚═════╝ ╚═╝ ╚═════╝   ╚═╝   

Release MIT licensed Build Status Go Report Card

Ydict, another command line dictionary for geeks!

(中文介绍文档)

Features

  • Chinese -> English
  • English -> Chinese
  • Show hints if word is not found
  • Speech

Installation

Homebrew

brew tap timothyye/tap
brew install timothyye/tap/ydict

Using Go

go get github.com/TimothyYe/ydict

Manual Installation

Download it from releases, and extact it to /usr/bin.

Speech

Starting from V0.9, speech feature is available. You need to install mpg123 to enable this feature.

NOTICE: Currently, speech feature is only available for MacOS/Linux.

Mac OS

brew install mpg123

Ubuntu

sudo apt-get install mpg123

CentOS

yum install -y mpg123

Usage

  1. Query
ydict <word(s) to query>
  1. Query with speetch (Available for MacOS & Linux)
ydict <word(s) to query> -v

SOCKS5 proxy

Starting from V0.5, you can use SOCKS5 proxy. At the same directory of ydict, just create a .env file:

SOCKS5=127.0.0.1:7070

Now all the queries will go through the specified SOCKS5 proxy.

Help

Just type "ydict" to get help.

Licence

MIT License

About

Yet another command-line dictionary for geeks!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%