Vortex is a lightweight, end-to-end encrypted chat application that ensures message authenticity and confidentiality. It offers transport agnosticism, supporting both PostgreSQL and WebSocket, all in less than 600 lines of Python code.
This small project started with a demo to show the feasibility of using PostgreSQL as a message broker, a week later it gained TUI and E2EE. It's designed so that you don't have to trust the message broker, you can build a "driver" that stores the messages in a shared Dropbox folder, or publish the messages as QR codes in a newspaper - the outcome is the same.
But I'm no expert on cryptography, and I would like to got this code audited and (probably) destroyed.
Anyone that want to try without spinning up is own server, can use this: wss://t.42i.dev:35432/[10_random_a-z0-9_chars] - the random part should be the same for all your peers.