How do you save?

In short, two ways to get messages to the server:

  • add a tiddler that a plugin listening to tiddler changes on the server responds to, or
  • add a HTTP route that you make a request to.

I can share some code but am currently on the road and wont be home until after the Easter holidays.

Is that a plugin-mechanism on the Node side? I think I asked about this at one point and donā€™t recall learning that there was such a thing. That would definitely be easiest for me. Else Iā€™d have to either extend my own server, or write something that delegates most of its work to the node server.

Again, is this an extension of the normal Node server or a different tool?

I, for one, am in absolutely no hurry on this. Itā€™s still in my ā€œone dayā€ bucket.

Enjoy your travels!

TiddlyDesktop on macOS, Windows and Linux, Tiddloid on Android. Cloud storage to sync the single file wiki among devices.

You can write plugins that run under node.js only and not in the browser. See for example the Filesystem plugin. In this particular case you want a change listener in the node.js only plugin.

Extension of the node.js server to add a route via a route module-type. Example here.

2 Likes

Thank you so much everyone. I will be reading and implementing things over the upcoming week. I hope to add TW5 back into my daily routine as it is simply the best.

Ah, I entirely missed that fact. Thank you, for this and for all the great advice. This is very helpful.

ā€“ Scott

This is super-exciting. I confess I followed the link and donā€™t understand it at all.

But Iā€™m guessing it might mean that my github account (set up in the gap era between tiddlyspot and tiddlyhost), and the tw5 files hosted there, would suddenly become more useful??

1 Like

gitolite is not directly used in combination with GitHub. ā€¦ Except that the source code is stored there.

GitHub is the company and the space, where users can store open-source projects. The underlaying software used is git.

Gitolite will allow you to manage your own git hosting service on a command line basis using git.


Gitolite is an access control layer on top of git.

gitolite (Wikipedia)

Gitolite allows you to setup git hosting on a central server, with fine-grained access control and many more powerful features.

git is a ā€œversion controlā€ software.

git (Wikipedia)

Git is a distributed version control system that tracks changes in any set of computer files, usually used for coordinating work among programmers collaboratively developing source code during software development. Its goals include speed, data integrity, and support for distributed, non-linear workflows (thousands of parallel branches running on different systems)

GitHub is a hosting-service and a company.

GitHub (Wikipedia)

GitHub, Inc. is an Internet hosting service for software development and version control using Git.

Hope that makes it clearer.

2 Likes

As @pmario explains, no, this probably would not help you do what you want. Tools layered atop it might help you, and the sorts of things that @dionisos, @saqimtiaz, and I were discussing (and that you and I have discussed separately) would probably go a long way toward meeting your needs, whether or not they were built on gitolite. I donā€™t know if thereā€™s any appetite in the community for building any such thing. I know that Iā€™m not currently in the position to even consider itā€¦ and likely wonā€™t be for months.

I use Timimi with Chrome/Edge/Firefox on Windows 10 and they works great! If your TiddlyWIki saving is automatic, then most of the changes is saved automatically.
I also use Wbdav (having dashboard and file upload to server features thanks to @saqimtiaz) and Node.JS for development and have no problem.

I think Timimi is the simple route for most non-technical users and newcomers. Some people also recommend TiddlyDesktop as it is portable.

You may also like the TW native saver if your browser is Chrome/Edge. For me this works on Windows 10.

slaymaker1907/TW5-browser-nativesaver (github.com)

1 Like

This is pretty much the only way to save that doesnā€™t require some tool outside the browser. Everything else requires an extension, a binary executable, or shell script to run. For people using a locked-down computer this may be the only viable saver.

Along the same lines as the TW5-browser-nativefilesaver that @Mohammad referenced, I like to use TiddlyStow: Tiddlystow a(nother) native file saver

It uses the same mechanism but you use it by opening the TiddlyStow html file and then load a single-file Tiddlywiki through that loader. Then you can save in place (at least in Chorme-based browsers).

Just another option.
/Mike

I wrote a python server for serving and saving tiddlywiki html files called tiddlysaver-python. I run the docker container on a home server, and point my browser at it.

1 Like

I use tiddlystow for saving single HTML TiddlyWiki for work and hosted node.js TiddlyWiki for my personal wiki and digital garden. They both work well.