gavin/README.md

1.1 KiB

gavin

Simple utility to serve password protected WebDAV.

Installation

go git -u suah.dev/gavin

Example usage

gavin was built as a simple WebDAV server specifically to run organice. Here is an example showing how to host organice via WebDAV.

Flag Value Description
-davdir /tmp/org The directory we have our .org files in.
-htpass /tmp/.htpasswd Standard htpasswd file generated with htpasswd. Currently only bcrypt is supported.
-static /tmp/organice/build The directory that contains the built organice files.
gavin -davdir /tmp/org -htpass /tmp/.htpasswd -static /tmp/organice/build/

Now you can open your browser to http://localhost:8080/, sign in using the credentials in the .htpasswd file, and org away!