nheko VS matrix-rust-sdk

Compare nheko vs matrix-rust-sdk and see what are their differences.

matrix-rust-sdk

Matrix Client-Server SDK for Rust (by matrix-org)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
nheko matrix-rust-sdk
18 13
1,766 1,065
2.9% 6.1%
9.6 9.9
4 days ago 6 days ago
C++ Rust
GNU General Public License v3.0 only Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nheko

Posts with mentions or reviews of nheko. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-31.
  • Shutting down the letsblock.it project and its official instance
    5 projects | news.ycombinator.com | 31 Mar 2024
  • PSA: security vulnerability in qBitorrent 4.5.x webUI
    2 projects | /r/DataHoarder | 26 Feb 2023
    Look at this, notice anything different? https://github.com/Nheko-Reborn/nheko/issues/new/choose
  • This Year in Matrix
    6 projects | news.ycombinator.com | 25 Dec 2022
    Nheko has been around for a number of years. Never used it myself though.

    https://github.com/Nheko-Reborn/nheko

  • Matrix was worth the effort to self host.
    8 projects | /r/selfhosted | 18 Sep 2022
    Matrix clients hit different than pretty much any other chat client I've use before. Theres multiple clients I've found like nheko, moments, element that are a pleasure to look at and smooth as hell. Even better you can have users use web services like Element Web to sign-up and chat. Its sick.
  • What flatpaks are "official" (i.e., directly from the application's developer)?
    5 projects | /r/linux | 3 May 2022
    The Nheko flatpak is official. Just compare the source to the nightlies we build and upload to our nightly repo.
  • GTK4 Matrix Client
    6 projects | news.ycombinator.com | 10 Apr 2022
    Like almost every client out there it has no support for e2ee. I was happy to find https://nheko-reborn.github.io (I'm a KDE user so Qt apps are preferred).
  • Mozilla Thunderbird Beta now supports Matrix chat
    5 projects | news.ycombinator.com | 8 Apr 2022
  • weed rule
    1 project | /r/196 | 24 Mar 2022
    There's also FluffyChat or Nheko if Element is too heavy.
  • Using Files with Browsers, in Reality
    3 projects | news.ycombinator.com | 21 Mar 2022
    I probably wouldn't have guessed that `e.dataTransfer.items` gets cleared at the first await (since I'm not a proficient web developer), but I would've been extremely wary of this code in general. Additionally (not tied to async-await but race conditions in general), is `item.getAsFileSystemHandle()` a TOCTTOU vulnerability where the type of an item can change between folders and files and symlinks etc., while this code is running?

    Rust's & vs. &mut system largely eliminates shared state hazards in both threading and asynchronity (&mut is exclusive/unaliased and can't be mutated by other threads or event loop jobs, and & is difficult and unidiomatic to mutate), though it doesn't solve async cancellation errors (https://carllerche.com/2021/06/17/six-ways-to-make-async-rus..., discussed at https://news.ycombinator.com/item?id=27542504), or filesystem TOCTTOU (https://blog.rust-lang.org/2022/01/20/cve-2022-21658.html as well as user code).

    Qt event loop reentrancy is fun(tm) as well. It looks like a blocking call, but spawns a nested event loop which can do anything (but rarely enough to lull you into a false sense of complacency), resulting in segfaults like https://github.com/Nheko-Reborn/nheko/issues/656 (workaround at https://github.com/Nheko-Reborn/nheko/commit/570d00b000bd558..., I didn't look into it). And Qt lacks "easy" await syntax and a framework based on calling red functions (though I didn't look into C++20 coroutines yet, perhaps https://www.qt.io/blog/asynchronous-apis-in-qt-6 or https://github.com/mhogomchungu/tasks or https://blog.blackquill.cc/asynchronous-qtquick-uis-and-thei...?).

  • Introducing Native Matrix VoIP with Element Call!
    5 projects | /r/linux | 5 Mar 2022

matrix-rust-sdk

Posts with mentions or reviews of matrix-rust-sdk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-23.
  • Flutter seems to be having bad times internally
    5 projects | news.ycombinator.com | 23 Nov 2023
    Yep, a good example is the element X rewrite

    They use Jetpack on Android

    https://github.com/vector-im/element-x-android

    And SwiftUI on iOS

    https://github.com/vector-im/element-x-ios

    But both use the same underlying Matrix Rust SDK

    https://github.com/matrix-org/matrix-rust-sdk

    So they share the core part of the app between platforms, but everything user facing is native

  • Crux: Cross-platform app development in Rust
    7 projects | news.ycombinator.com | 28 Sep 2023
  • I made a crate: eyeball – Add observability to your Rust types!
    1 project | /r/rust | 15 Mar 2023
    The one place eyebal is already being used is matrix-rust-sdk, mostly for bits of the API that act as a model for specific UI parts in apps built on top of it. A part of those APIs is also using observable vectors from eyeball-im, which I didn't mention initially because it's not as well-documented and polished.
  • Collaborative WYSIWYG document editor built-on matrix-rust-sdk and matrix-rich-text-editor?
    2 projects | /r/matrixdotorg | 15 Feb 2023
    Hello everyone, I am finally making it to all of the great talks about Matrix from FOSDEM 23, and one thing that seemed like an obvious thing that could be built on some of the new projects works (matrix-rich-text-editor, matrix-rust-sdk) is a collaborative (multi-user, live edits) document tool built ontop of rust. That said, I haven't seen any project doing this yet. Does anyone know of one?
  • Matrix 2.0 — Matthew Hodgson talks about Rust in Element client, Rust SDK, IETF MLS, MIMI and more
    7 projects | /r/rust | 7 Feb 2023
    Another important piece of the ecosystem for which Rust was used is the SDK. This new SDK was used to write the newest mobile client - Element X. The current Element client will also see its cryptography implementation being changed from Javascript to Rust, this was also made possible by the new Rust based SDK.
  • Some key-value storage engines in Rust
    12 projects | /r/rust | 27 Dec 2022
    Let's say I'll switch as soon as they start using Sanakirja. They're partially right in their analysis of Sanakirja, but their comments are more about the lack of expressiveness of the unsafe keyword in Rust than about Sanakirja itself. I'm preparing a blog post about my dream version of unsafe.
  • IRCv3 2022 Spec round-up
    8 projects | news.ycombinator.com | 20 Nov 2022
    >Well I care, that does not mean that you have to care.

    The point I'm making is that the protocol being implement-able by yourself or grabbing a lib from someone else is moot, since you will 9 times out of 10 use a library.

    >Again, look at the lack of client diversity for Matrix and tell me that you do not think that there is at least some correlation in terms of the complexity of the protocol.

    The problem is not client diversity for Matrix - there's plenty of them. The problem is that Matrix is more than displaying a log on a screen, and most of the clients are frankly abysmal and could use a trained UI/UX owner.

    >last I checked it meant using either Python or Go

    The Rust SDK has worked well for me, although I can't state how close it is to Python or Go's libs. That said, I know I'm certainly not the only one using it.

    The Rust lib could be wrapped into other languages (e.g, Ruby) if there's not a good SDK for that language. I don't really consider this to be an issue, especially considering the Rust SDK is maintained by the Matrix org themselves.

    https://github.com/matrix-org/matrix-rust-sdk

    >Add to this that the more mandatory features you have and keep adding

    Don't maintain your own bespoke library and you won't have to. :)

    >But I am not going to behave as if images, reactions, code blocks, threads, end-to-end encryption, voice calls, video calls, etc. do not come at a cost.

    They do come at a cost, but that's the price of admission for what people expect from modern chat systems. I'd rather live in 2022 than 2004, and I grew up on IRC.

  • Back to School: Free Rust Courses
    7 projects | /r/rust | 27 Aug 2022
    I'm not entirely sure what I plan to use Rust with at the moment, however my first project so far has been to write a Matrix bot using the matrix-rust-sdk library :)
  • GTK4 Matrix Client
    6 projects | news.ycombinator.com | 10 Apr 2022
    Just for everyone else reading, the modern Matrix Rust stack referred to here is the matrix-rust-sdk: https://github.com/matrix-org/matrix-rust-sdk
  • E2EE vulnerability in multiple Matrix clients
    8 projects | news.ycombinator.com | 13 Sep 2021
    The current way we're approaching this is to split the reference E2EE implementation into its own rust crate (https://github.com/matrix-org/matrix-rust-sdk/tree/master/ma...) which can be used with any SDK (e.g. we're almost finished embedding it into the Kotlin matrix-android-sdk2 client)

    Separately, there's also the overall matrix-rust-sdk https://github.com/matrix-org/matrix-rust-sdk for clients to use as a "full fat" Matrix client SDK - as used by Fractal Next (https://gitlab.gnome.org/GNOME/fractal/-/tree/fractal-next) etc. We might end up using this in Element too in future (especially in Element iOS, where a Swift UI + matrix-rust-sdk backend could be quite a cute next generation architecture).

    So while the first generation reference Matrix SDKs (matrix-js-sdk, matrix-ios-sdk and matrix-android-sdk) were completely independent implementations, each with their own bugs and increased audit surface, we're hoping that matrix-rust-sdk will simplify this a lot in future.

What are some alternatives?

When comparing nheko and matrix-rust-sdk you can also consider the following projects:

gomuks - A terminal based Matrix client written in Go.

conduit

axolotl - A Signal compatible cross plattform client written in Go, Rust and Vuejs

threema-android - Threema App for Android.

Signal-Android - Patches to Signal for Android removing dependencies on closed-source Google Mobile Services and Firebase libraries. In branches whose names include "-FOSS". Uses new "foss" or "gms" flavor dimension: build with "./gradlew assemblePlayFossProdRelease".

element-android - A glossy Matrix collaboration client for Android.

weechat-matrix - Weechat Matrix protocol script written in python

telegram-bot-api - Telegram Bot API server

weechat-matrix-rs - Rust rewrite of the python weechat-matrix script.

org.signal.Signal

Ruma - A set of Rust crates for interacting with the Matrix chat network.