[tahoe-dev] tiddly-wiki on Tahoe!
zooko
zooko at zooko.com
Tue Nov 25 11:41:51 PST 2008
Folks:
Thanks to kind help from TiddlyWiki hacker FND, we now have the
current stable release of TiddlyWiki running on Tahoe.
TiddlyWiki [1] is a wiki written entirely in JavaScript and executing
entirely on the client side. By combining TiddlyWiki for the front-
end and Tahoe for the back-end, we have a new class of software --
the Decentralized Web App.
Here's the current version of my klog, as stored in a TiddlyWIki on
Tahoe:
http://testgrid.allmydata.org:8123/uri/URI:DIR2-
RO:hgvn7nhforxhfxbx3nbej53qoi:yhbnnuxl4o2hr4sxuocoi735t6lcosdin72axkrcbo
ulfslwbfwq/wiki.html
The new version produces RSS feed files, and stores backups.
Here's how to set up a TiddlyWiki On Tahoe for yourself:
1. Get a TiddlyWiki instance with the HTTPSavingPlugin:
1.a. If you already have a TiddlyWiki instance that you want to
store on Tahoe, then import the HTTPSavingPlugin into it:
http://allmydata.org/source/tiddly_on_tahoe/trunk/tahoe_tiddly/
HTTPSavingPlugin.js
1.b. If you don't already have a TiddlyWiki instance, you can get an
empty one with the HTTPSavingPlugin already installed from here:
http://allmydata.org/source/tiddly_on_tahoe/trunk/tahoe_tiddly/
tw_empty.html
2. Upload your tiddly wiki html file into a directory on a Tahoe
grid. (If you don't already have a directory, press the "Create
Directory!" button on http://testgrid.allmydata.org:8123 .)
Done!
Now to refer to your tiddly wiki, append the filename to your
directory cap, so the full URL will be "http://testgrid.allmydata.org:
8123/uri/$YOUR_DIRECTORY_CAP/tw_empty.html". (You can rename the
file from "tw_empty.html" to any other name if you want.)
Obviously if you want to share read-access to your wiki with someone
while withholding write-access from them then you need to get the
read-only capability to that directory and substitute that for the
read-write cap. Note that the URL to my klog that I posted at the
beginning of this message has "URI:DIR2-RO" in it -- that URL gives
read-access to my blog but a different URL (which is stored in my
bookmarks in my web browser) gives write access.
Please let me know how it goes if you try using this! :-)
Regards,
Zooko
[1] http://tiddlywiki.com
More information about the tahoe-dev
mailing list