The moment Yojimbo was released I grabbed a copy. I have used it daily ever since. Yojimbo is a very nice tool for quickly collecting bits of textual data in a searchable, taggable, and secure manner. But it has its limitations. Most notably—it only runs on Mac OS X. But it also suffers from a lack of export features :(

As I have move my life over to linux (and open source software in general) I have been in search of a suitable alternative. My favorite, thus far, has been the simple Tiddlywiki. Incollector is a close runner up, but it fails the cross-platform test (it only runs on Windows and Linux, not the Mac OS.)

When I first discovered Incollector I wrote this AppleScript to export my entire Yojimbo library into Incollectors xml format. In this way I am able to import my entire Yojimbo library (less pdfs) into Incollector.

But that was not enough, so I tweaked it to export my Yojimbo library to a Tiddlywiki. Anyone interested can grab the script here.

It is by no means perfect, but it gets the job done. The AppleScript copies the exported data to your clipboard. After running the script you must paste the resulting data into a new text file. Simply open up TextEdit and create a new plain text document and paste the data into it. Save it as a fresh new html Tiddlywiki file. Presto, you now have all your Yojimbo bookmarks, webarchives, passwords, notes, and serial numbers in a Tiddlywiki :)

If you would like your Yojimbo data to be part of a pre-existing Tiddlywiki then you can import its tiddlers like so:

  1. Open the Tiddlywiki you want to import into
  2. Go to backstage->import
  3. Select the Tiddlywiki that you saved earlier, containing your Yojimbo exports
  4. Choose all the tiddlers that you wish to import
  5. Click “done” at the bottom when it completes

The usual caveats apply. I have only tested this on my computer running Leopard and Yojimbo 1.5.1, so there are no guarantees it will work on your system. The AppleScript will save all secured Yojimbo data as plain text (i.e. unsecured.) If you wish to hide your secure data then comment out the appropriate lines of the AppleScript (see comments in the script for instructions.)

I use TrueCrypt, running on a flash drive, to securely access my Yojimbo Tiddlywiki from any computer, be it Mac, Windows, or Linux.

Download the Yojimbo to Tiddlywiki AppleScript.

7 Responses to “Export your Yojimbo database to a Tiddlywiki!”

  1. Vadim P Says:

    Have you seen Wixi? I don’t use it myself, but it claims to be like a desktop wiki. .debs for Ubuntu are available on getdeb.net.

    (though personally, I just like tomboy for my needs)

  2. andrew Says:

    hi,

    i tried this script and eventually got the following error:

    “The variable ‘i’ is not defined.”

    this was after a few minutes of “processing,” which i could tell because the CPU usage of yojimbo was consistently around 50%.

    any ideas what happened? running the latest version of yojimbo on 10.5.4.

    thanks!

  3. admin Says:

    Hello Andrew,
    Let me look into it. This initial script is, admittedly, hacked together to work with my Yojimbo library and the errors I encountered, and does not contain error-detection for every possible error. Should be fairly easy to fix.

  4. andrew Says:

    thanks! you have my e-mail, so i do hope to hear from you.

  5. John Says:

    Hi

    I got the same “The variable ‘i’ is not defined.” Has is been possible to fix this error?

    Cheers

  6. Brett Says:

    Same error (The variable i is not defined.). Any solution? I was going to try to use this to transfer from yojimbo to 1password with some tweaking I’m sure. Any other suggestions definitely welcome…?

  7. Lee Says:

    NoteCase is another great one. It’s along the lines of Yojimbo.

Leave a Reply