[TW5] Bob version 1.0.6 Salt Bagels 2: Bagel Harder, Make your own plugin library

139 views
Skip to first unread message

Jed Carty

unread,
Sep 13, 2018, 4:46:26 PM9/13/18
to TiddlyWiki
The big thing here is that Bob is now set up so that you can make your own plugin library with it. It took so long to get this into the normal Bob because I didn't want to put the thought into making it portable and that would have been the first request. Now it should be portable and I look forward to all the new and interesting ways that different OSes are going to make life interesting.

To set up a plugin library you need to set the pluginLibrary key in the API part of the setting to 'yes' and set the pluginsPath key to the path to your plugins folder. The plugins folder should be the same format as is used by the core tiddlywiki.


this documentation is part of the Bob plugin

If you are wondering what this looks like when you use it you can try it out, my public facing Bob server on ooktech.xyz is set up as a plugin library with most of the ooktech plugins. You can try it out by opening up the TWederBob plugin tiddler and looking at the 'GetPlugins' tab. TWederBob is included with BobEXE now, if you already have an index wiki you can add OokTech/TWederBob to the plugins in tiddlywiki.info for the index wiki, if you are making a new one that TWederBob will be included in the index wiki by default.

The plugin version of Bob is on GitHub here: https://github.com/OokTech/TW5-Bob
The newest version of BobEXE is available here: https://github.com/OokTech/TW5-BobEXE/releases

The other change is that now the http traffic and websocket traffic now uses the same port, so you will only see one port listed when you start the wiki server. I made a note to do this months ago and just got around to doing it the other day. It should have absolutely no effect on using the wiki.

If you want to support the development OokTech has a patreon page here
or if you prefer there  is a link for PayPal here
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZG94CTLHTKYRE


Bob 1.0.6 changelog (the full changelog is here https://github.com/OokTech/TW5-Bob/blob/master/Changelog.tid):

!! Version 1.0.6 Salt Bagels 2: Bagel Harder

- Now the server only uses one port for both websockets and http(s) traffic
- Add paths for the plugin library to the normal Bob server

@TiddlyTweeter

unread,
Sep 18, 2018, 4:00:49 PM9/18/18
to TiddlyWiki
If you are wondering what this looks like when you use it you can try it out, my public facing Bob server on ooktech.xyz is set up as a plugin library with most of the ooktech plugins. You can try it out by opening up the TWederBob plugin tiddler and looking at the 'GetPlugins' tab. TWederBob is included with BobEXE now, if you already have an index wiki you can add OokTech/TWederBob to the plugins in tiddlywiki.info for the index wiki, if you are making a new one that TWederBob will be included in the index wiki by default.

Its great. It really shows the promise well. Thank you!

You host it on Dreamhost? I use them too so its interesting for me to see that. Its encouraging. Makes me think even I might be able to do it :-).

Best wishes
Josiah

@TiddlyTweeter

unread,
Sep 29, 2018, 11:23:42 AM9/29/18
to TiddlyWiki
Ciao Jed

Couple of comments on  1.0.6 about handling external files.

1 - At the moment on Bob executable 1.0.6 the default "mimeMap" does not seem to be automatically loaded. I had to manually enter types ".png" & ".jpg" to get external images to show. Once working its great.

2 - I could not get "filePathRoot" to work with relative addressing. Does it only work with absolute addresses?

I made issues on your OokTech/TW5-BobEXE about these too.

Best wishes
Josiah
Reply all
Reply to author
Forward
0 new messages