faith is an E2EE instant messenger optimized for security, native performance & user customization.
The faith UI client is designed around native, GPU accelerated rendering of arbitrarily large text message scrolls.
It implements a custom text layout and rendering engine, supporting Unicode, international scripts, emoji, bidirectional text, ligatures and shaped glyphs.
The user interface is rendered through an optimized rendering backend abstraction over Vulkan and OpenGL. Windowing is handled by the implemented backends, which currently include X11 and Wayland.
faith uses a custom immediate-mode UI framework whose rendering is event-driven to limit power consumption.
The faith server is designed around security & low latency. It is written from scratch in C, supports concurrent networking, implements a custom binary protocol and uses TLS for wire security.
UI (high level) related:
- Full E2E encryption with an in-house MLS (RFC 9420) implementation
- All persistent storage is stored locally and never persistently kept on server DBs
- Create unlimited profiles, each with their own new identity
- Create disposable profiles with no public identifier
- Store contacts locally
- Create conversations with many partners
- Fully customize the application including the font, theme, corner rounding & much more
- Zoom the UI dynamically with high performance
- Use the Quickshell for fuzzy finding and running actions
- Easily switchable UI fonts
UI (low level) related:
- X11/Wayland windowing backend
- Vulkan rendering backend
- Modern OpenGL rendering backend
- Instanced, single-drawcall glyph rendering
- Full emoji support
- Unicode, grapheme and bidi support
- Ligatures and text shaping with HarfBuzz
- Multidirectional text paragraphs
- Paragraph layouting engine
- Event-driven immediate-mode UI framework
- Style & Layout animations
- Optimized rounded corners
Network/Server related:
- Concurrent server written in C
- Scalable to many clients with
epoll()mechanics - TCP transport secured with TLS via OpenSSL
- Fully custom binary protocol over wire
- Support for multiple devices per client
- Secure device-linking system
- Secure conversation request approval
- Server is built around minimal metadata
- Offline delivery
- Server acts only as an event router
- All event storage is deleted immediately after the client receives it
MLS related:
- MLS implementation written in C, implementing a tested subset of RFC 9420
- Efficient and correct TreeKEM implementation
- TreeKEM Add/Remove/Update proposals & group commit path
- Secret Tree implementation with persisted ratchets
- Protected Welcome messages
- Uses the MLS_128_DHKEMX25519_AES128GCM_SHA256_Ed25519 ciphersuite
- Securely persisted MLS session state
- Extensive test vectors, comparing against cisco/mlspp
To run faith, you will first need to start the local development server. This will run two API servers
and the database server on your local machine. For the script to work, you will need a functional docker
setup with docker compose available.
Start the server:
git clone https://github.com/cococry/faith
cd faith
./scripts/boot_system.shOnce the server is running, start the GUI client with the default options.
From the project root:
cd faith-ui
cargo runFor native builds, run ./scripts/build.sh from the project root.
Native programs link libfaith_client.a and libfaith_mls.a in the same
linker group, followed by libfaith_proto.a.
Run the MLS interoperability vectors with an external MLSpp checkout.
MLSPP_SOURCE_DIR=/path/to/mlspp ./faith-mls/scripts/test-mls.sh --vectors-onlySee the contribution manual.


