Hacker News new | ask | show | jobs
by globalnode 381 days ago
Im not a js programmer but index.js has the line: "Signaling server running on http://localhost:${PORT}" -- is that what you're talking about? I think you're talking about the initial connection right?

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)."

1 comments

Thx for the analysis! copyToClipboard is for copying the session link so it can be opened on your other device.

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