Skip to main content
BlazeServe logo

BlazeServe

Share and move large files from your terminal.
One program for Linux, Windows and macOS: a file server, and downloads and uploads that resume.

CI Release crates.io PyPI Container License

Install · Share · Download · Upload · Jobs · Commands · Docs


A tour of BlazeServe: serve a folder, resume a dropped download, check files, upload, and read metrics and logs

Watch the full video (88 seconds, MP4)

Install

Linux and macOS

curl -fsSL https://raw.githubusercontent.com/whoisjayd/blazeserve/main/install.sh | sh

Windows (PowerShell)

irm https://raw.githubusercontent.com/whoisjayd/blazeserve/main/install.ps1 | iex

Cargo

cargo binstall blazeserve    # prebuilt program
cargo install blazeserve     # or build it: Rust 1.93 and a C compiler
pip, Docker and plain archives
Method Command
pip or uv pip install blazeserve or uv tool install blazeserve
Docker docker run --rm -p 5949:5949 -v "$PWD":/data:ro ghcr.io/whoisjayd/blazeserve:latest
Archive The Releases page, with the man page and shell completions; check it against SHA256SUMS

The install scripts check the download against the published checksums. Builds exist for Linux (x86_64 and aarch64, glibc or static musl), Windows x86_64 and macOS (Intel and Apple silicon). Run blaze upgrade to update later.

Coming from 1.x? Read upgrading: the default port and some options changed.

Start

Run blaze on its own and pick what you want to do. It asks the questions, runs the command and shows you what it ran.

Share

blaze serve ./site                     # a folder, with listing, search and ZIP download
blaze send ./big.iso --qr              # one file; scan the code with a phone
blaze send ./big.iso --expires-after 20m
blaze serve ./inbox --uploads          # receive files

--uploads makes a password if you gave none, and prints the exact command and address to hand to the other person.

  • If the default port 5949 is busy and you gave no --port, the next free one is used.
  • Visitors cannot leave the shared folder, --hide keeps files invisible, and a missing password variable stops the server instead of leaving it open.
  • While it runs, a live panel shows speed, requests, connections, bytes and errors.
  • HTTPS, HTTP/2, ranges, caching, precompressed files, speed limits and trusted proxies are built in.

Download

blaze info http://host:5949/big.iso                      # name, size, resume support first
blaze get http://host:5949/big.iso                       # resumes if interrupted
blaze get http://host:5949/big.iso -c 8                  # up to 8 connections
blaze get http://host:5949/big.iso --dry-run             # size, resume support, space, plan
blaze get http://host:5949/big.iso --verify server-sha256
blaze get http://host:5949/game.zip --extract --nested   # unpack, inner archives too

Large files arrive in parts over several connections. A live panel shows speed, time left and a block map of which parts are done, arriving and waiting.

  • It uses fewer connections when the server refuses them, and more again when things recover.
  • A full disk is reported before a byte is written.
  • A partial or mismatched file never takes the final name.
  • --extract consumes the archive as it unpacks, so you need about the extracted size free, not both.

Upload and check

blaze put ./big.iso http://host:5949/ --auth-env BLAZE_AUTH
blaze checksum big.iso > SHA256SUMS
blaze verify --check SHA256SUMS       # also: .sha256 files and --sfv lists

Uploads resume, are sent in checked pieces, never overwrite without --if-match, and are compared with the SHA-256 the server stored. The folder page in the browser also has a drop box.

Keep passwords out of your shell history:

export BLAZE_AUTH='alice:s3cret'          # PowerShell: $env:BLAZE_AUTH = "alice:s3cret"
blaze serve ./site --auth-env BLAZE_AUTH

Background jobs

Add --background to serve, get or put. Jobs keep running after the terminal closes.

blaze get http://host:5949/big.iso --background --name nightly
blaze status                # what is running
blaze status --all          # finished jobs too
blaze status --watch        # live dashboard of every job and its log; d deletes finished ones
blaze attach nightly        # one job in the foreground (also: blaze fg)
blaze stop                  # pick a job to stop

Stopping keeps a transfer's progress, so the same command resumes it.

All commands

Command Does
blaze Guided menu
blaze serve, blaze send Share a folder, or one file
blaze get, blaze put Download and upload with resume
blaze info URL See name, size and resume support before downloading
blaze checksum, blaze verify Make and check checksums
blaze status, attach, stop Manage background jobs
blaze doctor Check a folder and port, and say what to run
blaze benchmark Measure download speed
blaze bug Guided problem report; you see everything before it is sent
blaze upgrade Update the way you installed it
blaze telemetry See or change usage analytics
blaze completions, blaze man Tab completion and the manual page

blaze help <command> explains any of them with examples.

For scripts and automation
Need Use
Only errors -q
Progress as JSON lines --progress json
Status as JSON blaze status --json, blaze doctor --json
Why it failed Exit codes: 1 failed, 2 usage, 3 disk full, 4 data check, 5 password refused
Label a run --name NAME

Piped output stays plain and nothing waits for input.

Run it for real

Health checks at /__live__ and /__ready__, counters at /__metrics__, one-line JSON logs with request IDs, a hardened systemd unit, a small scratch Docker image that runs unprivileged, Kubernetes manifests and proxy examples. Start at deployment.

The Python package starts a server inside a script or a test, and every command is a function. BlazeServe is also a Rust library. See Python and Rust.

Documentation

Learn Run it Look up
Getting started Deployment Reference
Sharing and downloading Monitoring Troubleshooting
Uploads Background jobs Performance
Serving files Security Upgrading

Security

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 lists what it cannot protect against. To report a vulnerability, follow SECURITY.md and please do not open a public issue.

Usage statistics

BlazeServe sends anonymous usage analytics to PostHog (EU) by default: commands and option names, timings, error kinds, crashes, server totals, machine details and a random install ID. It never sends file names, paths, URLs, addresses, option values or anything about your visitors. After a transfer it now and then asks for a rating, until you answer once.

Turn it off with blaze telemetry disable, BLAZE_TELEMETRY=0 or DO_NOT_TRACK=1; it is also off in CI. blaze telemetry preview shows an example, and the telemetry guide lists everything.

Contributing

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 .

License

BlazeServe is released under the MIT license.

Metadata

Release files for blazeserve 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for blazeserve 2.0.0
File Size Uploaded Provenance Actions
blazeserve-2.0.0.tar.gz 361.0 kB Without provenance Details for blazeserve-2.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for blazeserve 2.0.0
File Actions
blazeserve-2.0.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for blazeserve-2.0.0-cp311-abi3-win_amd64.whl
blazeserve-2.0.0-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for blazeserve-2.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
blazeserve-2.0.0-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for blazeserve-2.0.0-cp311-abi3-musllinux_1_2_aarch64.whl
blazeserve-2.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for blazeserve-2.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
blazeserve-2.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for blazeserve-2.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
blazeserve-2.0.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for blazeserve-2.0.0-cp311-abi3-macosx_11_0_arm64.whl
blazeserve-2.0.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for blazeserve-2.0.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 30.6 MB

Release files / blazeserve-2.0.0.tar.gz

Download URL blazeserve-2.0.0.tar.gz
Size 361.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1dc3e4f442e8c30c8d686389efc63ffbae022dd873200108f3e8b478c7076a3c
BLAKE2b-256 checksum
How to use checksums
c146b2901efdf52d152d3150841e845571ded3bbe68767116e88bbeb5a514cf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / blazeserve-2.0.0-cp311-abi3-win_amd64.whl

Download URL blazeserve-2.0.0-cp311-abi3-win_amd64.whl
Size 4.2 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ae9698a3526739965b74edf2f58aa8e65d960bbc5848690e5b1c701990fea314
BLAKE2b-256 checksum
How to use checksums
3a7d4a1362af8b1c0f3f8385a7430254b725775dcca40ca69b5a1ace5075a45c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / blazeserve-2.0.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL blazeserve-2.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 4.7 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
3114a2b00398fffedcc4caec116d99aace96b273323dc9e7680fdcc39a6f9e25
BLAKE2b-256 checksum
How to use checksums
3177da816b5e7f472b5de8e0d4625b5c904f205376a4757a4f742b93535a6f40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / blazeserve-2.0.0-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL blazeserve-2.0.0-cp311-abi3-musllinux_1_2_aarch64.whl
Size 4.4 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
8bd4825c3eff66fa1ffde8cd482784a79ec9acf805855c1ab279673fd09f7bd8
BLAKE2b-256 checksum
How to use checksums
b20651776d924137bae5977030876190cfb2e39d1008acda6b6afabcad1d0a7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / blazeserve-2.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL blazeserve-2.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 4.5 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
04da069baf84fa4baee7ed17f2fdc316da1647e7c5fc9ac94d2bfd5477f6813e
BLAKE2b-256 checksum
How to use checksums
a7476ceabc881183d09d3ef14bc0552cd55465a427b3cb22f8d31daeb228b361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / blazeserve-2.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL blazeserve-2.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 4.3 MB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
a09b7dfcafacfea09cf10a96b22fcfbd72de6516d2478a63dbd179008e4a0b2e
BLAKE2b-256 checksum
How to use checksums
fe5009ef9d4998a1ce05eebc77e0ca473cb96f7af75d30358f883d39671d8341
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / blazeserve-2.0.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL blazeserve-2.0.0-cp311-abi3-macosx_11_0_arm64.whl
Size 3.9 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
26642bd91148f19f8388f05566935282af218c96b3bcf53801fb2d5911e4419f
BLAKE2b-256 checksum
How to use checksums
73ae1daa4aa4017c9c3342656e045584036d5d3a0d55a972cda2877803507723
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / blazeserve-2.0.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL blazeserve-2.0.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 4.3 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
39b915f11fb1b5fab6c834554bb13877c668e58efd99fdaca11f81c987293204
BLAKE2b-256 checksum
How to use checksums
fe0b81161b742d2954d6e22cd5f346f0994f584c975e83ce7e108cd8f50538df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for blazeserve 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page