Show HN: Open-source P2P file transfer
44 goodpanda 20 5/31/2025, 11:09:56 PM github.com ↗
I have decided to open source this project to increase trust even further.
In case you have seen my previous posts, this is an update for berb.app, a WebRTC file sharing app. My goal is simple: send files between devices in real-time without installing crap or uploading to any servers.
https://github.com/n0-computer/sendme
util.js also contains "copyToClipboard = (value) => {", not sure why that would be needed.
and googletagmanager for tracking error/diagnostics I think? its hard to understand this code without learning the language lol.
Also in privacy.html: "To initiate a peer-to-peer connection, Berb uses a temporary signaling server to exchange network metadata (such as IP addresses, session descriptions, and ICE candidates)."
As for analytics, you are exactly right. I need to know if people are using the app the way it was intended and soon need to add more events for errors. Though perhaps it is something I can maintain on a separate repo? idk, the goal for me was to truly make everything on berb.app open source. no hiding anything
Except an impressively large amount of people in the world are behind symmetrical or CGNAT and would require a TURN server.
Because of this, I've personally never gotten a single p2p/WebRTC site to work with another person.
https://github.com/dmotz/trystero is a one tool I've used to build these kinds of apps.