Skip to content

partykit/sketch-globe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎈 globe-party

CobePhenomenonPartyKit

image

You've always wanted to show a spinning globe on your website that shows the location of every person on that page, right? Well, now you can!

This project has been made possible by the amazing Cobe and Phenomenon libraries. It's a fun little experiment that I hope you'll enjoy.

The "server" is a PartyKit module that listens for incoming connections, reads location information from Cloudflare headers, and broadcasts that information to all connected clients. The "client" is a React app that connects to the server and displays the location of all connected clients on a spinning globe. Each of these is a 100 loc file, comments and all, that you can read in a few minutes.

Feel free to fork and remix!

Releases

No releases published

Packages

No packages published