WaniKani API + GeekTool = ♥


luluhouse7 said...

 couldn't you just kill the process instead? much easier than a restart :)
Yes, that would indeed be easier, but I wrote these instructions with non technically inclined people in mind.

luluhouse7 said...
also... any linux or windows version of this?
(・-・)・・・ん? I actually made a Windows version of this a couple of weeks ago…
/t/WaniKani-Rainmeter-Windows/1108/1

As for Linux, you can use Conky to make your own. My Linux box is for work so I don't plan on making one myself, but I'm guessing that most Linux users shouldn't find something of this level too difficult.



alucardeck said... I can develop one for Windows Gadget in a few hours..  if people are interested just tell me =]

EDIT:
ok i made it =P
/t/WaniKani-Gadget-Windows-Gadget/1292/1


More developers working on WaniKani apps is always a good thing, though (o⌒_⌒o)!
atazg said... I excited to use this app.  Unfortunately, I seem to have a problem installing it, namely at step 4.  My machine claims that I don't have anything (including GeekTool) that can run the Geeklets.  I'm obviously doing something wrong.  Do I need to restart after installing GeekTool?  Any thoughts?
Hmm, I haven't heard of anyone here experiencing this problem (・・ )>.  However, I just found this thread on macrumors about someone with the same issue. This is the proposed solution:
1. Right-click on a .glet file and choose "Get Info".
2. Under "Open With" in the Get Info window, choose "Other".
3. Press Command-Shift-G on your keyboard.
4. A "Go to folder" box should appear, copy/paste in: /Applications/GeekTool.app/Contents/PlugIns/GeekTool.prefPane/Contents/Resources/
5. An application called GeekTool Helper should be in that folder. Click it.
6. Also click the "Change All" button in the Get Info window.

Hope this helps!

Hi I think this is great. I try to get it to work and I followed all the steps but found 2 problems;
1. The .glet files wich are bigger (those that werent 5kb but 600kb and such) wouldnt pop up the box that the others did, the one where you have to click ‘YES’.
Probably because of that it is not working right yet. I got the clock, I got the labels but not the Icons, and also it is not showing yet if I have reviews/lessons/when I have them. I did put in my API key. Can you help me?
I think its a great application :slight_smile: if I only can get it to work for me now hehe

I downloded and installed Geek Tool as well as your script but when I try to open the ten .glet files it tells me this,

The document “LessonsIcon.glet” could not be opened. GeekTool cannot open files of this type.

Any way to fix this problem?

EDIT: Just tried the change all trick and it worked! Thank you :slight_smile:

Thank you bk-210! This is a very elegant and useful tool!

I don’t have a mac. :frowning:

Fiala said... I don't have a mac. :(
 I also made a Windows version (^_^)

I might have a problem :confused:
Well I does show the time, but the other fields stay blank.
I did but in the API and I restarted. Any suggestions?

EDIT: NEVERMIND THE BOLLOCKS!
FIxed it myself. It was just a problem with the Foldernames.

THANKS!

I think I installed it properly, but it says next review is CURRENT TIME and Lessons and Reviews are blank. According to my profile, next review is in 5 hours.

EDIT: Okay, I moved the ENTIRE folder originally to the /Users/Shared/  in error, in case any of you do this. So I moved that back to Documents, then the folder that was actually mentioned to /Users/Shared/, and then ran the install again. I restarted my Mac, and then hit REFRESH ALL GEEKLETS NOW and CHECK FOR UPDATES just for kicks. And now it shows the proper time. Thank you!!

Just installed this and it works great!
Just wanted to say thanks to the creator of this script, great work! :slight_smile:

I can’t get me lessons and reviews to update. I followed all the above steps and inputed my API key. Is there something that might be causing this?

Izana said... I can't get me lessons and reviews to update. I followed all the above steps and inputed my API key. Is there something that might be causing this?
Late reply, but I'm having the same problem... I think it might have to do with the API being updated and the code being incompatible with the changes...
Don't know if bk-210 is going to update the script - I might be wrong but I don't think he's active on WaniKani anymore... :(

I'll see if I can fix it myself when and if I get some time to spare.

Took a quick look, and it seems to me the issue may be because in WaniKaniAPIRequest.glet, the call to curl is using an http address instead of https.  Curl doesn’t follow redirects (unless you add -L), so the output of the curl command will be empty.

cplaverty said... Took a quick look, and it seems to me the issue may be because in WaniKaniAPIRequest.glet, the call to curl is using an http address instead of https.  Curl doesn't follow redirects (unless you add -L), so the output of the curl command will be empty.
 Thanks!

But even if this fixes the problem with the widget, there are still tons of issues with GeekTool itself imho. I did some research and found a better alternative that I want to share with everybody:

http://lifehacker.com/ubersicht-customizes-your-os-x-desktop-with-widgets-and-1591137635
http://tracesof.net/uebersicht/
https://github.com/weslly/wanikani-ubersicht

It's a relatively new, lightweight alternative to GeekTool. Widgets are coded with JavaScript/CoffeScript, HTML5 and CSS, making it much easier to create and modify widgets (even for people with little experience). There's already a working WaniKani widget, but it looks a bit different from bk-210's GeekTool widget.

I'm still planning on making my own, but this will do fine for now :) Hope this helps someone else here as well!

The link for your scripts isnt working :frowning:
Looks awesome tho

Well, the OP is ten (!) years old … :upside_down_face:

lol true… is there any way i can still get the scripts?

1 Like

No idea tbh, but since the original poster has not been active here in the past 10 years, I suspect it would be quite difficult to get in touch with them :cry:

They wouldn’t work anyways since they were written with APIv1 which no longer exists. You’d have to rewrite it…

oh noo… it looks so cool!! that’s a shame :frowning: