A file server for large files.
Share a folder or a single file in one command, and pick up interrupted downloads and uploads where they stopped.
Quick start · Common jobs · Documentation · Security · Contributing
Watch the full video (88 seconds, MP4)
BlazeServe is one program for Linux, Windows and macOS, with nothing else to install. Use it to hand a file to a colleague, or put it behind a proxy to host build artifacts, datasets or a download mirror. Memory use stays small however large the file is.
- Downloads and uploads resume where they stopped, and a download can use several connections to go faster.
blaze get --extractunpacks an archive in place as it is consumed, so a big download needs little more than its extracted size.- Visitors cannot leave the folder you share, and uploads stay off until you turn them on.
- A missing password setting stops the server instead of leaving it open.
- HTTPS, HTTP/2, speed limits, health checks, Prometheus metrics and JSON logs are built in.
- The Python package starts a server inside a script or a test, and BlazeServe is also a Rust library.
pip install blazeserve
blaze serve .Open http://localhost:8000 to browse the folder, with search and sorting. Press Ctrl+C to stop.
Other ways to install
| Method | Command |
|---|---|
| uv | uv tool install blazeserve |
| Cargo | cargo install blazeserve |
| Docker | docker run --rm -p 8000:8000 -v "$PWD":/data:ro ghcr.io/whoisjayd/blazeserve:latest |
| Download | An archive from the Releases page, checked against SHA256SUMS |
Builds exist for Linux (x86_64 and aarch64), Windows x86_64 and macOS (Intel and Apple silicon). Building from source needs Rust 1.93 or newer.
| To | Run |
|---|---|
| Share a folder | blaze serve ./site |
| Share one file | blaze send ./big.iso |
| Open a shared file on a phone | blaze send ./big.iso --qr |
| Share a file for a limited time | blaze send ./big.iso --expires-after 20m |
| Download, resuming if the connection drops | blaze get http://host:8000/big.iso |
| Download faster over eight connections | blaze get http://host:8000/big.iso -c 8 |
| Upload with resume | blaze put ./big.iso http://host:8000/ |
| Run a download in the background, then check it | blaze get http://host:8000/big.iso --background, blaze status |
| Allow only this computer | blaze serve ./site --host 127.0.0.1 |
| Limit each visitor to 25 MB/s | blaze serve . --rate-mbps 25 |
| Keep sensitive files out of sight | blaze serve . --hide '*.env' --hide .git |
| Accept uploads, with a password | blaze serve ./incoming --max-upload-mb 500 --auth-env BLAZE_AUTH |
| Get a file's SHA-256 | blaze checksum ./big.iso |
| Check that setup is healthy | blaze doctor ./site |
| Update to the newest release | blaze upgrade |
Keep passwords out of your shell history by putting them in an environment variable:
export BLAZE_AUTH='alice:s3cret' # PowerShell: $env:BLAZE_AUTH = "alice:s3cret"
blaze serve ./site --auth-env BLAZE_AUTHIf the variable is missing or empty, BlazeServe refuses to start. It never quietly runs without a password.
| Learn | Run it | Look up |
|---|---|---|
| Getting started | Deployment | Reference |
| Sharing and downloading | Monitoring | Troubleshooting |
| Serving files | Security | Python and Rust |
| Uploads | Performance | Telemetry and upgrading |
BlazeServe assumes visitors may be hostile. It keeps every request inside the folder you share, compares passwords in constant time, requires TLS 1.2 or newer, limits connections and slow clients, and never writes passwords or file contents to its logs. The security guide explains this and lists what it cannot protect against.
To report a vulnerability, follow SECURITY.md and please do not open a public issue.
BlazeServe sends a small anonymous usage report when serve or send starts and stops. It contains the version, the operating system, which features are on (yes or no only) and rough usage ranges. It never contains file names, addresses, passwords or anything from a request, and there is no install ID.
Turn it off with BLAZE_TELEMETRY=0, DO_NOT_TRACK=1 or blaze telemetry disable. It is also off whenever CI is set. Run blaze telemetry preview to see exactly what would be sent, or read the telemetry guide.
Version 1.0 is a rewrite in Rust. Most things work as before, but the Python API was removed, and uploads are now off unless you set a size limit and a password. The upgrade guide lists every change.
Bug reports, fixes and documentation improvements are welcome. Read CONTRIBUTING.md first, and open an issue if you found a bug.
git clone https://github.com/whoisjayd/blazeserve
cd blazeserve
cargo test
cargo run -- serve .BlazeServe is released under the MIT license.