YomiSaver is a Chrome extension designed to help you learn Japanese effortlessly by adding furigana (reading aids) to web pages, building vocabulary lists, and exporting Anki-compatible flashcards.
- Furigana Injection: Automatically adds furigana to Japanese text on web pages using the Kuromoji tokenizer
- Interactive Popups:
- Hover over Japanese text to see definitions
- Auto-positioning to stay within viewport
- Auto-closes after 3 seconds unless hovered
- Shows JLPT level when available
- Displays word readings and meanings
- Vocabulary Saving:
- Save words via context menu
- Automatic saving when viewing definitions
- Prevents duplicate entries
- Clean Display:
- Removes furigana from popup displays
- Properly formats meanings with parts of speech
- Shows grammatical tags and additional info
- Clone or download this repository
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" in the top right corner
- Click "Load unpacked" and select the directory containing this project and delect the dist folder
and if you're forking this repo to develop
- Run
npm install
to install dependencies - Run
npm run build
to build the extension
Visual tutorial available on my website. Click here!
-
View Word Definitions:
- Hover over any Japanese text to see its definition
- Popups position themselves intelligently to stay visible
- Move mouse to popup to keep it open
- Press ESC to dismiss popup
-
Save Vocabulary:
- Right-click on text and choose "Save Word to Flashcards"
- Words are automatically saved when viewing definitions
- View saved words in extension popup
background.js
: Handles API requests and vocabulary storagecontent.js
: Manages furigana injection and popup interactionsmanifest.json
: Extension configurationstyles.css
: Popup and furigana stylingpopup.html/js
: Vocabulary list viewerwebpack.config.js
: Build configuration
- kuromoji: Japanese text tokenizer
- Webpack for building
- Chrome Extension APIs
- Furigana injection working
- Hover popups implemented
- Smart popup positioning
- Auto-close behavior
- Clean text display
- Anki export support
- Options menu
The Japanese dictionary data is provided by Jisho.org's API. Jisho.org is a powerful Japanese-English dictionary that provides word definitions, readings, and JLPT levels. It uses the EDICT/JMdict dictionary files from the Electronic Dictionary Research and Development Group under the Creative Commons Attribution-ShareAlike License (CC BY-SA 3.0).