Skip to content

shrey802/Syncbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”„ SyncBox

A lightweight, secure, LAN-based file sync tool β€” built in Python over a weekend.

SyncBox is a CLI tool that syncs files and deletions in real-time between a master device and one or more worker devices over LAN using sockets and file system watchers.

It mimics the core functionality of Dropbox β€” but for your local network, without the cloud.


πŸš€ Features

Feature Status Description
πŸ”Œ LAN-based file transfer βœ… TCP/IP over local network
πŸ“ Watch folder for changes βœ… Uses watchdog to detect file events
πŸ” Token-based auth βœ… One-line security to block unknown workers
πŸ–₯ CLI-based config βœ… Simple argparse usage
πŸ”„ Real-time sync βœ… Syncs new & updated files instantly
❌ File deletion sync βœ… Deletes removed files on all devices
🧾 Minimal logging output βœ… Clear CLI messages

πŸ›  Requirements

  1. python environment

  2. pip install watchdog

πŸ“ Project Structure

master.py -> Master file

worker.py -> Worker file

sync_master -> folder for master

sync_worker -> folder for worker

πŸ’» Usage

For master.py Run

python3 master.py --port 9999 --folder sync_master --token secret123

For worker.py Run

python3 worker.py --host 127.0.0.1 --port 9999 --token secret123 --folder sync_worker

![syncbox_deletiosyncbox_text

syncbox

syncbox

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages