#file-server #file-serving #file-transfer #http-server #multi-platform #standalone #file-sharing

app quick-serve

Quick-serve: A zero-config, multi-platform, multi-protocol standalone server for a prompt file serving

4 releases

0.2.0 Apr 15, 2024
0.1.2 Apr 8, 2024
0.1.1 Mar 5, 2024
0.1.0 Jan 9, 2024

#374 in Development tools

Download history 5/week @ 2024-03-20 4/week @ 2024-03-27 114/week @ 2024-04-03 156/week @ 2024-04-10 27/week @ 2024-04-17 5/week @ 2024-05-22 1/week @ 2024-05-29

235 downloads per month

MIT license

869 lines

Build Status crates.io



No setup, zero-config, multi-platform, multi-protocol, standalone server for developers or whoever wants to promptly serve some files over the network.

It can be used both headless or for an even more friendly experience, it can be used with a GUI:



As an embedded software engineer, I routinely encounter the need for seamless file transfers between host and target devices in the course of various development tasks. Whether the objective is upgrading a system image, booting a Linux Kernel from the bootloader, retrieving packages from remote repositories, fetching a Git repository or sharing files with your colleague next desk, the constant requirement is a quick and straightforward file server. The capability to promptly set up an FTP, TFTP, or HTTP server proves to be a time-saving and efficient solution in navigating the most diverse file exchange scenarios.

I developed this application as an exercise in learning Rust because I couldn't find a solution that seamlessly served multiple protocols, was headless, and supported various platforms. Unlike many dedicated servers tailored for either Windows or Linux, with or without a UI, my app aims to bridge the gap by offering a versatile, multi-platform, and protocol-agnostic solution.



Usage: quick-serve [OPTIONS]

  -b, --bind-ip=<IP>     Bind IP [default:]
  -p, --serve-dir=<DIR>  Path to serve [default: /tmp/]
  -v, --verbose...       Verbose logging
  -H, --http[=<PORT>]    Start the HTTP server [default port: 8080]
  -f, --ftp[=<PORT>]     Start the FTP server [default port: 2121]
  -t, --tftp[=<PORT>]    Start the TFTP server [default port: 6969]
  -h, --help             Print help (see more with '--help')
  -V, --version          Print version



sudo dnf install glibc2-devel atk-devel cairo-devel pango-devel gdk-pixbuf2-devel gtk3-devel


sudo apt install libatk1.0-dev libcairo2-dev libpango1.0-dev libgdk-pixbuf2.0-dev libgtk-3-dev

Install and Run

cargo install quick-serve

Build and Run

git clone https://github.com/joaofl/quick-serve.git
cd quick-serve
cargo run --release

The ui is optional and can be refrained from compilation with:

cargo build --release --no-default-features

Even if it is compiled, the UI can still be disabled at runtime.

Cross compile:

sudo dnf install mingw64-gcc
cargo install cross

# or
cross build --release

Implementation Goals

Supported Protocols

  • FTP
  • HTTP
  • TFTP
  • DHCP
  • SFTP
  • NFS


  • Command line
  • Local interface
  • Web interface
  • Terminal interface


  • Serve n files and exit
  • Serve for t seconds and exit
  • Show number of files being served
  • Report transfer rate
  • Report transferred files
  • Show statistics when exit
  • Color-code logs according to protocol
  • Add log filtering options
  • Refine on each protocol's specific logs


  • Fix excessive CPU usage when using the UI


~1M SLoC