Go to file
2020-05-08 07:02:51 -06:00
pu Make unveil bits OpenBSD specific 2019-11-21 20:34:39 -07:00
.gitignore initial bits for gavin - a no bs webdav server 2019-11-07 08:05:34 -07:00
go.mod Add support for .htpasswd files. 2019-11-07 18:00:07 -07:00
go.sum Add support for .htpasswd files. 2019-11-07 18:00:07 -07:00
LICENSE remove comment lines 2019-11-29 08:40:04 -07:00
main.go Add readme, change description on some of the flags. 2020-05-07 21:54:39 -06:00
README.md add install instructions 2020-05-08 07:02:51 -06:00

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!