As you may be aware, single file TiddlyWiki does not seem to work on Node-WebKit.
--
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.
Does this mean that one could write an admin / dev ui in TiddlyWiki to handle the build process / parameters / configuration / etc...?Best wishes, Tobias.
--
Does this mean that one could write an admin / dev ui in TiddlyWiki to handle the build process / parameters / configuration / etc...?
What do you need is a sync module that uses Node-webkit. I think you can base your work on the FS syncer.
What is the difference between your first post instructions and tiddlydesktop or the instructions to make TW work on node webkit described here: http://tiddlywiki.com/dev/#TiddlyWiki%20on%20node-webkit ?
Sure looks like it. I've finally got the other format working as well where you have all the tiddlers in separate files. That was a little harder, but it works. Basically I had to use tiddlywiki.js and modify it a bit.
What do you need is a sync module that uses Node-webkit. I think you can base your work on the FS syncer.I actually think I got it working for both single file and "node.js style". The single file one needed a hack to bootprefix.js (in order to work right) and a Saver module which I based off the tiddlyfox saver. I guess that's the same thing as a syncer.
If you're running the Node.JS version (like you download from GitHub), you don't even need the browser-server sync, because the server and the browser are one. Literally. So all changes in the browser go directly to the Node FileSystemSaver or whatever it is.
That I don't know. Those instructions didn't work for me (because of the bootprefix.js problem), and all you need to do is just paste the file url into node-webkit and it loads it like a regular file. You don't actually need the package.json.
TiddlyDesktop sounded a bit complicated, and I wanted to see if there was an easier way. I don't know what features it has beyond a regular tiddlywiki, though.
What is the difference between your first post instructions and tiddlydesktop or the instructions to make TW work on node webkit described here: http://tiddlywiki.com/dev/#TiddlyWiki%20on%20node-webkit ?
--
--
--
Ok, I just discovered something. The body tag needs the class tc-body for it to look right. I think that's what the "few glitches" were from. I've updated my gist.
--
No, the way I do it is keep the two folders entirely separate (TiddlyWiki and Node-Webkit), and then run node-webkit with the tiddlywiki folder path as its first argument. In Windows, you just drag the entire folder onto nw.exe itself and it does the same thing.
Doing it that way node-webkit just opens and then closes. I would like to know if you have tested this on windows. Having everything on the same folder works, but not on different folders. I even tried from the command line with nw.exe tw5folder and it does not throw any error.
I followed the first instructions again. Now it works using different folders BUT with the same problem as before: When I open the nw.exe program it throws the require is not define errors. But, If I navigate to the root folder from within node-webkit and then I click on index.html it works as expected. I would love to know why.
OkI followed the first instructions again. Now it works using different folders BUT with the same problem as before: When I open the nw.exe program it throws the require is not define errors. But, If I navigate to the root folder from within node-webkit and then I click on index.html it works as expected. I would love to know why.
--
Actually, I just read over your emails again, and finally saw the second line that you posted ( "Not allowed to load local resource:" ). Definitely check that index.htm is set right in package.json. I just tried changing the name to something wrong, and that is the error I get. Hope that helps. :)-Arlen
--