User Tools

Site Tools




useradd -d /home/tiddlywiki -m tiddlywiki
su - tiddlywiki
npm install tiddlywiki
node_modules/.bin/tiddlywiki --init server

Add the following to /etc/rc.local and run those commands :

su - tiddlywiki -c '/usr/bin/tiddlywiki /home/tiddlywiki/ --server 8080 $:/core/save/all text/plain text/html "" ""' &
iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination

Static export

node_modules/.bin/tiddlywiki --rendertiddlers [!is[system]] $:/core/templates/static.tiddler.html static text/plain
node_modules/.bin/tiddlywiki --rendertiddler $:/core/templates/static.template.html static.html text/plain
node_modules/.bin/tiddlywiki --rendertiddler $:/core/templates/static.template.css static/static.css text/plain

Custom Solarized palette

  • To add a custom palette, create a tiddler named `$:/palettes/Solarized`
  • Set the content type to `application/x-tiddler-dictionary`
  • add a custom field `description` with a description of your choice.
  • add a custom field `name` with your palette's name.
  • add a tag `$:/tags/Palette`
  • paste your palette's content, save and switch palette in the tools menu.
sysadmin_misc/tiddlywiki.txt · Last modified: 2018/09/25 15:00 (external edit)