Fastify as the backend, and a complete rewrite #45
Replies: 1 comment 6 replies
-
The idea of not having a "fixed list of rooms"This comes from a misunderstanding of how zerochat works, there's actually an infinite amount of rooms that exist. It's just that if you click on the Rooms text box, you'll get suggestions, which are in the rooms list. But you can join any room whatsoever, the idea is you can go to any Having a Having public/private key pairsI would love that and I even thought of it already, but the issue is, how do you encrypt a room's text on the fly within the browser if you arent using javascript? The best we can do is use the latest TLS standard and encrypt the site's traffic with a free HTTPS certificate, which is already being done. Maybe a guide on how to do that would be helpful |
Beta Was this translation helpful? Give feedback.
-
I propose switching to fastify for our further rewrite.
Why we want to
Changing the project file structure.
I have a better structure in mind, that looks like this
Add a
config.ini
, which will look like this:Rest of the config will go in
.env
, and maybe get the Password authentication working, or Here's a better advice, Instead of having fixed number of rooms, in the config /rooms.txt
, Maybe allow users to create their room, with a password, and add public + private key authentication. I'm thinking about key verification, and working, I'll notify as it's done.Beta Was this translation helpful? Give feedback.
All reactions