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.

Scripts in TiddlyWiki

It can be run client-server mode in nodejs:

Installing TiddlyWiki on Node.js

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

  1. Install Node.js
    • Linux:

      Debian/Ubuntu:
      apt install nodejs
      May need to be followed up by:
      apt install npm

      Arch Linux
      yay -S tiddlywiki
      (installs node and tiddlywiki)

    • Mac

      brew install node

    • Android

      Termux for Android

    • Other

      See http://nodejs.org

  2. Open a command line terminal and type:

    npm install -g tiddlywiki

    If it fails with an error you may need to re-run the command as an administrator:

    sudo npm install -g tiddlywiki (Mac/Linux)

  3. Ensure TiddlyWiki is installed by typing:

    tiddlywiki --version

    • In response, you should see TiddlyWiki report its current version (eg "5.3.8". You may also see other debugging information reported.)
  4. Try it out:
    1. tiddlywiki mynewwiki --init server to create a folder for a new wiki that includes server-related components
    2. tiddlywiki mynewwiki --listen to start TiddlyWiki
    3. Visit http://127.0.0.1:8080/ in your browser
    4. Try editing and creating tiddlers
  5. Optionally, make an offline copy:
    • click the save changes button in the sidebar, OR
    • tiddlywiki mynewwiki --build index

The -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


Community Resources

Saving to a Git service

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 Tutorial by Mohammad

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

TiddlyPWA

Source

Runs TW as a progressive web app. Secure offline storage and cross-device synchronization solution for TiddlyWiki 5.


Tags: presentation   tool   browser   wiki  

Last modified 05 January 2026