Kuuuube / kanjigrid

Kanji Grid for Anki 23.10+ with ui improvements and bug fixes.
https://ankiweb.net/shared/info/1610304449
GNU Affero General Public License v3.0
12 stars 3 forks source link

Kanji Grid Kuuube

Kanji Grid for Anki 23.10+ with improvements and bug fixes.

Installation

  1. Open Anki.

  2. On the top menu, go to Tools > Add-ons.

  3. Click Get Add-ons....

  4. Input 1610304449.

  5. Click OK.

  6. Restart Anki.

Usage

  1. On the top menu, go to Tools > Generate Kanji Grid.

  2. Select the deck to generate from with the Deck dropdown.

  3. Select the card field to check for kanji with the Field dropdown or type in multiple fields to check.

    Use the following format for searching multiple fields: field1 field2 "field with spaces".

  4. Optionally, edit any of the other settings to your liking.

  5. Click Generate.

Known Issues

  1. On Linux, some users have experienced issues with crashing when generating the grid. If this happens, try changing Anki to Vulkan or Software renderer.

    Tools > Preferences > Appearance > Video driver > Vulkan or Software

  2. In some cases, if you have edited the config file, you may run into issues. You can fix this by resetting the config:

    Tools > Add-ons > Kanji Grid Kuuube > Config, Restore Defaults, Save, Restart Anki.

Config Values

Improvements and Bug Fixes

Changelog compared to the old kanji grid add-on.

Improvements ### UI/UX - Field selector now uses a dropdown/text box combo instead of a text box. The default field value can be overwritten by setting `pattern` in `config.json`. - All decks can be searched at once by selecting `*` in the deck dropdown. - Key and key label are now centered. - Kanji grid and header line now fill the entire window width. - Background color is no longer hardcoded and will adapt to your Anki theme. - Default window size is larger to better fit modern display resolutions. - Kanji are rendered in a dynamic grid that will adapt to window size instead of a static table. - Automatically set language tag based on grouping and manual language tag setting. - Added better counts and percentages to grids. - Added context menu items for copying, browsing, and searching when right clicking a kanji tile. ### Config and Options - Config validation and safer loading to help prevent crashes. - Added option to copy kanji on click instead of searching in a web browser. - Added option to search in the Anki note browser instead of a web browser when clicking on kanji. - Added option for Additional Search Filters. - Option to set custom fonts per language setting. - Search option when clicking on a kanji is customizeable for each language. - Added option to sort within groupings. ### Groupings - Groupings are now contained in individual json files instead of a single python file. - Chinese character groupings can be selected. - Added Basic Kanji Book (BKB) V1 & V2 grouping. - Added JPDB Kanji Frequency List grouping. - Added The Kodansha Kanji Learner's Course (KLC) grouping. - Added JIS Levels grouping. - Added Thousand Character Classic grouping. - Added Humanum Frequency List grouping. - Added Words.hk Frequency List grouping. - Renamed `Probably Chinese` Kanji Kentei Level sort category to `Non-Kanji Kentei`. - Removed `Missing Kanji` in groupings when there are no missing kanji. ### Exporting - Added option to save Kanji Grid as JSON. - `Save Image` saves the entire page instead of only the visible portion. - `Save Image` can optionally save at up to 5x the displayed quality. Configurable in `config.json` with the `saveimagequality` setting. WARNING: On extremely large kanji grids this can cause anki to crash. Consider saving as a PDF for higher quality instead if that is an issue. - Added option to save Kanji Grid as PDF. - Filename is autofilled with deck name and date when saving. - Added option to save all kanji as TXT.
Bug Fixes - `Save HTML` and `Save Image` now properly function. - Fields with spaces in their name are now properly searchable. - Fixed divide by zero error when no kanji are found and a kanji grouping is selected. - Fixed JLPT kanji lists missing some characters. - Added missing characters (mostly kyujitai) to Kanji Kentei Levels. - Fixed a memory leak due to not cleaning up old webviews.

Info

Github Repository

Report Issues Here