Git Product home page Git Product logo

anki-kanji-wallpaper-generator's Introduction

Anki-kanji-wallpaper-generator

An Anki addon for automatically generating computer or mobile phone wallpapers containing the kanji tagged as learning (or a custom tag) in Anki notes.

The wallpapers contain the kanji on/kun readings and some compound words by JLPT level:

Wallpaper generated by addon

Credits:

Dependencies

  • Python Imaging Library
  • cjktools
  • Kanji Words for JLPT Anki addon

Setup

  1. Install Python Imaging Library

     >> pip install pillow
    
  2. Install cjktools

     >> pip install cjktools
    
  3. Install Kanji Words for JLPT Anki addon

  4. Install this addon by downloading the files and loading into the Anki addons directory.

Usage

  1. In the tools menu, select the 'Generate Kanji Wallpapers' option.

  2. Select the deck with the kanji notes. In the kanji field input box, write the field name where the kanji appears in the notes. For instance, if the note format is:

    Japanese: ่‰

    English: grass

    write 'Japanese' in the kanji field input box.

  3. In the type of cards input box, write which class of notes will be used for the automatic generation of wallpapers.

  4. Set the wallpaper resolution and the maximum number of compound words that will appear in the wallpaper. For a custom resolution or changing the default settings, select the option "Custom" in the Wallpaper resolution setting.

Donation

If you feel like buying me a green tea ๐Ÿต , donations are always welcome:

BTC address: 13yzqRjuzYrBJaRzhyutG9hHVtGXSBRfB1

anki-kanji-wallpaper-generator's People

Contributors

htadashi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

anki-kanji-wallpaper-generator's Issues

Error generating wallpapers

I got this error when trying to generate a deck:

An error occurred in an add-on.
Please post on the add-on forum:
https://anki.tenderapp.com/discussions/add-ons

Traceback (most recent call last):
File "C:\Users\my username\AppData\Roaming\Anki2\addons\kanjiwallpapers.py", line 302, in createSettingsDialog
start_generation()
File "C:\Users\my username\AppData\Roaming\Anki2\addons\kanjiwallpapers.py", line 418, in start_generation
generate_wallpaper(note[_pattern])
File "anki\notes.py", line 98, in getitem
File "anki\notes.py", line 95, in _fieldOrd
KeyError: u'Kanji'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.