risala

    a chat protocol for independent servers

    Rooms, guests, replies, reactions and stored history, in plain UTF-8 text lines over TLS. Direct conversations and private rooms are end-to-end encrypted with MLS, using post-quantum algorithms throughout.

    • Independent serversNo federation, and no server is special. Every conversation lives on exactly one server.
    • Portable identityalice@example.org is whoever holds a key listed on example.org. The same identity works on any server.
    • End-to-end encryptedDirect conversations and private rooms use MLS. Devices keep their history keys, so encrypted history still syncs and works offline.
    • Post-quantumML-KEM hybrid key exchange in TLS, X-Wing in MLS, and ML-DSA signatures for identities and devices.
    • Gapless historyEvery event has a sequence number, so a client that reconnects fetches exactly what it missed.
    • Usable by handPlain UTF-8 text lines. Everything outside encrypted conversations works from a terminal.
    $ nix shell github:risa-la/r#risala
    $ risala guest chat.example.org sam
    signed in to chat.example.org as ~sam
    $ risala join chat.example.org #general
    joined #general (1 events stored)
    $ risala send chat.example.org #general hello!
    sent to #general as 2
    $ risala log chat.example.org #general
    [1] 05:39 * ~sam joined
    [2] 05:39 <~sam> hello!