WaniKani wallpaper generator

Posted on

Tags: japanese, wanikani, personal

I have been seriously learning Kanji characters for few months now using the WaniKani service, and have been using this wallpaper generator, and today something happened, so I finally decided to write my own.

It’s tested on FreeBSD. To try it out:

  1. Install zsh, SBCL
  2. Customize build.sh, and also generate a WaniKani APIv2 token, and add it:
    export WANIKANI_TOKEN="YOUR WANIKANI TOKEN"
  1. Run ./build.sh:
    λ ./build-my.sh
    The most up-to-date client, version 2020-01-04, is already installed.
    1 dist to check.
    You already have the latest version of "quicklisp": 2020-07-15.
    To load "dexador":
      Load 1 ASDF system:
        dexador
    ; Loading "dexador"
    ......
    To load "alexandria":
      Load 1 ASDF system:
        alexandria
    ; Loading "alexandria"
    
    To load "yason":
      Load 1 ASDF system:
        yason
    ; Loading "yason"
    
    To load "ironclad":
      Load 1 ASDF system:
        ironclad
    ; Loading "ironclad"
    
    To load "babel":
      Load 1 ASDF system:
        babel
    ; Loading "babel"
    
    To load "iterate":
      Load 1 ASDF system:
        iterate
    ; Loading "iterate"
  1. An executable file is generated in ~/bin/wk-bg, which will output /tmp/wk-bg.svg depending on your progress status, which you can then convert with rsvg-convert (or your favourite .svg to .png converter), and use the output as wallpaper.

Good luck!

“What does not destroy me, makes me stronger.” (Friedrich Nietzsche)