Skip to content
/ widdly Public

A self-hosted minimal TiddlyWiki (TiddlyWeb) server

License

Notifications You must be signed in to change notification settings

xarnze/widdly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

widdly License Build Status

This is a minimal self-hosted app, written in Go, that can serve as a backend for a personal TiddlyWiki.

Requirements

Go 1.7+

Installation

go get github.com/opennota/widdly

Usage

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 be widdly.
  • -db /path/to/the/database - explicitly specify which file to use for the database (by default widdly.db in the current directory)

Build your own index.html

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.

Changing the storage engine

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"

Similar projects

For a Google App Engine TiddlyWiki server, look at rsc/tiddly.

About

A self-hosted minimal TiddlyWiki (TiddlyWeb) server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published