https://github.com/Momciloo/fun-with-sockets Skip to content Toggle navigation Sign up * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} Momciloo / fun-with-sockets Public * Notifications * Fork 10 * Star 149 149 stars 10 forks Activity Star Notifications * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights Momciloo/fun-with-sockets This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main Switch branches/tags [ ] Branches Tags Could not load branches Nothing to show {{ refName }} default View all branches Could not load tags Nothing to show {{ refName }} default View all tags Name already in use A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? Cancel Create 1 branch 0 tags Code * Local * Codespaces * Clone HTTPS GitHub CLI [https://github.com/M] Use Git or checkout with SVN using the web URL. [gh repo clone Momcil] Work fast with our official CLI. Learn more about the CLI. * Open with GitHub Desktop * Download ZIP Sign In Required Please sign in to use Codespaces. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching GitHub Desktop If nothing happens, download GitHub Desktop and try again. Launching Xcode If nothing happens, download Xcode and try again. Launching Visual Studio Code Your codespace will open once ready. There was a problem preparing your codespace, please try again. Latest commit @Momciloo Momciloo Update readme.md ... b8549cb Nov 25, 2023 Update readme.md b8549cb Git stats * 10 commits Files Permalink Failed to load latest commit information. Type Name Latest commit message Commit time client first commit November 23, 2023 11:03 server first commit November 23, 2023 11:03 .gitignore first commit November 23, 2023 11:05 package.json Update package.json November 25, 2023 14:44 readme.md Update readme.md November 25, 2023 14:47 yarn.lock first commit November 23, 2023 11:03 View code readme.md A simple code exploration, inspired by (and stollen from) Bjorn 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 About No description, website, or topics provided. Resources Readme Activity Stars 149 stars Watchers 1 watching Forks 10 forks Report repository Releases No releases published Packages 0 No packages published Languages * JavaScript 71.0% * CSS 20.6% * HTML 8.4% Footer (c) 2023 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact GitHub * Pricing * API * Training * Blog * About You can't perform that action at this time.