WaniKani + Rainmeter (Windows)

InfiniteShift said... Hmm, my lessons and reviews stopped showing up...
That's strange… I can't see why it would just stop working if you haven't changed anything. Could you maybe have exceeded the 100 API requests/hour by using a whole bunch of WaniKani third-party apps (WaniKani + Rainmeter uses 12 per hour unless you changed the refresh rate to be shorter than 5 minutes)?

Another possibility is that either your internet connection or WaniKani was down. Does it work now?

Nope, still not working. I don’t use any other WaniKani apps. I haven’t changed anything other than the font and the clock to 24h time. Even after the change it’s been working. I tried refreshing it, and reloading it. idk…

EDIT: Bahaha, I restarted Rainmeter and now it’s working. Haha.  That was odd… I’m not sure why it suddenly stopped working.

Works great. Thanx a mil. 

A slight modification you could make to the installation post to make it even simpler is that instead of going through users > Documents > etc … to get to the file, you can just click the raindrop in your tray and click on “Wanikani.ini” and click edit. 


Daikonran said... Works great. Thanx a mil. 

A slight modification you could make to the installation post to make it even simpler is that instead of going through users > Documents > etc ... to get to the file, you can just click the raindrop in your tray and click on "Wanikani.ini" and click edit. 


 Good point! I've updated the instructions accordingly.

This is fabulous, thank you!

bk-210 said... Windows users have been a little left out of all the recent API fun. I myself don't use Windows, but since it's クリスマス today I figured I would download a trial of Windows 8 and port my WaniKani + GeekTool desktop widget to Windows.



This version looks pretty much identical to the Mac version even though it was rewritten from scratch. The most noticeable difference is that it uses Segoe UI instead of Helvetica Neue as default typeface. Also, it relies on Rainmeter instead of GeekTool. Rainmeter is in most ways vastly superior to GeekTool, and makes the installation process much simpler for the end user.

Here are the steps to follow:
1. Download and install Rainmeter
2. Download and install my Rainmeter skin: http://cl.ly/0u0L1R3Y001l
3. Go to C:\Users\Your_Username\Documents\Rainmeter\Skins\WaniKani\ (ugh, backslashes…) and open WaniKani.ini in a plaintext editor (such as Notepad, or something better like Sublime Text)
4. Go to http://www.wanikani.com/account, copy your API key, and paste it on line 13 of WaniKani.ini after “APIKey=”. Save the edited file.
5. Right click the Rainmeter icon on the Taskbar and select “Refresh all” (or wait 5 minutes for the skin to refresh automatically).
6. Move the skin to where you would like it to be by clicking and dragging it (but make sure to click directly on the text or icons, or it won’t move).

Optionally, you can customise many things, such as the colour of the text and icons, by making very simple edits to the code in WaniKani.ini. Most of what you might want to change is located in the top 30 lines of the file, and I’ve added comments to make things easier. If you have any questions, feel free to ask me. A good website to find nice colours and their RGB values is http://www.colourlovers.com/.

The icons I included are from the Iconic icon set and are licensed under a CC-BY-SA 3.0 licence. Here’s a link to the author’s website: http://somerandomdude.com/work/iconic/.

Hope you enjoy! (=^ェ^=)

Edit: Posted a slightly improved version which displays the current time instead of the time obtained from the API request  for “Next Review” when the next review is available now.  Since the skin only fetches new data every 5 minutes (so as not to overwhelm the WaniKani servers), this meant that the Next Review time displayed was in the past four minutes out of five when you had reviews available now.

Edit 2: If you decide to install Rainmeter in portable mode, check out Psycoder’s extra steps (third post on first page).

Edit 3: If you want to display a 24h clock, replace the timeConvert.lua file in  C:\Users\Your_Username\Documents\Rainmeter\Skins\WaniKani\ with this one: http://cl.ly/code/2l0Y0Q321Y0m/timeConvert.lua

 What is the name of the cute  cartoon-based figure?
Juichiro said... What is the name of the cute  cartoon-based figure?
 ダンボー

A (real) cardboard robot from よつばと!

There's also an amazon.co.jp version

wow, amazing, great job!

So my clock says it’s 1:12am EST, but my reviews time is stuck on PST time. Like it says my review is at 11:09PM PST instead of telling me the time in EST.
How do I change this?

I was just writing my own when I found yours. Guess I should look harder next time. Nice work btw! ;p I modified it to be vertical instead of horizontal. 


can this also be used for Windows 7?

Riechan said... can this also be used for Windows 7?
 Yup. I'm on win7

Sweet - thanks for this! Should really come in useful :smiley:

Hopefully it won’t look too cluttered with my AltimitOS desktop… I’ve grown overly attached to that thing.

Anyone else’s wanikani+rainmeter thing not working ever since about two “patches” ago?

Saponutti said... Anyone else's wanikani+rainmeter thing not working ever since about two "patches" ago?
 What is it not doing? I just installed it for the first time with the latest beta version and it works just fine.
Aryth said... What is it not doing? I just installed it for the first time with the latest beta version and it works just fine.
 It's not displaying my lessons and my reviews. All I see it the time.
Saponutti said...
Aryth said... What is it not doing? I just installed it for the first time with the latest beta version and it works just fine.
 It's not displaying my lessons and my reviews. All I see it the time.
Did you maybe generate a new API key recently? You only seeing the time suggests that the Rainmeter skin is functioning properly, but is unable to fetch new data from the API. Make sure that the value after "APIKey=" on line 13 of WaniKani.ini (Right click the Rainmeter icon on the Taskbar and select "WaniKani" -> "Edit Skin") is exactly the same as the one displayed on http://www.wanikani.com/account. If that's not it, then maybe check if you don't have a firewall or something preventing Rainmeter from connecting to the internet.
bk-210 said...Did you maybe generate a new API key recently? You only seeing the time suggests that the Rainmeter skin is functioning properly, but is unable to fetch new data from the API. Make sure that the value after "APIKey=" on line 13 of WaniKani.ini (Right click the Rainmeter icon on the Taskbar and select "WaniKani" -> "Edit Skin") is exactly the same as the one displayed on http://www.wanikani.com/account. If that's not it, then maybe check if you don't have a firewall or something preventing Rainmeter from connecting to the internet.
 Nice job! I forgot I had changed my API key in an attempt to fix Wanikanify when Wanikanify stopped working.
Thanks.

One nice little tweak for the skin:



Once you’ve made this edit make sure to refresh the skin.
Now simply click the icons to take you straight to your waiting lessons and reviews.

Thompson820 said... One nice little tweak for the skin:



Now simply click the icons to take you straight to your waiting lessons and reviews.
 thanks for that!


EDIT: For some reason its not working =/ i click the icons and nothing happens. I type LeftMouseUpAction=http://www.wanikani.com/lesson and LeftMouseUpAction=http://www.wanikani.com/review into the same places as you showed.

I'm using firefox by the way.