Bloop - P2P File Transfer System PoC

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?

  • There aren’t many cross-platform, local file-sharing solutions that just work without setup.
  • AirDrop is great, but it’s locked to the Apple ecosystem.
  • I also wanted to test my Golang and system design skills by working on a robust networking-based application.
  • Bloop is an experiment to build a simple LAN-based alternative using WebSockets and TCP.


?? How It Works

1?? Discovers Nearby Devices – Uses mDNS (Multicast DNS) for automatic device detection.

2?? Establishes a Secure ConnectionWebSockets 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

Suveer K. Upasani

Computer Science - Int BTech Student @ MIT-WPU

1 个月

Awesome project, Yash! ?? Love the insights behind Bloop. Excited to see how it evolves! ??

要查看或添加评论,请登录

社区洞察

其他会员也浏览了