Install TiddlyWiki, an awesome non-linear notebook on your own server, so that you can access it anywhere.
sudo apt-get install nodejs npm sudo npm install -g tiddlywiki
Configuration and starting
On Ubuntu you need to run the following command due to TiddlyWiki expecting to use a node executable called
node rather than
nodejs. The reason for this issue is due to a conflict for the name
# This is the error # /usr/bin/env: ‘node’: No such file or directory sudo ln -s /usr/bin/nodejs /usr/bin/node
Change to the directory where you want the wiki to be created, and run the following command.
<wikiname> should be replaced with your desired name. This sets up your TiddlyWiki directory.
tiddlywiki <wikiname> --init server
To actually launch the program use the below command. It can then be accessed at
tiddlywiki <wikiname> --server 8080 "" "" "" "" "" 0.0.0.0 ""
Starting on boot
In most cases you will want the wiki to start serving automatically when you turn on your computer. There are several ways of doing this, but adding the below to your crontab is probably the most simple.
crontab -e from the termrinal to open the crontab, and paste this line at the bottom. Change
"<password>" to the username and password required to access the wiki from a browser, or if you don’t need authentication, you can replace them both with
@reboot /usr/local/bin/tiddlywiki /home/gns/tiddly/athena_tiddly --server 8080 "" "" "" "<user>" "<password>" 0.0.0.0 ""