Description
Dufs is a file server written for people who want to share files from a machine quickly. It serves static files and folders, lets you upload files and folders by drag and drop, creates, edits and searches files, and can download a whole folder as a zip. Transfers can be resumed for both uploads and downloads. It supports HTTPS and WebDAV, and it is easy to drive from curl. Access control is account based. You grant permissions with the auth option, giving each account read-only or read-write access to particular paths, and you can make a path publicly readable. Passwords can be stored as SHA-512 hashes. Dufs also has a read-only mode for serving a directory without changes, a mode that allows every operation, an upload-only mode and a single-page application mode for React or Vue builds. It can serve a single file, a folder with an index page, or listen on a specific host and IP or on a Unix socket. The project is installed with cargo, Docker, Homebrew, or a prebuilt binary from its GitHub releases for macOS, Linux and Windows. The README documents the full HTTP API, including health checks and a note that dufs permissions are capped by the server's global settings, so an account cannot upload unless uploads are enabled. The project is listed as free, and its security policy is linked from the repository.…
Highlights
- Serve, upload, search and edit files over HTTP
- Download folders as zip files
- Resumable uploads and downloads
- Account-based access control and HTTPS
- WebDAV support and an easy curl API
Ratings & Reviews
No ratings yet
Be the first to rate Dufs.
People also visit
Dufs FAQ
What is Dufs?
A file server that serves static files, handles uploads, search and edits, and supports WebDAV and HTTPS.
How do I install it?
With cargo, Docker, Homebrew or a binary from the GitHub releases.
How do I restrict access?
Use the auth option to give accounts read-only or read-write access to given paths, or make a path public. Passwords can be stored as SHA-512 hashes.
Can it be read-only?
Yes. Serve the current directory in read-only mode, or allow only uploads.
Can it serve a single-page app?
Yes. It can serve a React or Vue build as a single-page application.
Why can't an account upload?
Dufs caps account permissions at its global settings, so uploads only work when uploads are enabled on the server.
What are the best Dufs alternatives?
Popular alternatives to Dufs include HFS, copyparty and miniserve. See all Dufs alternatives

