A simple and standalone WebDAV server.
Find a file
Henrique Dias b645ac51eb
Merge pull request #3 from fzoske/master
Add Support For BCrypt Storage of Passwords
2018-03-31 15:32:19 +01:00
cmd/webdav Add Support For BCrypt Storage of Passwords 2018-03-31 12:01:00 +02:00
.gitignore Config file and parse configuration 2017-08-03 15:18:28 +01:00
.goreleaser.yml Add Travus and Goreleaser 2017-08-03 08:24:04 +01:00
.travis.yml Update .travis.yml 2017-12-21 17:07:12 +00:00
license.md Add license and readme 2017-08-03 08:19:42 +01:00
readme.md Add Support For BCrypt Storage of Passwords 2018-03-31 12:01:00 +02:00
webdav.go Remove useless baseURL 2017-08-05 10:29:09 +01:00

webdav

Build Go Report Card

webdav is a simple tool that creates a WebDAV server for you. By default, it runs on a random free port and supports JSON and YAML configuration. Here is a simple YAML configuration example:

scope: /path/to/files
address: 0.0.0.0
port: 8080
users:
  - username: admin
    password: admin
  - username: encrypted
    password: "{bcrypt}$2y$10$zEP6oofmXFeHaeMfBNLnP.DO8m.H.Mwhd24/TOX2MWLxAExXi4qgi"
  - username: basic
    password: basic
    modify:   false
    rules:
      - regex: false
      - allow: false
      - path: /some/file

You can specify the path to the configuration file using the --config flag. By default, it will search for a config.{yaml,json} file on your current working directory.

Download it here.