Deploy TiddlyWiki
Open-source non-linear notebook wiki. TiddlyWiki 5.4.1, saved to a volume
TiddlyWiki
Just deployed
/data
Deploy and Host TiddlyWiki on Railway
TiddlyWiki is a free, open-source non-linear notebook for capturing, organising and sharing complex information. Notes are small linked "tiddlers" that you can tag, transclude into each other and query with filters. Its entire interface is written in its own WikiText, so it can be customised and extended with plugins.
About Hosting TiddlyWiki
This template runs TiddlyWiki 5.4.1's official Node.js server, built from a public GitHub repo on the official Node.js image pinned by version and digest. Edits save to the server as you make them, one plain-text file per tiddler, in a wiki folder on a Railway volume at /data, so your notes survive redeploys and restarts. The first start creates an empty wiki from TiddlyWiki's server edition; later starts reuse it. The wiki is protected by a login: the username is admin and the password is generated per deploy. Railway checks /healthz, which answers without login, and serves the wiki on a public HTTPS domain.
Common Use Cases
- A personal knowledge base or zettelkasten you can reach from any browser
- A project journal, reading log or to-do system with tags and saved filters
- A small team notebook or documentation site, optionally readable by anyone
Dependencies for TiddlyWiki Hosting
- A Railway volume for the wiki folder (included, mounted at
/data) - No database: tiddlers are plain files on the volume
Deployment Dependencies
- TiddlyWiki 5.4.1 release: https://github.com/TiddlyWiki/TiddlyWiki5/releases/tag/v5.4.1
- TiddlyWiki on Node.js: https://tiddlywiki.com/#TiddlyWiki%20on%20Node.js
- Template repo (Dockerfile, start script, changelog): https://github.com/aalfath/tiddlywiki-railway-template
Implementation Details
After deploy:
- Wait for the first deploy to finish (about a minute).
- Open the TiddlyWiki service's Variables tab and copy
TW_PASSWORD. - Open
https://YOUR-DOMAIN/and sign in asadminwith that password. Changes save automatically.
To import an existing single-file wiki, drag its .html file onto the open wiki and click Import. To publish a read-only wiki, add the variable TW_READERS=(anon): anyone can read, and editing still needs the login. For a backup, use "Save snapshot for offline use" under the cloud icon in the sidebar.
Updates: each TiddlyWiki release becomes a commit to the template repo with a changelog entry. Railway then shows an "update available" notice on your project and you choose when to apply it. The wiki on the volume is kept.
Why Deploy TiddlyWiki on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying TiddlyWiki on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
TiddlyWiki
aalfath/tiddlywiki-railway-template