Editing and Saving a Node-TW on mobile

150 views
Skip to first unread message

Diego Mesa

unread,
Dec 18, 2017, 11:26:46 AM12/18/17
to tiddl...@googlegroups.com
Hello all,

Right now, I am running my TW on node out of a dropbox folder. This means I can no longer access it from my iPad. The workaround I currently have is to manually click the save button on my wiki, triggering a file download. I then move this mobile-TW file into a different dropbox folder, and open it from my iPad. This is essentially "view only" as I can make edits, but can't actually save anything. I thought I would be able to save this mobile-TW, and just import the modified tiddlers when I got back to my desk, but this seems impossible. 

Does anyone here know how to take a node-TW on the go in such a way as to be able to edit it and bring back the changes? 

Thanks!
Diego

TonyM

unread,
Dec 18, 2017, 5:17:08 PM12/18/17
to TiddlyWiki
Diego,

I believe you are going to have to run node on each device that access to the node files, but this should be possible. Alternatively you need to use the network to access a device hosting node, which I do on my LAN but not on the internet, 

I have node installed and running on Windows, a Synology Diskstation and my android phone (using Termux) and a rarely used instance on a Mac Mini. Keep in mind  that TiddlyServer also sits on top of node, its advantage being it can open node instances and single file instances (and hosts them on the network). TiddlyDesktop also uses node but I believe it is not a mac or device solution.

As I understand, Node will always need to be run locally and point to the files, or Hosted on a device and accessed by the network address.

Regards
Tony

Diego Mesa

unread,
Dec 18, 2017, 7:35:21 PM12/18/17
to TiddlyWiki
Thanks for your reply Tony. I understand that I can't access my actual TW, but I figure I should be able to approximate it by having a simple shell script to place a "current" single file version in dropbox, take my meeting notes, and then reupload the modified tiddlers back to my actual TW. 

Jed Carty

unread,
Dec 19, 2017, 3:49:53 AM12/19/17
to TiddlyWiki
My current solution is using a cheap mobile server that I can carry with me. It is a raspberry pi with an external harddrive taped to it and it can run off a USB charging battery. That way I can just have the node version of the wiki with me all the time.

I need to look at exactly how tiddlywiki splits a wiki into separate files but your suggestion of creating a single-file version and then pulling new things from it sounds like a good idea. I think that it wouldn't be too difficult to have a button in the node version of the wiki that create a single file version of the current wiki and puts it in your dropbox folder. Then twederation can be used to pull out any new tiddlers that are in the single file wiki in the drop box folder.

Birthe C

unread,
Dec 19, 2017, 7:06:45 AM12/19/17
to TiddlyWiki
Hi Jed,

I like that idea and also that it would make twederation known to more users.


Birthe

Mark S.

unread,
Dec 19, 2017, 10:00:28 AM12/19/17
to TiddlyWiki
What size battery do you carry, and how long does it last? Seems like a largish flash drive would be sufficient, but I assume you're using the drive for more than just TW.

Thanks!
Mark

Jed Carty

unread,
Dec 20, 2017, 2:23:07 AM12/20/17
to TiddlyWiki
Yes, the server is also running my instance of gitea and is also a generic ftp and media server. I have a high capacity (20.000mah) battery that I have never used long enough with the server to make it run out. I used to use the battery for one of my smaller robots and it lasted about 8 hours there so I imagine it will have a similar capacity with this. I normally only need the server when I am working and I plug it into a wall charger then.

You could do the same thing for much less with a raspberry pi zero w and a reasonably sized sd card if you are using it for just tiddlywiki. The probelm I have had with trying that out is that many newer batteries have 'smart' changing, an incredibly infuriating feature that turns the battery off if not enough current is being drawn and a raspberry pi zero requires little enough power than it turns off occasionally because the battery thinks it isn't in use. So that would probably last a very long time if you have a battery without the smart charging circuits.
The batteries are the normal USB charging batteries.

I am putting together some instructions on how to make one and hopefully later scripts to set them up here.

Mark S.

unread,
Dec 20, 2017, 10:12:15 AM12/20/17
to TiddlyWiki
Doesn't the default save or PMario's/BJ extensions work on Ipad/Safari ? It's not as convenient, perhaps, but if it works, you could save whatever notes you have and later drag and drop them back into your node version.

-- Mark
Reply all
Reply to author
Forward
0 new messages