Pjaerr / Isolation-Run

A silly website that helps you keep up your running habit whilst in isolation/lockdown/quarantine.
https://isolation-run.herokuapp.com/
GNU General Public License v3.0
1 stars 0 forks source link

Improve how fluid connections are made #6

Open Pjaerr opened 4 years ago

Pjaerr commented 4 years ago

First thought was to use QR codes but IOS doesn't support a reader directly within the web app so my second thought is to automatically connect two devices if they are on the same network (check IP: https://github.com/websockets/ws#how-to-get-the-ip-address-of-the-client) but this could cause issues on semi-public networks such as within a student accomodation so probably not doable.

Any ideas welcome.

Pjaerr commented 4 years ago

Could show a long GUID on screen (currently only show the first 9 characters) and then provide the phone with OCR ability if that exists (https://github.com/naptha/tesseract.js#tesseractjs) -- Probably too slow for actual use but just an idea.