Self-host webdav
v5.17.3Standalone WebDAV server with per-user path permissions
brew install webdav- Stars
- 5 986
- Port
- 6065 (WebDAV HTTP/HTTPS server)
ghcr.io/hacdias/webdavWhat is webdav?
webdav is a WebDAV server built in Go that exposes a folder over the DAV protocol on your own hardware. It offers multi-user basic authentication with plaintext or bcrypt-hashed passwords, and credentials can be read from environment variables. Per-user rules control Create, Read, Update and Delete access by path prefix or regular expression, users can be mapped to their own directories, and several directories can be mounted as virtual roots. Additional capabilities include direct TLS termination, an optional HTML page that lists folder contents on GET requests, CORS settings, SabreDAV-style PATCH partial file updates, and console or JSON logging that Fail2Ban can watch to block brute-force sign-ins. Install it from release binaries, Homebrew, or go install, or run the Docker/Compose images with a settings file in YAML, JSON, or TOML format. The README also shows Nginx and Caddy reverse-proxy setups, including serving from a subpath.
webdav alternatives
FileBrowser Quantum📂 Web File BrowserCompareFileBrowser Quantum with webdav
pingvin-share-xOpen-source self-hosted file sharing platform and WeTransfer alternative with link sharing, expiration, passwords, ClamAV scanning, S3 support, and OIDC/LDAP auth.Comparepingvin-share-x with webdav
drivebaseDrivebase is a self-hosted, open-source file manager unifying Google Drive, S3, Dropbox, and local files into a desktop-like web UI with real-time transfers.Comparedrivebase with webdav
GokapiAn open-source, self-hosted Firefox Send alternative: expiring download links, end-to-end encryption, user roles, file requests and optional S3-compatible storage.CompareGokapi with webdav
CaddyFast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPSCompareCaddy with webdav
dashgateSelf-hosted, open-source app gateway for web services with multi-method auth, group access control, and auto-discovery from Docker, Traefik, Nginx, and more.Comparedashgate with webdav
filestashSelf-hosted, open-source web file manager that puts S3, SFTP, WebDAV, SMB, FTP and around 20 more storage protocols behind one Dropbox-style interface.Comparefilestash with webdav
Versity S3 GatewayVersityGW is an open-source, Apache-2.0 S3 object-storage gateway in Go: it turns POSIX filesystems, ScoutFS or Azure Blob into an S3 API, with IAM, WebUI and Helm.CompareVersity S3 Gateway with webdav
Should you self-host webdav?
webdav scores 66/100 on selfhost.directory (how scoring works) and ranks #14 of 90 in File Sharing. It has 5 986 GitHub stars, +78 in the last 30 days.
It shipped 24 stable releases in the past year. The latest, v5.17.3, came out on 30 October 2026. New versions land roughly every 10 days.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is copyparty (82/100, 47 352 stars). It scores higher overall, so compare the two before you pick. See webdav vs copyparty side by side.
Features
- Basic Authentication
- Bcrypt password hashing
- Built-in TLS
- CORS Configuration
- Delegated authentication
- Environment-sourced credentials
- Fine-grained path permissions
- HTML directory listing
- Multiple virtual root directories
- Partial file updates (PATCH)
- Per-user directories
- Regex-based access rules
- Reverse Proxy Support
- Structured Logging
- WebDAV file serving
webdav README
A simple and standalone WebDAV server.
For a manual install, please refer to the releases page and download the correct binary for your system. Alternatively, you can build or install it from source using the Go toolchain. You can either clone the repository and execute go build, or directly install it, using:
More in File Sharing
WeddingShareSelf-hosted, open-source photo and video galleries (formerly WeddingShare) that guests view and fill via share links or printed QR codes, with an admin panel.
WsgiDAVOpen-source, self-hosted WebDAV server written in Python on WSGI: share folders from the command line with SSL, Basic/Digest auth, and a browser directory listing.
XBackBoneSelf-hosted file and media sharing with ShareX support, S3/FTP/SFTP storage, deduplication, and modern auth including 2FA and passkeys.
YopassOpen-source, self-hosted secret sharing: Yopass encrypts passwords and files in the browser with OpenPGP, so links carry the key and secrets expire or burn after reading.
YouTransferA self-hosted file transfer and sharing server you run behind your own firewall, shipped as a Docker image or NodeJS app, pitched against Dropbox and WeTransfer.
ZiplineZipline is a self-hosted, open-source file upload server compatible with ShareX, featuring a dashboard, URL shortening, OAuth2, and S3 support.
ZPanOpen-source, self-hosted S3-native cloud drive: browser-to-bucket presigned uploads, share links, image hosting, WebDAV mounting, remote downloads and team spaces.
zrokOpen-source zero-trust tunneling tool for sharing web apps, TCP/UDP services and folders through firewalls; self-host your own instance or use zrok.io.
015Self-hosted temporary file sharing for one-time uploads with chunked transfers, instant deduplication, image compression, and share link controls.
agoraAgora is a self-hosted, open-source file server in Rust that serves directories over HTTP and can require Lightning Network payments for downloads via an LND node.
AgorakitOpen-source groupware for collectives: self-hosted groups with a forum, calendar with iCal feeds, file manager, map and email digests.
airdcpp-webclientSelf-hosted P2P file sharing via Advanced Direct Connect with a responsive web UI for NAS and servers.
0 comments