Self-host Dufs
v0.47.0File server for HTTP, WebDAV, uploads and static hosting
docker run -v `pwd`:/data -p 5000:5000 --rm sigoden/dufs /data -A- Stars
- 11 075
- Port
- 5000 (HTTP/HTTPS file server UI and API)
sigoden/dufsWhat is Dufs?
Dufs is a Rust file server that turns any folder into a web share you run as a single command, a container or a downloadable binary. It lists and serves static files, accepts drag-and-drop or curl uploads, lets you create, edit and search files in the browser, and can bundle an entire directory into a zip download. It also speaks WebDAV, supports resumable uploads and downloads, and can serve one file, an index.html site or a single-page app. Access control is defined per path with named accounts and read-write or read-only rules using basic or digest authentication; sha-512 hashed passwords and TLS certificates for HTTPS are supported. Options come from command-line flags, a YAML config file, or environment variables prefixed with DUFS_, so the container is easy to wire into a compose stack. The built-in listing UI is plain HTML/JS/CSS and can be replaced with your own assets folder.
Dufs alternatives
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 Dufs
transfer.shA self-hosted, open-source file sharing server: upload with curl or a web front end, share expiring links, store on local disk, S3, Storj or Google Drive.Comparetransfer.sh with Dufs
ErugoErugo is an open-source, self-hosted file sharing platform with memorable URLs, password protection, expiration dates, download limits, and a customizable dashboard.CompareErugo with Dufs
FileBrowser Quantum📂 Web File BrowserCompareFileBrowser Quantum with Dufs
NzbDAVSelf-hosted WebDAV server that mounts NZB files as a virtual filesystem for direct streaming to Plex, Jellyfin, and Stremio via SABnzbd-compatible API.CompareNzbDAV with Dufs
PlikShareOpen-source self-hosted file sharing with unlimited users, multiple storage backends, three encryption modes, OIDC SSO, TOTP 2FA, sharing boxes, and MCP for AI agents.ComparePlikShare with Dufs
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 Dufs
cloudboxioA lightweight Go-based file server you host yourself, offering JWT login, shareable links, a themed web interface, and embedded SQLite storage.Comparecloudboxio with Dufs
Should you self-host Dufs?
Dufs scores 72/100 on selfhost.directory (how scoring works) and ranks #4 of 90 in File Sharing. It has 11 075 GitHub stars, +126 in the last 30 days.
It shipped 2 stable releases in the past year. The latest, v0.47.0, came out on 17 October 2026. New versions land roughly every 5 months.
Setup is easy: most people get it running in one sitting. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Rust.
Its closest alternative on selfhost.directory is copyparty (82/100, 47 312 stars). It scores higher overall, so compare the two before you pick. See Dufs vs copyparty side by side.
Features
- Command-line / HTTP API friendly
- CORS
- Customizable UI assets
- Drag & drop uploads
- File create, edit and search
- Folder download as zip
- Health check endpoint
- Hidden paths
- HTTPS
- Per-path access controlAuth rights are capped by the global --allow-* options.
- Resumable transfers
- Single-page app / index.html serving
- Static File Serving
- WebDAV Support
Dufs README
More in File Sharing
DumbDropDumbDrop is a self-hosted, open-source file upload app with drag-and-drop UI, optional PIN protection, dark mode, and Apprise notifications. Run via Docker or Node.js.
ElixireElixire is a self-hosted image hosting solution written in Python with API-based uploads, user accounts, link shortening, admin panels, and frontend interfaces.
erfanzadeh.irA self-hosted, open-source file sharing server in Go with drag-and-drop uploads, auto-eviction at 10 GB, and download tracking — no accounts needed.
ErugoErugo is an open-source, self-hosted file sharing platform with memorable URLs, password protection, expiration dates, download limits, and a customizable dashboard.
ferrishareSelf-hosted file sharing with browser-side encryption so the server never sees content. Single container with SQLite, admin panel, rate limiting, configurable expiration.
fertilizerA self-hosted, open-source utility that creates cross-seed torrents for Redacted and Orpheus, with optional automatic injection into torrent clients.
FileBrowser Quantum📂 Web File Browser
Filen WebDAVSelf-hosted WebDAV server for Filen's encrypted cloud with standalone, proxy, and cluster modes and basic/digest auth.
FilePizzaOpen-source, self-hosted WebRTC file sharing: drop files in a browser and send a link for direct peer-to-peer downloads with password protection and ZIP bundles.
filesharingFileSharing is a self-hosted, open-source file sharing app like WeTransfer with secure links, no database needed.
fileshelterSelf-hosted file sharing application that lets you upload files and share them via unique URLs with expiration, password protection, and multi-file zip creation.
FileSyncSelf-hosted, open-source WebRTC file sharing: beam one file to many devices live, peer-to-peer, with resumable transfers and password-protected rooms.


0 comments