92 lines
3.6 KiB
Markdown
92 lines
3.6 KiB
Markdown
---
|
|
title: copyparty
|
|
created: 2026-06-07
|
|
updated: 2026-06-07
|
|
type: app
|
|
tags: [catalogue, file-sharing, webdav, transfer, simple]
|
|
confidence: high
|
|
contested: false
|
|
sources: [https://selfh.st/apps/?tag=File+Sharing, https://github.com/9001/copyparty]
|
|
---
|
|
|
|
# 📁 copyparty
|
|
|
|
> Serveur de fichiers ultra-léger et polyvalent supportant WebDAV, TFTP, HTTP et FTP dans un seul binaire.
|
|
|
|
## 📋 Informations Générales
|
|
|
|
| Attribut | Valeur |
|
|
|----------|--------|
|
|
| **Nom** | copyparty |
|
|
| **Slug** | copyparty |
|
|
| **Description** | Serveur de fichiers minimaliste, ultra-portable, multi-protocoles |
|
|
| **Site officiel** | https://copyparty.ac |
|
|
| **Repository** | https://github.com/9001/copyparty |
|
|
| **Stars** | 45 137 ⭐ |
|
|
| **Licence** | MIT |
|
|
| **Langage principal** | Python |
|
|
| **Catégorie** | File Sharing |
|
|
| **Tags** | [catalogue, file-sharing, webdav, transfer, simple] |
|
|
|
|
## 📝 Description
|
|
copyparty est un serveur de fichiers écrit en Python qui se distingue par sa polyvalence et sa légèreté (un seul exécutable, pas de dépendances). Il supporte simultanément HTTP, WebDAV, TFTP, FTP et SMB, ce qui en fait une solution passe-partout pour partager des fichiers entre machines hétérogènes.
|
|
|
|
L'outil brille par sa frugalité : il tourne sur du matériel modeste (Raspberry Pi, NAS ancien) tout en offrant des fonctionnalités habituellement réservées à des solutions plus lourdes : upload par drag-and-drop, scan antivirus via ClamAV, indexation musicale, transcodage d'images à la volée, et même un client WebSocket pour les gros fichiers.
|
|
|
|
Les cas d'usage typiques vont du simple partage ponctuel de documents à l'exposition d'une médiathèque légère en remplacement d'un Plex sur petit serveur. Son architecture sans base de données et son fichier de configuration unique (ou arguments CLI) en font un candidat idéal pour des déploiements rapides et jetables.
|
|
|
|
## 🚀 Installation
|
|
### Via Docker (recommandé)
|
|
```yaml
|
|
# docker-compose.yml
|
|
services:
|
|
copyparty:
|
|
image: copyparty/copyparty:latest
|
|
container_name: copyparty
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3923:3923"
|
|
volumes:
|
|
- ./conf:/cfg
|
|
- /path/to/data:/data
|
|
command: --no-robots -p 3923 -v /data:/data:rw,50G:3 /data
|
|
```
|
|
|
|
### Installation manuelle
|
|
```bash
|
|
# Binaire unique Python
|
|
curl -L -o copyparty.py https://github.com/9001/copyparty/raw/latest/copyparty.py
|
|
python3 copyparty.py -p 3923 -v /data:/data:rw
|
|
```
|
|
|
|
## ⚙️ Configuration
|
|
- Volumes mappés avec quotas (`rw,MAX_SIZE:MAX_FILES`) par dossier
|
|
- Mots de passe par répertoire via `~/.copyparty/` (`.pw` par dossier)
|
|
- Volume mappé protégé en read-only ou read-write selon contexte
|
|
- Indexation en temps réel (pas de scan périodique)
|
|
- Support de ClamAV en hook post-upload
|
|
|
|
## 🔗 Alternatives
|
|
- **PicoShare** — partage minimaliste, moins polyvalent
|
|
- **FileBrowser** — interface web riche, plus gourmand
|
|
- **Samba** — solution native Linux, sans interface web
|
|
|
|
## 🔒 Sécurité
|
|
- Authentification par dossier avec mots de passe (bcrypt)
|
|
- HTTPS recommandé via reverse proxy (Caddy/Traefik)
|
|
- Volumes en read-only pour exposer des données sensibles
|
|
- Limites de taille et quotas par utilisateur
|
|
|
|
## 📚 Ressources
|
|
- [Documentation officielle](https://github.com/9001/copyparty/blob/master/docs/Install.md)
|
|
- [Wiki configuration](https://github.com/9001/copyparty/wiki)
|
|
- [Benchmarks matériel léger](https://github.com/9001/copyparty#-performance)
|
|
|
|
## 🔗 Pages Liées
|
|
- [[cat-file-sharing]] (n'existe pas encore, OK)
|
|
- [[app-picoshare]]
|
|
- [[app-traefik]]
|
|
- [[recettes-docker-compose]]
|
|
- [[securisation-home-lab]]
|
|
- [[cat-storage]] (n'existe pas, OK)
|