[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Momciloo/fun-with-sockets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published