Synchronisation de fichiers en temps réel via WebSocket
Spiralydata est une application de synchronisation de fichiers en temps réel entre un hôte (serveur) et plusieurs clients. Elle utilise WebSocket pour une communication bidirectionnelle instantanée et offre une interface graphique moderne et intuitive.
- Temps réel : Les modifications sont propagées instantanément
- Bidirectionnelle : Hôte → Clients et Clients → Hôte
- Mode manuel ou automatique : Choisissez votre mode de synchronisation
- Gestion des conflits : Détection et résolution intelligente
- Thèmes : Clair, sombre et personnalisé
- Explorateur de fichiers : Navigation et téléchargement depuis le serveur
- Logs en temps réel : Suivi détaillé des opérations
- Barre de statut : État de connexion visible en permanence
- Backup : Sauvegarde complète du serveur vers un dossier local horodaté
- Filtres : Inclusion/exclusion par extension ou pattern
- Prévisualisation : Aperçu des fichiers texte
- Sécurité : Authentification par identifiant hôte
- Go 1.21 ou supérieur
- Connexion réseau entre l'hôte et les clients
Windows :
setup_windows.batLinux :
chmod +x setup_linux.sh
./setup_linux.shgo mod init spiralydata
go mod tidy
go build -ldflags "-H=windowsgui" -o spiralydata.exe .- Lancez l'application
- Cliquez sur "Héberger"
- Configurez le port (défaut: 1212)
- Notez l'identifiant hôte affiché
- Partagez votre IP et l'identifiant aux clients
- Lancez l'application
- Cliquez sur "Rejoindre"
- Entrez l'adresse IP du serveur (ex: 192.168.1.10:1212)
- Entrez l'identifiant hôte
- Choisissez le dossier de synchronisation
- Cliquez sur "Connexion"
| Bouton | Description |
|---|---|
| ENVOYER | Envoie vos fichiers locaux vers le serveur |
| RECEVOIR | Récupère les fichiers du serveur |
| BACKUP | Crée une sauvegarde complète dans un dossier Backup_Spiralydata_DATE |
| EXPLORER | Ouvre l'explorateur de fichiers du serveur |
Spiralydata/
├── spiralydata.exe # Exécutable
├── Spiralydata/ # Dossier synchronisé (créé automatiquement)
├── config.json # Configuration sauvegardée
└── logs/ # Journaux d'activité
Le fichier config.json est créé automatiquement et contient :
- Dernière adresse serveur utilisée
- Dernier identifiant hôte
- Dernier dossier de synchronisation
- Thème sélectionné
- Filtres configurés
| Problème | Solution |
|---|---|
| Connexion refusée | Vérifiez l'IP, le port et le pare-feu |
| Identifiant incorrect | Vérifiez l'identifiant affiché côté hôte |
| Fichiers non synchronisés | Vérifiez les filtres configurés |
| Application qui freeze | Réduisez le nombre de fichiers ou augmentez les délais |
Spiralydata is a real-time file synchronization application between a host (server) and multiple clients. It uses WebSocket for instant bidirectional communication and offers a modern, intuitive graphical interface.
- Real-time: Changes are propagated instantly
- Bidirectional: Host → Clients and Clients → Host
- Manual or automatic mode: Choose your synchronization mode
- Conflict management: Intelligent detection and resolution
- Themes: Light, dark and custom
- File explorer: Browse and download from server
- Real-time logs: Detailed operation tracking
- Status bar: Connection status always visible
- Backup: Complete server backup to a local timestamped folder
- Filters: Include/exclude by extension or pattern
- Preview: Preview text files
- Security: Authentication by host identifier
- Go 1.21 or higher
- Network connection between host and clients
Windows:
setup_windows.batLinux:
chmod +x setup_linux.sh
./setup_linux.shgo mod init spiralydata
go mod tidy
go build -ldflags "-H=windowsgui" -o spiralydata.exe .- Launch the application
- Click "Host"
- Configure the port (default: 1212)
- Note the displayed host identifier
- Share your IP and identifier with clients
- Launch the application
- Click "Join"
- Enter the server IP address (e.g.: 192.168.1.10:1212)
- Enter the host identifier
- Choose the synchronization folder
- Click "Connect"
| Button | Description |
|---|---|
| SEND | Sends your local files to the server |
| RECEIVE | Retrieves files from the server |
| BACKUP | Creates a complete backup in a Backup_Spiralydata_DATE folder |
| EXPLORE | Opens the server file explorer |
Spiralydata/
├── spiralydata.exe # Executable
├── Spiralydata/ # Synchronized folder (created automatically)
├── config.json # Saved configuration
└── logs/ # Activity logs
The config.json file is created automatically and contains:
- Last server address used
- Last host identifier
- Last synchronization folder
- Selected theme
- Configured filters
| Problem | Solution |
|---|---|
| Connection refused | Check IP, port and firewall |
| Incorrect identifier | Check the identifier displayed on host side |
| Files not synchronized | Check configured filters |
| Application freezing | Reduce number of files or increase delays |