Dufs is a lightweight file server written in Rust that allows users to share files and directories over a network. It provides a browser-based interface for accessing stored files, together with command-line options for controlling how content is served.
The application is designed to be straightforward to configure. A selected directory can be made available through HTTP, initially with read-only access. Administrators can enable additional operations such as uploading, editing and deleting files when required.
Dufs is useful for transferring files between computers, sharing directories on a local network and serving static website content. Its combination of browser access and standard HTTP interfaces also makes it convenient for scripts and command-line tools.
Access permissions can be configured for individual users and directories, allowing the server to provide different levels of access to different parts of its shared storage.
This is free and open source software.
Key Features
- Serves individual files or entire directories through HTTP.
- Provides a browser interface for navigating files and directories.
- Supports drag-and-drop uploading of files and folders.
- Allows users to create, edit, search and delete files when permitted.
- Supports resumable uploads and partial downloads.
- Downloads directories as ZIP archives with configurable compression.
- Provides username and password authentication with directory-specific access rules.
- Allows upload, deletion, search and archive operations to be enabled independently.
- Supports HTTPS using administrator-supplied TLS certificates.
- Provides WebDAV access for compatible file managers and clients.
- Supports static websites, index pages and single-page applications.
- Allows selected paths and filename patterns to be hidden from directory listings.
- Provides an HTTP API for file operations and optional SHA-256 checksum retrieval.
- Supports configurable network addresses, Unix sockets, URL prefixes and CORS.
- Offers customisable HTTP access logging.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/sigoden/dufs
Support:
Developer: dufs-developers
License: Apache License 2.0 or MIT License

Dufs is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Web-Based File Managers | |
|---|---|
| copyparty | Portable file server |
| Filestash | Dropbox-like file manager |
| AList | File list program that supports multiple storages |
| Tiny File Manager | Versatile web-based PHP file manager |
| FileBrowser Quantum | Browser-based storage access with fast search |
| Cloudreve | Self-hosted file management system with multi-cloud support |
| FileGator | Powerful multi-user file manager |
| Dufs | Fle server that supports static serving |
| kodbox | Self-hosted document management and collaboration platform |
| Cloud Commander | For the web with console and editor |
| Directory Lister | Browse and share folders |
| SFTPGo | WebAdmin UI lets you manage users, folders, and more |
| TagSpaces | Offline, open source, personal data manager |
| Nextcloud | Personal cloud storage, text editor, photo gallery, file share,... |
| Gossa | Fast and simple multimedia fileserver |
| Mikochi | Browse, upload and stream media from a NAS or home server |
| FileRise | Self-hosted storage with sharing, access controls and uploads |
| WFM | Standalone browser interface for browsing and editing server files |
| Surfer | Simple static file server |
| IFM | Improved File Manager |
| HardBore | Sub-2ms cold start, native OS integration, full keyboard navigation |
| Fint | Keyboard-driven file manager |
Read our verdict in the software roundup.
| WebDAV Servers | |
|---|---|
| copyparty | Portable file server with resumable uploads and media playback |
| sabre/dav | CardDAV, CalDAV and WebDAV server |
| webdav | Simple and standalone WebDAV server |
| Dufs | File server that supports static serving |
| WsgiDAV | Extensible Python server with configurable storage providers |
| Davis | Admin interface for sabre/dav |
| SFTPGo | Fully featured and highly configurable SFTP server with WebDAV support |
| KaraDAV | Lightweight WebDAV server |
| Nephele | Pluggable WebDAV server |
| Milton | WebDAV / CalDAV / CardDAV server library |
| Apache WebDAV | Provides class 1 and class 2 WebDAV functionality for Apache |
| phởdav | Minimal WebDAV server |
| PicoDAV | Single-file PHP server with browser file management |
| ASGI WebDAV | Asynchronous Python server with multiple storage backends |
| Nginx WebDAV | File management automation via the WebDAV protocol |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.