Skip to content

homegamesio/homegames.link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

homegames.link

homegames.link

homegames.link diagram

General idea:

  • A Homegames instance maintains a separate optional WS connection to homegames.link.
  • The Homegames instance tells homegames.link its local IP address.
  • homegames.link keeps that local IP in an in-memory cache, using the public IP of the Homegames instance as a key
  • When a browser requests http://homegames.link, homegames.link will check the cache to see if there's a key for the requester's public IP
  • If there is, redirect the client to the homegames instance's local network IP address
  • If not, display "none".

Notes

  • Might not need to use WS
  • Should probably use "none" as an opportunity to market Homegames, like "no local servers found but make one it's rad and easy" or something.
  • Browser caching makes life difficult

Releases

No releases published

Packages

No packages published