Skip to content

dufs

Single-binary Rust file server with uploads, WebDAV and access control for quick sharing

Permissive (OSI) · Apache-2.0
  • macOS
  • Linux
  • CLI

Listed by , founder & editor

56

Health

Active

Overview

Stars

11,156

Last commit

10 days ago

Nov 2026

Repository age

4 years

since May 2022

Latest version

v0.47.0

Oct 2026

Contributors

–

9 active in 90 days

Releases

2

last 12 months

Docker pulls

1.7M

sigoden/dufs

Language

Rust

Dufs is a file server written in Rust. Point it at a folder and it serves the files over HTTP, with a web page for browsing, uploading and searching. It also speaks WebDAV, so you can mount it as a network drive.

You can upload files and folders by drag and drop, resume partial uploads and downloads, create and edit files, and download a folder as a zip. Access control uses rules like user:pass@/dir:rw, and you can allow upload, delete or search separately. It supports HTTPS, unix sockets and serving single-page apps or static sites. Everything works with curl too.

Install it with Cargo, Homebrew, Docker or a prebuilt binary for macOS, Linux and Windows. It is licensed Apache-2.0. It is a lightweight alternative to cloud file sharing and drive services when you only need to share a directory from your own machine or server.

Who it's for

Developers moving files across a LAN

One command serves a directory with upload and zip download.

Skip if: You need user management, sharing links or sync clients.

Homelab users wanting a WebDAV share

It exposes a folder over WebDAV with per-path read or write rules.

Skip if: You need a full cloud suite with calendars and apps.

Static site and SPA hosters

Flags serve index.html or single-page apps without a web server setup.

Skip if: You need caching rules, rewrites or load balancing.

The problem it solves

Sharing a folder with others usually means a cloud drive or a heavy server stack. This lets you serve and accept files from any directory with one command and basic access rules.

Strengths

  • Single binary with web UI, WebDAV and curl-friendly API
  • Per-path read/write rules with user authentication
  • Resumable uploads and downloads, and folder zip download
  • HTTPS and unix socket support
  • Active, with nine contributors in the last 90 days

Trade-offs

  • No built-in user management interface or sync client
  • Access rules are set in flags or a config file
  • Not a replacement for full collaboration suites

Self-host dufs

Self-hostable
Yes
Docker image
sigoden/dufs

Quick start

docker run -v `pwd`:/data -p 5000:5000 --rm sigoden/dufs /data -A

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is Dufs free?

Yes. It is open source under Apache-2.0.

Does it support WebDAV?

Yes. You can mount shares with WebDAV clients.

How do I restrict access?

Use the -a option with rules such as admin:123@/:rw, and enable only the operations you want.

How do I run it with Docker?

Mount your folder and publish port 5000, as in the quickstart command.

Similar tools in File sharing and transfer tools

transfer.sh

File sharing and transfer tools

Self-hosted file sharing server you upload to with curl from the command line

16k 1.6k yesterday Active MIT

copyparty

File sharing and transfer tools

Single-file Python file server with resumable uploads and many protocols, for any device

47k 1.9k today Thriving MIT

filepizza

File sharing and transfer tools

Peer-to-peer file sharing in the browser, with no upload to a server

10k 622 2 days ago Slowing BSD-3-Clause

Magic Wormhole

File sharing and transfer tools

Command-line tool for sending files between two computers with a short one-time code

23k 769 today Active MIT

slskd

File sharing and transfer tools

Web-based Soulseek client you run as a daemon or Docker container

4.3k 199 2 days ago Thriving AGPL-3.0

QRcp

File sharing and transfer tools

Command-line tool that moves files to and from your phone by scanning a QR code

11k 551 2 days ago Active MIT