Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndyag/dict
Look up word definition with Merriam Webster's Developer API
https://github.com/ndyag/dict
anki dictionary english merriam-webster
Last synced: 8 days ago
JSON representation
Look up word definition with Merriam Webster's Developer API
- Host: GitHub
- URL: https://github.com/ndyag/dict
- Owner: NdYAG
- Created: 2017-09-06T02:37:42.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-06T09:24:20.000Z (2 months ago)
- Last Synced: 2024-10-13T23:35:35.989Z (23 days ago)
- Topics: anki, dictionary, english, merriam-webster
- Language: JavaScript
- Homepage:
- Size: 190 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dict
[AnkiMobile now supports adding note through URL scheme](https://apps.ankiweb.net/docs/am-manual.html#url-schemes), which makes it possible to add words to Anki with the help of [Workflow iOS](https://workflow.is/) with much ease.
Basically the flow runs in this way:
![](http://7d9o0k.com1.z0.glb.clouddn.com/dict.png)
_Select a word while you are reading on iOS device -> Share -> Run Workflow -> Get word pronunciation and definition using this API -> Save to Anki_
[You can get this workflow here](https://workflow.is/workflows/6a9aa8f662c54ade9c43b7752f3c42b1), then deploy your own dictionary service and alter the Anki x-callback scheme based on your own profile/deck/field.
Behind dict is [mw-dict](https://github.com/NdYAG/mw-dict), which serializes word definition into a developer-friendly and readable json format from Merriam Webster's Developer API.
## start
```shell
yarn
cp config.sample.js config.js # insert your API key from dictionaryapi.com
node index.js --port=3001
```