Your Own Portable File Server in a Single Python File
Ever needed a quick way to share files between devices without installing a ton of dependencies or setting up a complicated server? Meet copyparty—a self-contained, portable file server that packs an absurd number of features into a single Python script.
No Docker, no pip install
, no fuss. Just download and run.
What It Does
copyparty is a lightweight but powerful file server that supports:
- Multiple protocols: HTTP, WebDAV, FTP, TFTP, and even SMB/CIFS
- Resumable uploads/downloads: No more failed transfers halfway through
- Media indexing: Auto-generates thumbnails and organizes your files
- Deduplication: Avoids storing duplicate files
- Zero dependencies: Works with Python 2 or 3, no extra libraries required
It’s perfect for quick file sharing, backups, or even running a personal media server.
Why It’s Cool
Most file servers require setup, dependencies, or a full-blown OS install. copyparty cuts through the noise:
- Single-file deployment – Just
wget
and run. - Works anywhere – Old laptops, Raspberry Pis, even Android (via Termux).
- Feature-packed – From browser-based uploads to CLI-friendly FTP, it covers a surprising amount of ground.
- No bloat – Skip features you don’t need (like thumbnails or FTP) by simply not enabling them.
It’s the Swiss Army knife of file servers—simple when you need it, powerful when you want it.
How to Try It
- Grab the latest release:
wget https://github.com/9001/copyparty/releases/latest/download/copyparty-sfx.py
- Run it:
python copyparty-sfx.py -e2d /path/to/share
- Open
http://localhost:3923
in your browser.
There’s also a live demo if you just want to poke around.
Final Thoughts
copyparty is one of those tools that feels like it shouldn’t work as well as it does. The fact that it’s a single Python file with no dependencies makes it ridiculously easy to deploy, while the feature set rivals dedicated server software.
If you’ve ever struggled with setting up FTP, WebDAV, or even just a quick HTTP file share, give copyparty a shot. It might just replace your go-to file transfer tools.