This WaniKani script lets you study much more vocabulary for each kanji than is included in WaniKani, by showing hiragana pronunciation, definitions, part of speech, and commonality indicators for vocabulary retrieved from Jim Breen's WWWJDIC API. It also allows you to listen to any native speaker pronunciations from Forvo for each vocabulary word (if you pay $24/year for a Forvo API key), and allows you to filter audio by Forvo username (and thus filter by regional dialects).
The Vocab Beyond section is rendered on kanji lessons, kanji reviews, and kanji pages.
Vocab Beyond will still show WWWJDIC vocab, even if you don't configure it with a valid Forvo API key.
- Tampermonkey
- Forvo API key (optional)
- Install @rfindley 's WaniKani Open Framework according to these instructions.
- Install this script from Greasyfork at https://greasyfork.org/en/scripts/372737-wanikani-vocab-beyond
- (Optional) Configure Vocab Beyond with your Forvo API key.
- Sign up for a Forvo account at https://forvo.com/signup/
- Purchase a Fovo API key at https://api.forvo.com/plans-and-pricing/
- Copy your Forvo API key from https://api.forvo.com/account/
- Open the Vocab Beyond settings from the menu at the top right of your WaniKani dashboard:
- Paste your API key into the field under the Audio settings tab:
This section explains any settings options that aren't entirely self-explanatory.
Each non-profit tier Forvo API key is limited to 500 API requests per day. To avoid hitting your quota, you can limit the maximum number of WWWJDIC vocabulary words to query the Forvo API with, using vocab settings in this tab:
By default, Vocab Beyond is rendered in:
-
Kanji lessons: In the last "Examples" tab
-
Kanji reviews: At the bottom of the expanded Item Info section
-
Kanji pages: After the "Found in Vocabulary" section
By checking Show Vocab Beyond first
, the Vocab Beyond section will be rendered first, so you can see it as soon as possible:
-
Kanji lessons: In the first "Radicals" tab
-
Kanji reviews: At the top of the expanded Item Info section
-
Kanji pages: At the top of the page
If you have enabled the "Show uncommon vocab" checkbox in the Vocab settings tab, you'll see orange circular icons beside uncommon vocabulary.
Post a comment at https://community.wanikani.com/t/userscript-wanikani-vocab-beyond/33046 or open a GitHub Issue at https://github.com/normful/wanikani-vocab-beyond
You can build the script locally by installing yarn and building with webpack:
git clone git@github.com:normful/wanikani-vocab-beyond.git
cd wanikani-vocab-beyond
brew install yarn
yarn
yarn build
Development commands:
yarn build
runs webpack onceyarn watch
runs webpack and watches for changesyarn lint
runs TSLint on all TypeScript filesyarn prettier
runs Prettier on all TypeScript filesyarn test
runs Jest tests onceyarn testwatch
runs Jest tests and watches for changes
In development, you might also want to:
- change the webpack mode to
"development"
- enable WKVB logging
- enable
gm-http
logging
(Notes to self): For releasing a new version:
- run
release-it
https://greasyfork.org/en/scripts/372737-wanikani-vocab-beyond/admin is already configured to pull from GitHub, but you can press the Update and sync now
button if you're impatient.
Thanks @rfindley and @axetroy for the following projects that this script heavily relies on: