This is a minimal self-hosted app, written in Go, that can serve as a backend for a personal TiddlyWiki.
Go 1.7+
go get github.com/opennota/widdly
Put index.html
next to the executable (or, alternatively, embed index.html
into the executable by running zip -9 - index.html | cat >> widdly
). Run:
widdly -http :1337 -p letmein -db /path/to/the/database
-http :1337
- listen on port 1337 (by default port 8080 on localhost)-p letmein
- protect by the password (optional); the username will bewiddly
.-db /path/to/the/database
- explicitly specify which file to use for the database (by defaultwiddly.db
in the current directory)
git clone https://github.com/Jermolene/TiddlyWiki5
cd TiddlyWiki5
node tiddlywiki.js editions/empty --build index
Open editions/empty/output/index.html
in a browser and install some plugins
(at the very least, the "TiddlyWeb and TiddlySpace components" plugin). You
will be prompted to save the updated index.html.
Currently the only way to chnage the storage engine is to chnage line 40 in main.go to import a different storage engine and re-build the default is sqlite but you can also use:
- _ "./store/flatfile"
- _ "./store/sqlite" _ "./store/bolt"
For a Google App Engine TiddlyWiki server, look at rsc/tiddly.