Bloop - P2P File Transfer System PoC
Hey connections! ??
I recently built Bloop, an open source peer-to-peer (P2P) file transfer system, as a proof of concept for an AirDrop alternative in golang—but one that doesn’t rely on cloud services or third-party servers.
?? Why I Built This?
?? How It Works
1?? Discovers Nearby Devices – Uses mDNS (Multicast DNS) for automatic device detection.
2?? Establishes a Secure Connection – WebSockets handle real-time messaging.
3?? Direct File Transfer – Once accepted, the file is sent peer-to-peer over TCP (not via the cloud).
4?? Automatic Saving – Received files are stored in ~/Downloads/bloop/.
?? Tech Stack
?? Golang (Backend) – Handles networking & file transfers
?? Next.js (React) – Sleek UI with real-time updates
?? WebSockets – Instant communication between peers
领英推荐
?? mDNS (Multicast DNS) – Auto-detects devices in the local network
?? TCP Sockets – High-speed direct file transfer
?? Limitations (For Now)
? Windows-Only Support – MacOS/Linux mDNS discovery needs work
? Not Production-Ready – No encryption yet (PoC only) -??don't use on public networks!
? Requires LAN Access – Devices must be on the same network
For now, this is just a proof of concept—but a step toward fast, cross-platform local file sharing!
?? What’s Next?
? End-to-End Encryption (E2EE) ??
? MacOS/Linux Compatibility
? Transfer Progress Indicator
? Mobile App (Android & iOS)
#P2P #Networking #Golang #FileTransfer #WebSockets #NextJS #OpenSource
Computer Science - Int BTech Student @ MIT-WPU
1 个月Awesome project, Yash! ?? Love the insights behind Bloop. Excited to see how it evolves! ??