I’ll try make this short and sweet. Using PeerJs its possible to connect browsers over a fast WebRTC connection. So i slapped on material-ui to see what is possible using this technology.

The app is available here.

my code results in the static files you can save from the link to the app (html, js, css, etc). you can ctrl/cmd+s to save the statics and host them on a static-server of your choice (easier than me providing a .zip?). you can also host your own peerjs-server.

The app is not production ready, but it is provided as a testable work-in-progress demo. it would be great to hear opinions on how the project is shaping up.

(feature requests + bug reports welcome :) )

  • Accurate-Screen8774OPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    maybe in the post it isnt clear. there are 2 diferent types of self-hosting.

    - selfhost the statics - ctrl/cmd+s to save the statics and host them on a static-server of your choice (easier than me providing a .zip?). this can be done with something like `npx serve /static-folder-with-files`

    - the app is made to not rely on a backend for authentication, but peerjs-server is used to make initial connection. you can select the peerjs server on the “create profile” screen. (note: a profile is locked to a specific peerjs-server which is set whern you create a profile)