Hanami app for hosting TiddlyWikis?

Hi,

I would like to use Hanami to host TiddlyWikis. Well, not just host as static files, but handle them as any other entity with CRUD actions. TiddlyWiki is a great standalone tool for note taking, to do lists and so much more. However, out of the box it doesn’t come with a serving ability. I currently use it as an offline file with browser plugins for saving.

There are options for hosting, but I’d like to have a self-hosting option as well. There is a small Ruby script available for that, but I’d like to create an app to support multi user environment with authentication and authorization.

My idea is to have multiple TiddlyWikis and each would be subject to authorization policies. Since TiddlyWiki has its own system for saving, is this possible to incorporate to Hanami. In other words, would it be better to treat is an entity in the database or serve it as a static file and hook into its own saving function. However, the saving should also be subject to authorization.

The overarching idea is to have a content delivery system leveraging the full power of the TiddlyWiki.

Is this something that can be achieved?

thank you, seba

This is a neat idea, @sebastjan_hribar! At it’s core, this seems to be about wrapping a multi-user web interface around TiddlyWiki, which I think you could do with any kind of tooling, so if Hanami is your preference, I’m sure it could do the job :slight_smile:

I have a working prototype. :slight_smile:

There’s a lot more to be done, but the thing I wanted, i.e. to sync tiddlers to server and DB instead of saving the entire wiki as a file, is now working.

Congratulations, @sebastjan_hribar! Glad you figured out the main part of your challenge :slight_smile: As always, we’re all here to help with anything else around using Hanami.