Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P2p communication, without a server. Use backbone as a network layer mostly #42

Open
sanjarcode opened this issue Aug 30, 2023 · 2 comments

Comments

@sanjarcode
Copy link
Member

sanjarcode commented Aug 30, 2023

Context

I want an app where my cursor position is shown to the person I'm video calling (say we're going through some code on their browser). It's one way comm, but how do I send my cursor coordinates without them 'listening' or the other way around.

The issue is I don't want to create a chrome plugin with a 'server' app that you need to install

Questions

  1. Is it possible to run a server inside a browser tab? Maybe only a temporary one.
  2. Reliable direct ping - Even if I do install a server app (in addition to the browser extension), how would I ping their server. Ik both are connected to the backbone via ISP, but are they reliably pingable? I don't wish to add a centralized server - that's a privacy issues and also that I need to pay for it.

Explore

  1. How p2p works, without a server?
  2. Pros and cons of being addressable but not having a dedicated server connected to the backbone. Scope: latency, cost, bottlenecks
  3. Handshake structures if this is possible?
  4. How do torrents work? See the protocol
  5. How websockets can work in such a system?
@sanjarcode
Copy link
Member Author

When solved, make the app.

@sanjarcode sanjarcode changed the title P2p communication, without a server. Use backbone as a network layer only P2p communication, without a server. Use backbone as a network layer mostly Aug 30, 2023
@sanjarcode
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant