Go to file
2020-05-08 07:09:58 -06:00
.builds add build file for CI 2020-05-08 07:07:12 -06:00
pu Change prefix to davpath 2020-05-08 07:04:02 -06:00
.gitignore initial bits for gavin - a no bs webdav server 2019-11-07 08:05:34 -07:00
go.mod Change prefix to davpath 2020-05-08 07:04:02 -06: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 Change prefix to davpath 2020-05-08 07:04:02 -06:00
README.md add build badge 2020-05-08 07:09:58 -06:00

gavin

builds.sr.ht status

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!