Skip to content
/ WebDav Public

ファイルサーバー/アップローダーを作りたかったから作った

License

Notifications You must be signed in to change notification settings

aatomu/WebDav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebDav

簡単に動かせると思いたいWebDav Server
HTTP HTTPS Basic認証対応
golang: go version go1.20.1 linux/amd64

How To Use

Boot: go run main.go <flags>
flags:

  • -config: webdav config json file path
  • -user <Username> -pass <Password>: create user data hash

config.json

{
  "customize": "<template files path>",
  "users": "<user list json file path>",
  "directory": "<use directory path>",
  "httpPort": 80,
  "httpsPort": 8080,
  "ssl": false,
  "authorization": false,
  "shareDirectory": false
}

users.json

{
  "<UserName>": "<Hash>",
  "<UserName>": "<Hash>",
  "<UserName>": "<Hash>",
}

About

ファイルサーバー/アップローダーを作りたかったから作った

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published