Repository

Looks good to me!

User Tools

Site Tools


kb:intranet:services:wiki:tiddlywiki:start

TiddlyWiki

> sudo apt install nodejs
> npm install -g tiddlywiki
> tiddlywiki WIKINAME --init server
> tiddlywiki WIKINAME --listen port=XXXX host=0.0.0.0 "readers=(anon)" writers=justin username=justin password=justin anon-username=anonymous
> ps aux | grep "tiddlywiki" | grep -v "grep" | sed "s/^[A-Za-z0-9]+\t([0-9]+)/\1/g"

Not a good idea to upload images into Tiddlywiki internally - this introduces additional load onto Tiddlywiki. Better if an external image source is used instead. See below for the initial request, noting that the document root is never cached and always requested for every single reload.

The benefit is mainly only for portable exporting of Tiddlywiki. Likely possible to implement this offline exporting feature by a mixture of: (1) saving Tiddlywiki, (2) extraction of image directory, (3) custom code to modify routing of external images to local paths.

kb/intranet/services/wiki/tiddlywiki/start.txt · Last modified: 16 months ago ( 6 July 2023) by justin