Felix Urbasik on Nostr: They both seem overly complicated. Maybe I should come up with a protocol. The ...
They both seem overly complicated. Maybe I should come up with a protocol. The quite-okay instant messaging protocol. QOIM!
It's #1 priority would be being easy to implement, so many clients and servers can be written by the community.
How would you do that? Alright, first, you need some kind of authentication. Email is always great. Enter email, receive session token, boom! We're in.
For the protocol we keep a single TCP connection established. Lost connection? Reconnect immediately, send session token, we're back where we left off.
Rooms are only on one server. The server keeps a log of all messages.
Now, encryption. Normally overrated, but do I want to trust a random server owner with my messages? Heck no.
Man, this stuff just IS complicated...
It's #1 priority would be being easy to implement, so many clients and servers can be written by the community.
How would you do that? Alright, first, you need some kind of authentication. Email is always great. Enter email, receive session token, boom! We're in.
For the protocol we keep a single TCP connection established. Lost connection? Reconnect immediately, send session token, we're back where we left off.
Rooms are only on one server. The server keeps a log of all messages.
Now, encryption. Normally overrated, but do I want to trust a random server owner with my messages? Heck no.
Man, this stuff just IS complicated...