Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tried implementing a Matrix bot a few months back, and it was an absolutely miserable experience, since Device Verification/E2EE was not working with any of the available open source Python implementations I found.

I then stumbled upon their internal Rust SDK[1] that they use for Element X, which is actually quite nice, and even has FFI bindings for Python and Kotlin[2]. Unfortunately the documentation was really lacking at the time. I managed to put something together with the help of an LLM and the source code and examples to find my way around the various APIs, and it actually works with emoji verification and E2EE (although there are weird bugs around synchronization, but that's probably just an API misuse on my end).

It seems they've improved the documentation since and even provide a reference client[3] to see how things work.

[1] https://github.com/matrix-org/matrix-rust-sdk

[2] https://github.com/matrix-org/matrix-rust-sdk/tree/main/bind...

[3] https://github.com/matrix-org/matrix-rust-sdk/tree/main/labs...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: