I was looking for a simple way to run tiddlywiki on an android device.  I 
wasn't overly comfortable messing around with a nodejs installation and I 
happen to come across rclone.  Finding rclone was a bit of a 'wow' moment 
and I am still exploring what the tool can do.  The great thing is that it 
is available as a package for many platforms including termux.  Tiddlywiki 
handles webdav out of the box and rclone has a webdav server, aka heavenly 
match! 
I installed termux, added rclone, coped my tiddlywiki into a location 
accessible via termux, cd to the directory and ran 'rclone serve webdav .'  
By default rclone will fire up a webdav server on http://localhost:8080.  I 
am yet to install  certificates for TLS however from the rclone 
documentation it seems possible.
It all just worked including encryption.
If I want to access my tiddlywiki from another device on the same network 
rclone will take an address property on the command line and bind to that.

Jason



On Wednesday, 13 January 2021 at 17:30:12 UTC+10:30 tony wrote:

> FWIW 
>
> I still enjoy this easy-to-use solution from UBi that just requires 
> python3. It works on Debian via Chromebook and Windows via cygwin and 
> probably wsl2 [1]
>
> one single python file and it serves a whole folder of wikis accessed at 
> localhost
>
> a simple script start to server:
>
> $cat startserver.sh 
> cd ~/<folder path to your Wiki files>
> python3 twserver.py
> # Ctrl-c to stop the server
>
> As usual, wiki files can be synced with cloud: OneDrive, GoogleDrive, 
> Syncthing, Autosync, rsync, etc, etc 
>
> For my wiki archive, I use TiddlyWiki on nodeJs on a different port as I 
> like that each tiddler is a single plain text file accessible on the 
> terminal if needed. 
>
> Have fun! :-)
>
> Best,
> tony
>
> [1] https://groups.google.com/g/tiddlywiki/c/M64suMWXDYQ/m/XsTspOzgEQAJ
> another adapted version is here 
> https://gitlab.com/panosfirbas/tiddlyp
> but I just use the simple original one in the thread above
>
> On Tuesday, January 12, 2021 at 1:47:01 PM UTC-8 Mark S. wrote:
>
>> Different people will have different ideas and perspectives. 
>>
>> I find it simplifies things to only use single file wikis. So that rules 
>> out node.js, but you can still use tiddlyserver.  I found the problem with 
>> termux is that my Android kept seeing it as a non-running app and closing 
>> the process. But others have had more luck.
>>
>> So anyway, I find a good arrangement is to use tiddlyserver, timimi or 
>> tiddlydesktop on the desktop, tiddloid (or maybe Quinoid) on the Android, 
>> and syncthing  to synchronize the devices. At one time we were able to use 
>> file-backups extension on Firefox on the android, but firefox, in it's bid 
>> to make itself ever less useful, has nixed that option for the present.
>>
>> Another synch option is to use Google drive. The complication there is 
>> that the only way I've found to synch Linux is with rclone, which needs to 
>> be done manually (well, someone could probably write a cron script or 
>> something).
>>
>> The git saver works well, but of course you have to be online in order to 
>> save. Some people these days always are online (have a good mobile data 
>> account), so if that's you then it might be the simplest solution. The main 
>> thing is to turn off auto-save, because rapid-fire saves produces a 409 
>> error.
>>
>> On Tuesday, January 12, 2021 at 1:12:22 PM UTC-8 [email protected] 
>> wrote:
>>
>>> Hey,
>>>
>>> I'm new to TiddlyWiki and as stated on the website there are several 
>>> methods to save and edit a TiddlyWiki. This is a bit overwhelming at the 
>>> beginning :)
>>>
>>> It seems that the choice depends on the individual use case, so I 
>>> thought I will share my use case and it would be awesome if someone could 
>>> give me a recommendation:
>>>
>>> * Multiple devices: Linux, Android and maybe Windows
>>> * Synchronisation across devices
>>> * Backup and History
>>> * I am a geek, so terminal and server stuff should not be a big problem
>>> * Only personal Wiki and no public or collaboration wiki
>>> * Stable solution
>>>
>>> For me it seems that the 3 best options are:
>>> * Node.js: Running a Node.js Server in the background on Linux and on 
>>> Android (Termux) and doing the backup and synchronisation with a cloud 
>>> provider (e.g. Nextcloud)
>>> * TiddlyServer: same as with Node.js?
>>> * Git Service Saver: I'm familiar with git and could imagine 
>>> buying/running a Gitlab or Gitea Server,  but I'm not sure how practical 
>>> and stable it is compared to the other options?
>>>
>>> Thanks
>>>
>>>
>>>
>>>
>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3df1135e-6398-4b70-bc33-5313bb2e4705n%40googlegroups.com.

Reply via email to