I’m wondering if anyone has experience running multiple wikis from a single Node application.
I am starting to work on some personal stuff that I would like to host in the cloud. I want these to be available to me at home and at work, but Giganticorp, where I work, in its infinite wisdom, blocks Tiddlyhost. So I figure that I’m on my own.
Rather than hosting multiple apps in a cloud provider, I was thinking it would be useful to have a single application running to manage my various wikis (Start, Stop, Create, Delete) with each wiki having a dedicated folder, its own git backup, and a regular cadence for synching with git. The main application would handle security and routing to these wikis as well as any administrative tasks.
I would expect to serve, say, the
recipes folder as example.com/recipes. This would let me also support static versions of these which others could view, clone, and modify their own copies of: at, say, example.com/recipes.html.
I’m guessing that the existing Node version is far too tied to its single wiki to offer much help here. (Please correct me if I’m wrong!!) But I should be able to start each wiki in its own process and pipe streams from my main application. (I guess I would probably need some way to check if each process is working as expected. Does whatever API TW Node uses between its client and server have a simple heath-check route to report, “Yes, I’m still running fine”?)
Has anyone done this? I’d love to look at existing work before deciding whether to embark on this.
And even if not, does anyone have advice on how to go about this?