A self-contained JavaScript wiki for the browser, Node.js, AWS Lambda etc.

License: Other

Language: JavaScript

Keywords: html, javascript, linux, notepad, notes, tiddlywiki, wiki, windows

Welcome to TiddlyWiki, a non-linear personal web notebook that anyone can use and keep forever, independently of any corporation.

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.

Learn more and see it in action at

Developer documentation is in progress at

Join the Community


The TiddlyWiki discussion groups are mailing lists for talking about TiddlyWiki: requests for help, announcements of new releases and plugins, debating new features, or just sharing experiences. You can participate via the associated website, or subscribe via email.


New releases of TiddlyWiki, TiddlyDesktop and TiddlyFox are announced via the discussion groups and Twitter (you can also subscribe to an Atom/RSS feed of TiddlyWiki releases from GitHub)


There is also a discussion group specifically for discussing TiddlyWiki documentation improvement initiatives:

Installing TiddlyWiki on Node.js

  1. Install Node.js
    • either from your favourite package manager: typically apt-get install nodejs on Debian/Ubuntu Linux or Termux for Android, or brew install node on a Mac
    • or directly from
  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. Check TiddlyWiki is installed by typing:

    tiddlywiki --version

  4. In response, you should see TiddlyWiki report its current version (eg "5.1.21"; you may also see other debugging information reported)
  5. 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 in your browser
    4. Try editing and creating tiddlers
  6. 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.

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

You can also install prior versions like this:

npm install -g tiddlywiki@5.1.13

Using TiddlyWiki on Node.js

TiddlyWiki5 includes a set of Commands for use on the command line to perform an extensive set of operations based on TiddlyWikiFolders, TiddlerFiles and TiddlyWikiFiles.

For example, the following command loads the tiddlers from a TiddlyWiki HTML file and then saves one of them in static HTML:

tiddlywiki --verbose --load mywiki.html --rendertiddler ReadMe ./readme.html

Running tiddlywiki from the command line boots the TiddlyWiki kernel, loads the core plugins and establishes an empty wiki store. It then sequentially processes the command line arguments from left to right. The arguments are separated with spaces.

New in: 5.1.20 First, there can be zero or more plugin references identified by the prefix + for plugin names or ++ for a path to a plugin folder. These plugins are loaded in addition to any specified in the TiddlyWikiFolder.

The next argument is the optional path to the TiddlyWikiFolder to be loaded. If not present, then the current directory is used.

The commands and their individual arguments follow, each command being identified by the prefix --.

tiddlywiki [+<pluginname> | ++<pluginpath>] [<wikipath>] [--<command> [<arg>[,<arg>]]]

For example:

tiddlywiki --version
tiddlywiki +plugins/tiddlywiki/filesystem +plugins/tiddlywiki/tiddlyweb mywiki --listen
tiddlywiki ++./mygreatplugin mywiki --listen

New in: 5.1.18 Commands such as the ListenCommand that support large numbers of parameters can use NamedCommandParameters to make things less unwieldy. For example:

tiddlywiki wikipath --listen username=jeremy port=8090

See Commands for a full listing of the available commands.

Upgrading TiddlyWiki on Node.js

If you've installed TiddlyWiki on Node.js on the usual way, when a new version is released you can upgrade it with this command:

npm update -g tiddlywiki

On Mac or Linux you'll need to add sudo like this:

sudo npm update -g tiddlywiki

Also see

This readme file was automatically generated by TiddlyWiki

Project Statistics

Sourcerank 14
Repository Size 37.1 MB
Stars 4,215
Forks 789
Watchers 245
Open issues 864
Dependencies 0
Contributors 151
Tags 48
Last updated
Last pushed

Top Contributors See all

Jeremy Ruston Bram Chen Mario Pietsch Xavier Cazin giffmex Astrid Elocson Tobias Beer BurningTreeC Myeongjin Marxsal William Jackson Skeeve Devin Weaver twMat Andrey Yankin buggyj Marc Viot Felix Küppers Matt Lauber James W. Anderson

Packages Referencing this Repo

a non-linear personal web notebook
Latest release 5.1.21 - Updated - 4.22K stars
a non-linear personal web notebook
Latest release 5.1.15-prerelease - Published - 4.22K stars

Recent Tags See all

v5.1.21 September 10, 2019
v5.1.20 August 09, 2019
v5.1.19 December 20, 2018
v5.1.18 December 06, 2018
v5.1.17 May 12, 2018
v5.1.16 April 25, 2018
v5.1.15 November 14, 2017
v5.1.14 April 26, 2017
v5.1.13 July 25, 2016
v5.1.12 July 13, 2016
v5.1.11 January 30, 2016
v5.1.10 January 07, 2016
v5.1.9 July 03, 2015
v5.1.8 April 17, 2015
v5.1.7 December 19, 2014

Interesting Forks See all

A reboot of TiddlyWiki for the next 25 years
JavaScript - Last pushed - 3 stars
A reboot of TiddlyWiki for the next 25 years
JavaScript - Other - Last pushed - 1 stars
A self-contained JavaScript wiki for the browser or Node.js
JavaScript - Updated - 1 stars
A self-contained JavaScript wiki for the browser or Node.js
JavaScript - Updated - 1 stars
A reboot of TiddlyWiki for the next 25 years
JavaScript - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-09-10 15:36:21 UTC

Login to resync this repository