widdly

A self-hosted minimal TiddlyWiki (TiddlyWeb) server

Pure Nim score 15/100 · last commit 2022-07-21 · 3 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 3
Forks 4
Open Issues 0
Last Commit 2022-07-21
Downloads 0
Last Indexed 2026-08-12 05:09

Installation

nimble install widdly
choosenim install widdly
git clone https://gitlab.com/opennota/widdly

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
widdly - - - - - - -

Source

Repository https://gitlab.com/opennota/widdly
Homepage https://gitlab.com/opennota/widdly
Registry Source gitlab

README

widdly License Pipeline status

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

Install

go install gitlab.com/opennota/widdly@latest

Use

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)

widdly will search for index.html in this order:

  • next to the executable (in the same directory);
  • in the current directory;
  • embedded in the executable (to embed, run zip -9 - index.html | cat >> widdly).

Flat file store

Instead of a bolt database, you can build widdly with a flat file store. Just add -tags flatfile after go get or go build.

  • -db /path/to/a/directory - the directory where the data (as ordinary files) will be stored (by default widdly_data in the current directory).

DynamoDB store

You can also use DynamoDB to store your tiddlers. Before doing this make sure you have a dedicated account with enough permissions to create/change/delete tables in DynamoDB. In order to build the binary with support for DynamoDB make sure you add -tags dynamodb after go get or go build.

  • -endpoint endpoint-url - the endpoint URL of your DynamoDB (e.g. https://dynamodb.eu-west-1.amazonaws.com)

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.

Similar projects

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

Donate

Bitcoin (BTC): 1PEaahXKwJvNJGJa2PXtPFLNYYigmdLXct

Ethereum (ETH): 0x83e9607E693467Cb344244Df10f66c036eC3Dc53