Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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. 欧路词典命令行背单词.
- Host: GitHub
- URL: https://github.com/la3rence/word
- Owner: la3rence
- Created: 2021-04-07T06:43:07.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-09T01:09:22.000Z (about 1 year ago)
- Last Synced: 2024-05-30T02:17:16.710Z (7 months ago)
- Topics: binary, cli, eudic
- Language: Go
- Homepage: https://go.lawrenceli.me/eudic-sdk#readme
- Size: 1.12 MB
- Stars: 8
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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