Accurate-Screen8774@alien.topOPBtoSelf-Hosted Main@selfhosted.forum•Decentralized WhatsApp Clone in Javascript. Opinions?English
1·
1 year agomaybe 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)
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.