Things that changed:
- I went back to BiStreams because I was dumb and didn’t realize that what I wanted to do was way easier with BiStreams.
- I started working on the backend, which can receive BiStreams from the selfhost-server as of now.
Used multiple UniStreams instead of a single BiStream because its easier, made the functions more usable, removed unused dependencies.
Started cleaning up and structuring the project. I also made a basic account system which will need some tuning later.
After trying different protocols for literal hours, I finally settled on WebTransport. Its safer than WebSocket, I believe. I now have to make it send the json instead of “HELLO”.
This is my first devlog of this project. I’ve always wanted to make a chat app since they are one of the most used tools today. Every attempt of making one failed and I was really frustrated. Now, I have motivation to make it and get something for free.