WebDAV for saving single file wiki

If you are confident is is a “a false positive” I am keen to use it.

2 Likes

I just realized I have had the amd64 version on my Windows machine for weeks with no issues or malware warnings. So I think there is no real issue here, just use the amd64 version on Windows.

1 Like

Thanks @pmario and @saqimtiaz amd64 version of https://github.com/hacdias/webdav/ running well, No “false positive for malware”.

This is working well, and now I am investigating my project for check in and out. Some thoughts;

  • This allows one to test single file tiddlywikis at a html address rather than at file:// for me Timimi is operating at file:
  • Any local host address is available eg I am using 127.0.0.2:80
  • I used a “send to” tool, now I can send any tiddlywiki file to the server /wikis folder

Futures

  • Get 127.0.0.2 to load index.html
  • Install on an always on device
  • My serial edit tool so multiple users can access on the LAN
  • Create an association with .html and .tw files so I can serve any tiddlywiki from any folder?

Folks,

I would like to discuss further work on the
https://github.com/hacdias/webdav server and its use with tiddlywiki.

For example;

  • A fully configured solution in a zip
  • Custom solutions in a zip
  • Saving other files to the server
    • Eg; Generate an edition in InnerWiki and save to server as a new filename
    • File uploads plugin

Should I continue here or start a new thread?

I think a separate post might make for better engagement.

1 Like

There is a relatively new custom WebDAV server for TiddlyWiki, with elements built in similar to my wikifarm set up for creating new wikis:

Features

  • TiddlyWikis are served over WebDav so you can save directly from the browser.
  • Automatically create new wiki files by browsing to a non-existent html file.
  • Built in .htpasswd management (Adding users).
  • Password protection via HTTP Basic Authentication.
  • Multiple users (adding another user to the .htaccess file creates a new user namespace).
  • Optional TLS support.
2 Likes

Saq,
It seems it needs the Go language to be installed! Am I right?

1 Like

@Mohammad yes that is correct, though it should be possible to create pre-compiled binaries for it, just as is the case for the other two Go based implementations (micromata/dave and hacdias/webdav).

Personally I prefer to have the wiki creation/management stuff in TiddlyWiki itself as is the case in my set up, but having this in the WebDAV server is useful for those not willing or able to go the DIY route.

2 posts were split to a new topic: Custom application for TiddlyWiki based on WebDAV

This may be of interest for those of you using WebDAV to save your wikis:

1 Like

I just wqanted to add to this discussion the externalising of Javascript

Using the external JavaScript template with the single file configuration

If not already, it could reduce the total size of a webdav package of more than one TiddlyWiki

1 Like

A post was split to a new topic: Issue saving wiki with WebDav

Hello this is mostly for @saqimtiaz but of course any help is appreciated - referencing the above quote and looking at your wikifarm webdav TW I can’t figure out how you are getting that filesystem tiddler.

I have wikis on a webdav server and it saves as expected. I can connect to and interact with the server with a client on my local machine.

Could it be that I am not ‘localhost’ but connecting to an external domain via https? That doesn’t seem to matter with ‘normal’ webdav saving.

Thanks for this work I am really starting to appreciate webdav and TW.

edit: I am working with a new 523-pre TW that I dragged your wikifarm over to and imported all tiddlers.

1 Like

As the writeup and videos you linked to state, the wikifarm is implemented using custom code that is not published as of yet.

The ability to save over WebDAV is a native TW feature.

1 Like

Yeah I figured there was something in there I was missing. No matter how many times I read things I know I am missing the answer. Thank you for your reply. I hope that becomes public some day it is a really nice feature!!! I don’t know why it’s taken me this long to realize how sweet the webdav features are.

@Mark_S It’s been a while since you posted this, but thank you! A (very) recent switch to Mac has me pretty much questioning everything instead of my usual ‘dive I and see what happens’ approach. Hopefully that level of mastery will come to me once again quickly… In the meantime I appreciate the lifeline you threw out here :slight_smile:

2 Likes

Hi @saqimtiaz

Is the below Tiddlywiki saver categorized under WEBDAV saver?

pearigee/tiddly: A small TiddlyWiki 5 server that supports PUT (DAV) saving. (github.com)

It seems this is a light weight solution! But I am not sure after compile and build it needs Rust or can produce single executable?

I am not sure. Don’t we have a lot of lightweight WebDAV sever options now? What makes this particular one more appealing than others?

One thing to watch out for is that a some of these custom WebDAV implementations don’t really support the entire WebDAV spec and just support enough methods for the TiddlyWiki Put saver to work. That is sufficient if all you want to do is save, but falls short if you also want to create backups, create backup directories if they do not exist, etc.

Just noted to small footprint! nothing more!

Thank you for clarification!

So does reclone support the copy request?

I’ve been toying with redbean even though it lacks a key feature on Windows. It’s only a few lines of code to implement a PUT method for saving. I looked into the RFC for the copy method and it seems like it would be fairly simple to implement also. Can you share a Wiki file that send the copy request?