I am trying to convert a couple TW5 files to Node.js, (both on Dropbox).
The reason for this is I think I will be able to edit them from my ipad or iphone (preferred) rather than only the laptop.
I am running into 2 snags, pertaining to image calls and IOS access.
I have liked the simplicity of Danielo's <<ximg "Picture.jpg" path:$:/macros/ximg/path>>
macrocall, which I then collect into image galleries grouped by tags.
They stopped working.
Should I copy the image files into the server directory (or an Image subdirectory?) Or is it just a matter of getting the syntax right on the pathfile?
localhost:19671
only works on my laptop and not on my IOS devices. (I am using these instructions: http://undefinedvalue.com/setting-personal-tiddlywiki-server-os-x.html)
Am I incorrect about being able to access via IOS? How is it done? Do I need a "Terminal emulator" loaded onto my IOS devices?
Any help is appreciated.
JWHoneycutt
Hi all, I've recently seen something on github - native nodejs for android and iOS - if I remember it rightI'll post the link if I find it againBTC
--server 8080 $:/core/save/all text/plain text/html "" "" 192.168.0.245
And I think that I should point out that the node version not serving other files on your computer is because of how servers work, it isn't a tiddlywiki specific problem.
Well, it does mean that TW on node can't do everything that stand-alone TW can do, which isn't clear to most people considering node as a save option...
To me, loss of images is pretty important.
There are plenty of secure ways to use node as an externally facing server, I have one set up for tiddlywiki. But security is a difficult problem and it isn't obvious where there are security concerns, even to experienced security people. It is generally a good idea to go with a more conservative approach to security.
As a developer I do have responsibility for the things that I create so I am never going to make something that serves on 0.0.0.0 by default, nor anything that serves any file from the hard drive by default because it is unreasonable to expect everyone who uses what I make to understand the security and privacy implications of that.
Serving on 0.0.0.0:8080
Anything that we make as the basic version of tiddlywiki should be as safe as possible. That means no serving arbitrary files by default. If people want to change the settings they are free to do that, but here there be dragons.