Wallpaper generator

Wallpaper generator

My setup: margin-left=10, margin-right=10, margin-top=10, margin-bottom=50


Creates a wallpaper based on your progress on WaniKani


Open config.ini and enter your api-key.

Options available to set from config or commandline:

  -k [ --apikey ] arg                 API key

  -w [ --width ] arg (=1920)          Width of wallpaper

  -h [ --height ] arg (=1080)         Height of wallpaper

  -o [ --out ] arg (=out.png)         Output filename

  -f [ --font ] arg (=ipag.ttf)       Relative or absolute font filepath

  --margin-left arg (=0)              Space to leave blank to the left

  --margin-right arg (=0)             Space to leave blank to the right

  --margin-top arg (=0)               Space to leave blank to the top

  --margin-bottom arg (=0)            Space to leave blank to the bottom

  --color-background arg (=0x000000)  Color for background

  --color-unseen arg (=0x303030)      Color for unseen characters

  --color-apprentice arg (=0xDD0093)  Color for apprentice characters

  --color-guru arg (=0x882D9E)        Color for guru characters

  --color-master arg (=0x294DDB)      Color for master characters

  --color-enlightened arg (=0x0093DD) Color for enlightened characters

  --color-burned arg (=0xFFFFFF)      Color for burned characters

  --color-error arg (=0xFF0000)       Color for error’ed characters

Browser version (Javascript)


Desktop version (C++)

Source: https://github.com/Hexagenic/wanikaniwallpaper

Windows (32-bit): https://www.dropbox.com/s/4yedndxq9np9g4l/wanikaniwallpaper-windows-1.1-2.zip

Linux (x86): https://www.dropbox.com/s/mfujoedrafl8qyr/wanikaniwallpaper-linux-1.2-2.tar.gz

Alternate versions

Go (by rootnode)

Source: https://github.com/Kintaro/wanikaniwallpaper-go

Javascript (by DanielB)

Live: http://dbowring.github.com/wanikani-wallpaper-js

Source: https://github.com/dbowring/wanikani-wallpaper-js

JavaScript (by tobuei’s brother)

Live: http://nyaabuilder.nfshost.com/wanikani

Source: http://nyaabuilder.nfshost.com/wanikani/wanikani.zip

Python (by csp)

Live: http://wanikani-wetube.dotcloud.com

Source: https://github.com/cinemascop89/wanikani

C# (by Dakoina)

Live: http://wanikaniwallpaper.azurewebsites.net/

Source: https://docs.google.com/file/d/0BwhikhJW8Sredzk2N0lISFVSRFU/edit

PHP (by Masayoshiro)

Info: https://community.wanikani.com/t/automatically-generate-new-wallpaper/34275

Live: http://wkw.natural20design.com/

Similar Projects

Wanikani Progress Screensaver for OSX: /t/Wanikani-Progress-Screensaver-for-OSX/1583/1 (by MangoTree)


This is FANTASTIC. What a great idea! Isn’t there any way to make this a web app so that it’s platform-independent? I don’t know much about this stuff so forgive me if this is a dumb question. ^^;

It could quite possibly be turned into a webapplication, but currently C++ is the only language I’m really proficient in.

I could maybe give it a go in Javascript which I studied last year. But there would be two problems. One, it would be pretty slow (I have no idea how to write efficient javascript code). Two, I don’t have anywhere to host it where It could handle the traffic of Wanikani users :stuck_out_tongue:

If you’re going to use JS I (and probably a lot of people) have a server for that. I don’t think that will be a problem.

This is awesome! I’ll be really excited to use this.

ummmm I know how to compile in linux, but I have no idea how do run this stuff on windows (do makefiles even work in windows?) so if someone would care to explain how to port to windows that would be great

You’d have to set it up as a project in visual studio (or your environment of choice) and then include/link the libraries listed above.

There is a hardcoded path to an IPA font, “/usr/share/fonts/OTF/ipag.ttf”, that you have to change for the windows equivalent, but I’m working on figuring out how to access the font library in a more indirect/platform indepent way.

Very nice. I’m not even going to attempt to build this in Windows, but I’ll definitely be keeping an eye on it.

This is amazing! i’ll difinitely want to use that

Ahh! It looks lovely!

Really looking forward to using this !

Wintry: Ignorant
of compilers, a Windows
version I await.

good work!
looking forward to 1.0


Beautiful! It’s like the Matrix is teaching me kanji.

1 Like

Awesome! I can’t wait! really…is it ready yet?

How about now?

Now please? :smiley:

how about now ? :3

I’m looking forward to this. Also, it would be funny to see it only on linux.

Thank you. This was the perfect opportunity to play around with Go a little bit by porting it over, including command line options for different sizes or maybe different fonts. https://github.com/Kintaro/wanikaniwallpaper-go

This is absolutely amazing!!!  I will be waiting for this with much anticipation!

Thank you akranis and everyone else who adds input to this. ;)