this post was submitted on 22 Oct 2023
4 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

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 :) )

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago (1 children)

How do you self host your app?

[–] [email protected] 1 points 1 year ago (1 children)

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)

[–] [email protected] 1 points 1 year ago (1 children)

Well scraping your app is not self hosting. Any reason why you don't provide your Git repo if you're ok with people downloading your source?

[–] [email protected] 1 points 1 year ago

The app is still very much a work in progress, and while it's functional, it's far from being a finished product. Therefore, open-sourcing the code is not currently in our plans, especially for the experimental parts.

We place a strong emphasis on security, and you can find some of our cryptography-related code open-sourced for public review. We're committed to making sure our security measures are transparent and robust.

If there's a popular demand for downloadable statistics in a zip format, we can certainly provide that option directly within the app.

For those who are interested in self-hosting the app, it's important to note that hosting the static files is just one part of the equation; ensuring the app maintains strong security through measures like CSP headers is equally vital to protect your data from potential threats like browser plugins.

Our CSP header configuration and rating can be seen here.