Website/Demo | Source | Desktop
TiddlyWiki is a complete interactive wiki in JavaScript. It can be used as a single HTML file in the browser or as a powerful Node.js application. It is highly customisable: the entire user interface is itself implemented in hackable WikiText.
It can be run client-server mode in nodejs:
TiddlyWiki is a SingleFileApplication, which is easy to use. For advanced users and developers there is a possibility to use a Node.js client / server configuration. This configuration is also used to build the TiddlyWiki SinglePageApplication
Debian/Ubuntu:
apt install nodejs
May need to be followed up by:
apt install npmArch Linux
yay -S tiddlywiki
(installs node and tiddlywiki)
brew install node
npm install -g tiddlywikiIf it fails with an error you may need to re-run the command as an administrator:
sudo npm install -g tiddlywiki(Mac/Linux)
tiddlywiki --version
tiddlywiki mynewwiki --init server to create a folder for a new wiki that includes server-related componentstiddlywiki mynewwiki --listen to start TiddlyWikitiddlywiki mynewwiki --build indexThe -g flag causes TiddlyWiki to be installed globally. Without it, TiddlyWiki will only be available in the directory where you installed it.
Warning
If you are using Debian or Debian-based Linux and you are receiving a node: command not found error though node.js package is installed, you may need to create a symbolic link between nodejs and node. Consult your distro's manual and whereis to correctly create a link. See github issue 1434.
Example Debian v8.0: sudo ln -s /usr/bin/nodejs /usr/bin/node
Tip
You can also install prior versions like this:
npm install -g tiddlywiki@5.1.13
Saving to a Git service is configured in the $:/ControlPanel in the Git Service Saver tab under the Saving tab. The following settings are supported:
GitHub Saver is a step by step tutorial that shows how to integrate Tiddlywiki 5 and GitHub Pages to create websites hosted on https://github.com/.
https://kookma.github.io/TW5-GitHub-Saver/
This instruction is based on Tiddlywiki single html file model, while it can use subfolder for extra materials like images, audios, videos, pdfs,... in separate folders.
Other tutorials
Tiddlywiki, Travis-CI and GitHub Pages
https://kookma.github.io/Tiddlywiki-Travis-CI/
This wiki shows how to set up websites hosted on GitHub Pages using Travis-CI and Tiddlywiki 5 on Node.js.
Tiddlywiki and GitHub Pages
https://kookma.github.io/Tiddlywiki-and-GitHub-Pages/
This instruction is based on local edit, save and push to GitHub. It does NOT use the new GitHub Saver mechanism (requires TW 5.1.20+) which lets edit and save directly from Tiddlywiki!
Runs TW as a progressive web app. Secure offline storage and cross-device synchronization solution for TiddlyWiki 5.
Last modified 05 January 2026