Skip to main content

TiddlyWiki, non-linear wiki in Javascript

Looking for a small wiki? and thinks Dokuwiki is still too heavy and have too many constrains?

TiddlyWiki will please you.

TiddlyWiki is a non-linear personal web notebook or wiki in Javascript completely interactive. It can either be used as a single HTML file in the browser or as a powerful Node.js application.

Tiddlywiki main page

With a high degree of customization, it is easy to organize and share notes and information in the way you want (No preset organizational structure). You can use it as a wiki, or a todo list or a notebook or anything you feel convenient with.

Tiddlywiki Plugins

TiddlyWiki has an extensive list of themes, colour palettes, plugins, widgets and macros to suit your needs just the way you want it.

Definitely one of the best wiki I’ve seen.

Tiddlywiki edit


Actually, they have a really nice wiki :p

Make sure to have a look or save their offline version. (Right click to save it)

You will first need to install node.js and npm.

1) Install nodejs and npm

– If you use Ubuntu, simple run (as root)

– If you are on Debian (Wheezy?) like me, you can install nodejs from wheezy-backports (modify your source.list accordingly) and run (in root):

and for npm, you can use the installer (still in root)


2) Install TiddlyWiki using npm

Still in root (or with sudo):

TiddlyWiki should now be installed


3) Initialize the wiki server

You will need to initialize a wiki folder for all the server-related components.

Simply go in the directory of your choice and initialize the server wiki foldr


4) Launch the server instance

And you should now be able to access to your TiddlyWiki through HTTP://


5) Set a different port, address and add username/password

You can decide to change the port number, or host or add username/password as you wish.

You can either use a preset or directly through the command when you launch your instance. Here is an example

It works like this:

You should now be good to go.


You could also set encryption or either directly use their TiddlyDesktop application to work with your instance.

If you have any question, the project is well maintained with a growing community, so I strongly suggest to raise any questions on their git issues tracker.


Dokuwiki, host your own wiki on your server

dokuwiki logoWikipedia has been an outstanding success and I cannot imagine not having this great encyclopedia. I remember when Wikipedia was officially launched in 2001, it was a big buzz! A free encyclopedia written by the community without a central authority to control the editing!


At the beginning a lot of people were even against it. (Don’t trust what is written on Wikipedia, etc…) and true, everything was not perfect but along the years Wikipedia gained exposure and contributors providing high quality content with very often even more information and history than popular encyclopedias (Such as Encarta and others).

There is a lot of people with real passion about what they are writing about and I really thanks them for bringing this up on Wikipedia.

But now, you may want to build your own Wiki to let several users/community write and maintain information on your project, hobby, business, etc…

The 2 most popular wiki apps are MediaWiki (the one behind Wikipedia) and Dokuwiki.

Long story short, Dokuwiki is usually better for small/medium size wiki, while MediaWiki will perform much better for large/extra large wiki.

This first article will focus on Dokuwiki.

On top of good SEO, DokuWiki does not need a database (Easier to install, maintain and backup) and has an easy to use administration panel and pictures upload.

Under GPL v2, Dokuwiki has also a large set of plugins (Captcha, upgrade plugin, Translation, Video share, Gallery plugins and many more).

dokuwiki main page screenshot

Interested to give it a try? Here is how to install it.



Dokuwiki is actually available in several distributions’ repo but as I wish to install the latest stable version, I will explain how to do the manual install (Still easy).

PS: I assume you have a Apache and PHP already installed.

1) Download the latest stable version on a dedicated /var/www folder.

In root (or with sudo), run:

Note that the option –strip 1 while extracting dokuwiki will skip the first directory (it avoids you to do additional steps like moving all the contents of the directory extracted and deleting this directory)

2) Change owner of your dokuwiki folder by the web server user

You will need to run below command (still in root) to make sure the folder and config files are accessible or writable.

3) Access the web installer

With your web browser, simply go to http://yourIP/installer.php

dokuwiki installation screenshot

You will need to set the wiki name, an admin account with real name, email and password. You will be able to configure the ACL policy (Open for all in read/write, or Public with only read, but write only for registered users, or closed with only registered users having access to it). You will also be able to select the license you want to put your content under (Like Public Domain, GNU Free Document License, etc…)

When done, if not error, it will ask you to delete the install.php file to secure your installation. And you will be ready to go to the admin page.

dokuwiki admin page

Simply run

4) Secure your data directory

Dokuwiki data directory not secureIf like me, you have a red popup message informing your data directory is not secured, it’s due to the lack of .htaccess or virtualhost managing the permission of the directory. You will basically need to set

for the folder data, conf, bin and inc.

As I  like to use Virtualhost to set a specific domain name and to force SSL connection, let’s create a dedicated vhost and set the directory permissions inside.


Virtualhost configuration

Let’s assume you want to access to your newly installed dokuwiki through the URL wiki.domain.tld

What you will need:

1) Create a A redirection in your DNS server/registrar with wiki.domain.tld to your IP

2) Have SSL certificate ready. If not you can read this tutorial. (Optional)

3) Create your virtualhost as following:

In /etc/apache2/sites-enabled/, create a file called dokuwiki (In root):

and paste the following content:

Adapt the content (Servername, webmaster email, SSL certificate and directory).

When done, save the file (CTRL+X then Yes) and reload apache: (In root)

You should now be able to access to your dokuwiki instance using HTTPS connection and you should not see anymore the red popup message on data directory security issue.


Obviously, you can do a lot with dokuwiki and I can only recommend you to check their great…wiki!

wikipedia problem too much content