On Fri, 10 Apr 2015, Eric Drechsel wrote:
> Might it be it possible to for a Tank user to upload their own TiddlyWiki 2
> composable app containing custom plugins and whatever plugins are needed
> for async tiddler loading?
Yes, I think you've got pretty much two options there:
* Create a bag with your own bundle of tiddlers that are the empty
tiddlywiki you want, the plugins and whatever you are doing to magic
them together, and use that bag as the basis for building a comp (by having
an "app" tiddler).
* Use the existing tiddlywiki bag[1] combined with another bag
containing the additional plugins.
In either case having a looking at the bootstrap.js in the tiddlers
linked below ought to push you in the right direction. Also keep in
mind that under the covers all a comp is a recipe containing a tiddler
named 'app'. At the UI level a comp is one "comp-able" bag plus a bag
you add, but under the hood it can be as many bags as required.
And the async part ought to sort of just fall in place as part of your
explorations.
> I ask because I have a crazy plan to
>
> - pick up maintenance <
https://github.com/edrex/mGSD> of Simon Baird's mGSD
> - use it (and provide it as a composable app to other users)
> - while developing a "spiritual successor" to mGSD which is can
> concurrently operate on the same store.
It's very cool that you're taking this on. mgsd has always been one of
those tiddlywiki-wow things.
> Currently I'm using TiddlySpace <
http://mgsd-initial.tiddlyspace.com/> but
> would like switch to Tank because you're supporting it and because I like
> the tank abstraction over bags and recipes better than the space one.
I think the public private thing was a useful metaphor but it never
quite came together right.
> I'm also open to running my own Tank with twikifier if the async thing
> doesn't work with mGSD for some reason.
My installation will be staying around: it's become a very useful tool
for me. However if you want to run your own I did start this:
https://github.com/cdent/tankdock
That's a bit out of date now (for tank and for docker) but probaby not
too far.
And there's also this which is somewhat related:
https://github.com/cdent/twebwiki-openshift
[1] This contains a modified TWC that effectively bootstraps a
tiddlywiki into bootstrapping itself again after loading all its
tiddlers. First loads app, then bootstrap.js, then other tiddlers,
evaluates plugins, "restarts" the tiddlywiki.
https://tank.peermore.com/bags/tiddlywiki/tiddlers