Inspired to ry again in my pi... I tied following the plugin instructions but get to
cp -r TiddlyWiki5/plugins/OokTech/Bob/BobWiki TiddlyWiki5/Wikis/BobWiki/ and receive cp: cannot stat 'TiddlyWiki5/plugins/OokTech/Bob/BobWiki': No such file or directory so from Tiddlywiki 5 folder i tried: node ./tiddlywiki.js /Wikis/bobtest --init And then in the Tiddlywiki5 folder tiddlywiki Wikis/bobstars --wsserver which returned the error message Error: Unknown command: wsserver This was all done in a folder in /home. I'd previously installed tiddlywiki through npm so thought i'd try the plug in route. I found tidldly wiki hiding away in* /usr/lib/node_modules/tiddlywiki/ *(and linux users wonder why it's not taken over the world...) in the plugins folder i created *OokTech/Bob *and git clone --depth=1 https://github.com/OokTech/TW5-Bob.git to put the plug in in the correct place. I then added the line *"OokTech/Bob" *into the plugins section of the info file of my existing (newly created) wiki. undefined:7 "OokTech/Bob" ^ SyntaxError: Unexpected string in JSON at position 174 at JSON.parse (<anonymous>) at Object.$tw.loadWikiTiddlers (/usr/lib/node_modules/tiddlywiki/boot/ boot.js:1791:19) at Object.$tw.loadTiddlersNode (/usr/lib/node_modules/tiddlywiki/boot/ boot.js:1894:27) at Object.$tw.boot.startup (/usr/lib/node_modules/tiddlywiki/boot/boot. js:2029:7) at /usr/lib/node_modules/tiddlywiki/boot/boot.js:2215:12 at Object.$tw.boot.decryptEncryptedTiddlers (/usr/lib/node_modules/ tiddlywiki/boot/boot.js:1490:2) at Object.$tw.boot.boot (/usr/lib/node_modules/tiddlywiki/boot/boot.js: 2213:11) at Object.<anonymous> (/usr/lib/node_modules/tiddlywiki/tiddlywiki.js:13 :10) at Module._compile (module.js:652:30) at Object.Module._extensions..js (module.js:663:10) The single exe fails as i can't open it in a browser to turn on network access and I don't know how to edit it's config file. Cheers! On Sunday, 5 August 2018 18:33:11 UTC+1, Jed Carty wrote: > > For the moment this is only the plugin version because uploading the > single executable version on my terrible internet connection at home isn't > going well. > > The biggest change is that you can now reconnect to a server after being > disconnected and the wiki state is resycned without needing to reload the > full wiki. On a slow connection this can save a lot of time. There is also > some simple detection for conflicts if the server and your wiki both > changed while disconnected. > This means that you can work on the wiki while disconnected and then when > you are able reconnect to the server and have it save your changes. It also > lays the groundwork for using Bob with twederation. > > > There are a lot of other changes here because I haven't been in the mood > to bump the version when I probably should have or announce anything. Many > of the changes or on the back-end so things just work better, but there are > a few noticeable ones: > > - Added the unloadWiki message. This lets you unload a wiki from inside > the browser and then reload the page. This lets you change plugins listed > in the tiddlywiki.info file and have those changes take effect without > restarting the server. > - There are a number of back-end changes that prevent lost messages. If > you ever had an edit disappear after reloading the wiki, or if you noticed > that when you changed the wiki title it wouldn't always save the last few > key strokes, that should be fixed now. > - Date fields should work better now. Let me know if there are any more > errors with them. > - You can list plugins to be served with all Bob wikis regardless of if > they are listed in the wikis tiddlywiki.info file, this is useful if you > use Bob to create a wiki and then distribute it in another form > - The default prefix for the file server url is files instead of file to > match the new work Jeremy has done with the --listen command > - Detecting when the browser has lost its connection to the server is much > better now. The connection health is now determined by the web socket link > state, not by the heartbeat signal, so you shouldn't get the blinking > 'Disconnected' errors anymore. > > The full changelog is here: > https://github.com/OokTech/TW5-Bob/blob/master/Changelog.tid > > The plugin is on git here: https://github.com/OokTech/TW5-Bob > > As always let me know if you run into any bugs. I will try and get the > single executable version set up sometime soon. > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7f0da99a-7c1b-4bc8-b417-de4106274fb9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.