Self-host copyparty
v1.20.26Portable file server with resumable uploads and protocols
- Stars
- 47 364
- Ports
- 3922 (SFTP server), 3945 (SMB/CIFS server), 3990 (FTPS server (explicit TLS)), 69 (TFTP standard port (UDP)), 1900 (SSDP discovery (UDP))
- Requires
- Python
copyparty/acWhat is copyparty?
copyparty turns almost any device into a file server with resumable uploads and downloads using any web browser. It supports multiple protocols including HTTP/HTTPS, WebDAV, SFTP, FTP/FTPS, TFTP, and SMB/CIFS. The web UI provides a file manager with cut/paste/rename/delete, media player with playlists and equalizer, image/video thumbnails, full-text and metadata search, zip/tar folder downloads, markdown viewer and editor, and RSS/OPDS feeds. It runs on Python 2 or 3 with optional dependencies for extra features. Installation options include a self-extracting single file (SFX), pip, Docker images (multiple editions), platform packages (Arch, Homebrew, Nix, etc.), and standalone Windows executables. The server offers per-volume, per-user permissions with fine-grained access control, file deduplication, event hooks, identity provider integration (OIDC/OAuth/LDAP/WebAuthn via Authelia, authentik, etc.), and Prometheus metrics.
copyparty alternatives
PlikShareOpen-source self-hosted file sharing with unlimited users, multiple storage backends, three encryption modes, OIDC SSO, TOTP 2FA, sharing boxes, and MCP for AI agents.ComparePlikShare with copyparty
NzbDAVSelf-hosted WebDAV server that mounts NZB files as a virtual filesystem for direct streaming to Plex, Jellyfin, and Stremio via SABnzbd-compatible API.CompareNzbDAV with copyparty
GokapiAn open-source, self-hosted Firefox Send alternative: expiring download links, end-to-end encryption, user roles, file requests and optional S3-compatible storage.CompareGokapi with copyparty
drivebaseDrivebase is a self-hosted, open-source file manager unifying Google Drive, S3, Dropbox, and local files into a desktop-like web UI with real-time transfers.Comparedrivebase with copyparty
pcopySelf-hosted clipboard sync for copying text/files across machines via CLI, web UI, curl, or netcat with password-protected clipboards.Comparepcopy with copyparty
ClipCascadeOpen-source clipboard sync for Windows, macOS, Linux and Android: text, images and files relayed by a self-hosted server or peer-to-peer, end-to-end encrypted.CompareClipCascade with copyparty
folderhostA self-hosted, open-source cloud platform offering file sharing, real-time collaboration, and user management in a ~19MB binary as a lightweight Nextcloud alternativeComparefolderhost with copyparty
transfer.shA self-hosted, open-source file sharing server: upload with curl or a web front end, share expiring links, store on local disk, S3, Storj or Google Drive.Comparetransfer.sh with copyparty
Should you self-host copyparty?
copyparty scores 82/100 on selfhost.directory (how scoring works) and ranks #1 of 90 in File Sharing. It has 47 364 GitHub stars, +373 in the last 30 days.
It shipped 19 stable releases in the past year. The latest, v1.20.26, came out on 14 October 2026. New versions land roughly every 2 weeks.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is PairDrop (74/100, 11 813 stars). copyparty scores higher overall. See copyparty vs PairDrop side by side.
Features
- File Deduplication
- FTP/FTPS server
- Identity Provider Integration
- Markdown viewer and editor
- Media Player
- Resumable Uploads
- RSS and OPDS feeds
- SFTP server
- SMB/CIFS serverunsafe, slow, not recommended for WAN
- TFTP server
- WebDAV Server
- Zip/tar folder downloads
copyparty README
turn almost any device into a file server with resumable uploads/downloads using any web browser
- server only needs Python (2 or 3), all dependencies optional
- 🔌 protocols: http(s) // webdav // sftp // ftp(s) // tftp // smb/cifs
- 📱 android app // iPhone shortcuts
FAQ
I want to learn Python by reading copyparty source code?
The author suggests this is not a good idea with an ASCII art response.
Thumbnails broken with blank boxes or placeholders?
Reverse proxy may be stripping query parameters (?th=w) or caching incorrectly; check URL rewrite rules and disable privacy extensions.
iPhone photos/videos have broken thumbnails?
Docker image and bootable flashdrive cannot read HEIF/HEIC or H.265/HEVC due to legal reasons.
Thumbnails show colorful squares instead of images?
Install FFmpeg or Pillow for thumbnail generation.
Copyparty thinks I'm using HTTP even though URL is HTTPS?
Reverse proxy not sending X-Forwarded-Proto: https header.
Server says 'thank you for playing' when accessing?
You've been banned for malicious traffic; check real-ip configuration if behind reverse proxy.
Firefox shows SEC_ERROR_BAD_SIGNATURE and no 'Accept Risk' button?
Firefox certstore is corrupted; delete cert9.db in your Firefox profile folder.
Can copyparty download a file from a URL to my server?
Yes, using hooks like bin/hooks/wget.py.
How do I stop .hist folders from appearing everywhere?
Use --hist global-option or hist volflag to move the .hist folder elsewhere.
Can I link to a password-protected file with the password in the URL?
Yes, add ?pw=password to the URL (or ?pw=username:password if --usernames is enabled).
Can I block read-access to folders unless you know the exact file URL?
Yes, using the 'g' permission or Linux filesystem permissions (chmod 111).
What is a volume?
A mapping from a URL path to a folder on the server filesystem with permissions and options.
What is a volflag?
Per-volume configuration; many global-options can be set as volflags and vice versa.
More in File Sharing
crypt.fyicrypt.fyi is a self-hosted, open-source platform for zero-knowledge secret sharing with ML-KEM post-quantum encryption. Secrets auto-delete after viewing.
deltaDelta is a self-hosted Node.js file uploader and URL shortener. Upload via curl, get short URLs with custom slugs, passwords, expiry, and multi-user support.
DigishareDigishare is a self-hosted web application for sharing files and messages between devices on same network using peer-to-peer transfers without account requirements.
Directory ListerSelf-hosted, open-source PHP web directory lister for public folders, with file search, zip downloads, README rendering, file hashes and light/dark themes.
docker-webdavSelf-hosted Docker image running an Apache WebDAV server with Basic/Digest auth, multi-user password files and optional SSL.
dragonflyOpen-source, self-hosted P2P download acceleration and file distribution for cloud-native stacks, with a Helm-based deployment and an optional Manager web console.
DropgateSelf-hosted file sharing with hosted uploads, P2P transfers, E2EE, web UI, desktop client, and TypeScript library.
dtan-serverDTAN Server is a self-hosted, open-source torrent index using Nostr protocol for decentralized metadata and BitTorrent DHT for peer discovery.
DufsSelf-hosted Rust file server that shares folders over HTTP or WebDAV with drag-drop uploads, search, per-path access control and HTTPS. Open-source.
DumbDropDumbDrop is a self-hosted, open-source file upload app with drag-and-drop UI, optional PIN protection, dark mode, and Apprise notifications. Run via Docker or Node.js.
ElixireElixire is a self-hosted image hosting solution written in Python with API-based uploads, user accounts, link shortening, admin panels, and frontend interfaces.
erfanzadeh.irA self-hosted, open-source file sharing server in Go with drag-and-drop uploads, auto-eviction at 10 GB, and download tracking — no accounts needed.






0 comments