• Stars
    star
    535
  • Rank 80,261 (Top 2 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created 6 months ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A simple code exploration, inspired by (and stollen from) BjΓΆrn Staal. More info here.

Screen Recording 2023-11-23 at 11 12 57

How to run this experiment locally:

  1. npm i
  2. Then, open one more terminal.
  3. In the first terminal: node server/server.js
  4. In the second terminal: cd client && http-server
  5. Open localhost:8080?b=1 in one tab, and
  6. Open localhost:8080?b=2 in another tab

Future ideas

  1. I plan to add a flag to run this in localStorage mode only
  2. I plan to add an option for an infinity number of windows and remove the need for the query in the URL
  3. Move to WebRTC