Wednesday, March 28, 2007

Geektool & Stikkit

I setup geektool to get my todos from stikkit but the problem is that it only works when I'm connected and often I am not, here's what I used initially:

curl http://api.stikkit.com/todos.txt?api_key=4b9d0075517fd37629631xxxxxxxxx

but after a quick chat with Michael I realised something, you can pipe commands in GeekTool so why not do this instead:

curl http://api.stikkit.com/todos.txt?api_key=4b9d0075517fd3762963xxxxxxxxxx > /tmp/stikkit.tmp; cat /tmp/stikkit.tmp

So now I have a local file that is always there even when the network isn't

This fixes reading todos offline (which I can do already by displaying my todo.txt already of course, it's ok for creating a new one if i'm online through QS but the remaining problem is creating new one's offline.

Two possible fixes for that are almost here, A widget that supports offline creation (and listing I think but need to try it out) and the next version of Stikkit

Technorati Tags: , ,