Custom application for TiddlyWiki based on WebDAV

Yes indeed. The real value of the current TiddlyDesktop implementation is the way that behind the scenes it is just a TiddlyWiki with some special capabilities (such as opening desktop windows), and I would expect to retain that architecture in some way.

1 Like

This is indeed the appeal of WebDAV, it seems like very low hanging fruit that would serve the needs of users who work with single file wikis. In fact the only thing missing from existing options is a friendlier way (GUI?) to configure the server parameters than using the command line or editing a YAML file. I haven’t looked into GUI implementation details for Go, or other configuration alternatives yet, but this could ostensibly be an undertaking small and self-contained enough that I could find the time to build and maintain it.

I have a professional and personal interest in facilitating use of local single file TiddlyWiki by users with limited digital literacy using resource scarce devices.

I will revisit this topic when time allows and explain my thinking in more detail, both in terms of user experience and technical details. I am waiting for an opportunity to write up my thoughts in a considered and coherent manner lest I compound the mistakes of my initial rushed post.

Happy for others to continue the conversation in the meantime if there is interest.

1 Like

@saqimtiaz I too are keen for a similar solution ultimately for professional and business reasons.

I hope the following thoughts are of some value as I have spent a lot of time on this subject.

One step forward may be;

  • For a locally accessible wiki the local host address range 127.x.x.x offers around 16 million addresses one could argue a random address could be an auto-configuration option.
  • Interestingly this larger range seems rarely used.

What are the other key server parameters we need to deal with? They are influenced by the trust environment.

  • Configuration handling - JED’s Bob imports and allows the changing of configuration settings on the server, in its case Node. Something similar could be used to handle a YAML file.
  • If our WedDav served wiki can save and read other files (not just itself) in its local directory,
    • sophisticated Tiddlywiki based GUI’s can be developed in tiddlywiki itself
    • The locks/serial editing user control and passwords features added
    • File uploads plugin or a version of it can be used.
  • I am a strong believer we should design with the consideration of the different “trust” environments. Eg:
    • for oneself to access ones wikis
      • On the local machine only eg local host
        • This should permit the option of more interaction with the local machine (eg; like Timimi Webextensions)
      • from another device of mine on the LAN eg my Mobile
      • Only needs listen on and it will acquire the local ip Addresses
        • We should however allow a static address to be used.
    • to share with others on the LAN
      • from friends, family team members on the LAN
      • to host somewhere “always on” on the LAN not my local desktop
        • One opportunity here is also those with a VPN into the LAN for individuals or team members for remote access.
    • Ultimately on the Internet (very low trust)
      • but lets not let this negatively impact the other higher trust environments.

A key technology for multiple users is the provision of a lock, check in or checkout facility for single files wikis to allow serial editing, ie multi-user over time. I have done a lot of work on this already, but believe it should be included in a WebDav solution.

If a solution can be preloaded with a specific wiki, but containing a configuration GUI, people can obtain a for purpose “application”, minimal setup requirements with access to a “backstage” where they may install additional wikis, access backups etc… via the same server/IP address but different paths.

I hope this is relevant and interesting - it is just something I ran across while browsing. LoFloccus - a webdav server with a user interface. Written in the go language and the Qt graphics library for the server ui. It was written as a companion for a browser plugin for syncing bookmarks to a local file; which seems similar to the application of syncing in-browser tiddlers to local files. I thought the UI looked like it could be inspirational for a similar TiddlyWiki focused application.



@amreus thank you.

Researching GUI libraries that are cross platform and with which the application can compile to a single executable of reasonable size is on my to-do list.

One of the options worth considering is just using a PWA/TW served over WebDAV for the server configuration itself as well.

I’m not sure if I’ve mentioned it before, but at the risk of introducing a tangent I have a soft spot for, a cross platform web server in a single executable that integrates the code and data. Very TW-esque.


@saqimtiaz I just reviewed your video demo and was very impressed.

Despite intimating various ideas earlier in this thread I think the webDav solution you presented would facilitate the concept of tiddlywiki’s acting as smart documents. Basically a document which, in addition to providing an interactive UI it may also contain the “smarts” to manage itself, a bit like packaging a document with the document management environment built in. That is, rather than placing the document into a Document management system, placing the document management system into the document.

To explore the possibility of such a vision a key requirement is they can be treated as documents on different devices and operating systems. That is they are not bound to the server or browser. Your solution demonstrates this. It also allows instances of tiddlywiki to be more really be treated as documents/files.

I used TiddlyDesktop a lot previously just to get the interaction with the local desktop and files. This solution allows one to use the preferred browser and all the bookmarks, bookmarklets etc… therein whilst gaining the local interaction.

Love your work.

1 Like

I just returened here after posting this curiosity Curious Observation in read only windows help file.

I wanted to Bump this and suggest it would be good to see all four of the following;

  • The ability to package a single tiddlywiki into a exe that can save locally. Using a native application windows (like Single wiki version of Bob.exe or tiddlydesktop) bit like tw.exe.
  • The ability to package a single tiddlywiki in an exe which serves it at a local host address (not the but say and/or configure)
  • The above on or a named “static IP Address” eg: so the one user can access it from multiple devices.
    ** We need a form of checkout on device.
  • Something similar to the webdav solution which acts as a way to serve multiple TiddlyWiki’s and open/save them.

I could see us having .tw files with associations to open in a exe or server such as ensure WebDAV is loaded.

Yes I would also like bob.exe for multi-user wikis to allow us to package a custom wiki in it.

I think that is near GitHub - tiddly-gittly/TidGi-Desktop: TidGi is an privatcy-in-mind, automated, auto-git-backup, freely-deployed Tiddlywiki knowledge management Desktop note app, with local REST API. 「 太记 」是一个基于「 太微 TiddlyWiki 」的知识管理桌面应用,能保护隐私内容、高级自动化、自动Git云备份、部署为博客,且可通过RESTAPI与Anki等应用连接。(迭代开发中欢迎试用,开发进度见下方链接)(Under active development, see website below for details) , I make this to make sure most of user can use it like using Obsidian app.

In TidGi, TiddlyWiki only cares about saving to disk, the backup is managed by the git, so we can use any git manager or just use TidGI’s built-in git-sync module to do complex git-flow backup.
Adding a webdav backup module to TidGi won’t be too complex. And I pack the git binary with TidGi, so user don’t need to install nodejs and git (maybe webdav server too) by them self, they possibly don’t even know what git and nodeis are!

Doing backup in TidGi is because its electron is multi-process, we can backup in background, so it won’t slowdown the frontend. And no matter what happened to frontend, there will always be a backup in the disk.

Beyond that, I’m providing some native feature to tiddlywiki via electron, like executing shell and JS in the nodejs via GitHub - google/zx: A tool for writing better scripts , or open tiddler (PDF tiddler) in native reader…

1 Like

That is what I’m implementing in Choosing starting Template, a TW edition (wiki template) list API JSON example - #3 by jeremyruston


I have made decent progress on implementing a basic cross platform WebDAV server with a GUI configuration for creating new wikis, configuring backups etc. In limited testing it is working well on Ubuntu, Windows and OSX.

All of the code handling creating new wikis etc is client based and the next thing I need to do is refactor that for potential inclusion in to the core and greater reliability overall.

The overall user experience is similar to what is shown in the video demo I posted a while back, with the major difference being that setting up a WebDAV server for TiddlyWiki to use and creating your first wiki is pretty much a one click process.


@saqimtiaz I revisited your demo video again and must say I am really impressed.

Once finessed I think it provides an easy path to adoption and hosting. Other features long sought after such as a basic locking, local system access all in one bundle is fantastic. By the way it is implemented, I can see it should be easy to add more sophisticated features built on top such as user control mechanism’s etc…

  • In my view it already includes the lion’s share of features for a robust solution

Is there a installable example? and could you please share the link?

  • I am collecting all the resources I can find but not yet found an install method.

One other Question

  • You mention its operation simply required a “put” so do you think it can be able to work on top of a php host?

I am not sure if you refer to the client side code (TW plugins) for working with WebDAV that is presented in the demo, or the WebDAV server this thread is about. In either case however, there is no public demo yet.

The first goal will be to get the server robust enough for release, which will take a fair bit of time considering my schedule for the near future. The plugins likely will not be published until after we have HTTP actions in the core, and I rewrite the plugins to use them.

Everything you see in the client side demo requires WebDAV. When I mention requiring a PUT request, it is to illustrate how easy working with WebDAV actually is.

I would prefer to keep this thread focused on the server component.

No time pressure at all. It was hard to see if I had missed something. I just wanted to help, experiment etc… I await any updates :nerd_face:

I am still very interested to see this - the demo you posted some time ago was really promising. Unfortunately I cannot find the thread anymore, can relink it?

@JanJo I don’t believe there has ever been a publicly accessible version of it but I did post a writeup and video demonstration a while back, see below:


This looks incredible. I think many would find it useful. Looking forward to the publicly accessible version!


Just spent some time going down the redbean rabbit hole!! This is truly a very cool piece of software. It would be nice if it had an integrated webdav server!

There is a Red Bean saver for TiddlyWiki that works via the TW WebDAV saver:

1 Like

I tried to investigate redbean over the weekend - Windows immediately flags it as a virus, makes the executable inaccessible, and ultimately removes the download entirely. I know it’s a false positive. I know I could white list it. Until enough false positives are reported and the antivirus scanners catch up, It’s literally a nonstarter on Windows.

Edited to add that a key feature of redbean named StoreAsset which performs the save is currently not supported on Windows.