Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/la3rence/word

Recite the word by CLI from eudic. 欧路词典命令行背单词.
https://github.com/la3rence/word

binary cli eudic

Last synced: about 2 months ago
JSON representation

Recite the word by CLI from eudic. 欧路词典命令行背单词.

Awesome Lists containing this project

README

        

# Recite words by Command-Line Interface

## Get your eudic account

Register an account:

https://dict.eudic.net/Account/Register

Make sure you pick a word book to recite on eudic's website or mobile app.

## Expose the account to your shell

On macOS / Linux:

```shell
export EUDIC_USERNAME="[email protected]"
export EUDIC_PASSWORD="password"
```

On Windows:
You had better to use the WSL. If you're using the CMD, maybe the `set` command helps.

## Use the released binary artifact

Download the released artifact or you can do the build by your self:

```shell
go build
```

If the executable binary artifact shows up, you can run it.

```shell
chmod +x word
./word
```

![work](./cli.png)

## Reference

Check out the SDK: https://github.com/Lonor/go-eudic