Go to file
2021-01-20 07:12:16 -07:00
.builds add build file for CI 2020-05-08 07:07:12 -06:00
.github/workflows Create go.yml 2021-01-20 07:12:16 -07:00
.gitignore initial bits for gavin - a no bs webdav server 2019-11-07 08:05:34 -07:00
go.mod bump deps 2021-01-18 21:00:13 -07:00
go.sum bump deps 2021-01-18 21:00:13 -07:00
LICENSE remove comment lines 2019-11-29 08:40:04 -07:00
main.go s/validate/authenticate/g 2021-01-18 21:01:00 -07: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!