flok icon indicating copy to clipboard operation
flok copied to clipboard

Have an option for only Web-native languages

Open cleary opened this issue 1 year ago • 1 comments

The weekend jams are migrating to flok - one of the nice features in estuary was that all the langs it supports are web native so jamming with strangers is a bit safer.

I've had a couple of discussions with @munshkr about this, it's important that the option is not accessible/modifiable by any participants, so my proposal was to have a url path that creates Web-only rooms, for example : flok.cc/wo/wej

cleary avatar Jan 02 '25 09:01 cleary

To bring here the discussion on how to implement this: I was thinking we need a way to embed parameters as part of the session name, to make sure the session only exists when these parameters match exactly. For example, web-only sessions could have a name suffix like "__wo" so that flok.cc/s/wo/wej would connect to session named wej__wo. To make sure we can't bypass the "sandbox", we'd need to escape the suffix separator __ to make sure we can't replicate it via flok.cc/s/wej__wo manually.

Alternatively we could generalize it into a JSON object for more complex setups (list of available targets, passwords?), and hash it with a salt.

munshkr avatar Jan 02 '25 13:01 munshkr