matrix-spec VS Mastodon

Compare matrix-spec vs Mastodon and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
matrix-spec Mastodon
12 1,226
158 45,916
5.1% 0.5%
9.0 10.0
6 days ago 7 days ago
HTML Ruby
Apache License 2.0 GNU Affero General Public License v3.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.

matrix-spec

Posts with mentions or reviews of matrix-spec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-13.
  • Simplicity of IRC
    4 projects | news.ycombinator.com | 13 Mar 2024
    ooh, mxrxtx sounds interesting - is this solving https://github.com/matrix-org/matrix-spec/issues/189?
  • Non-profit Matrix.org Foundation seems to be moving funds to for-profit Element
    1 project | /r/hypeurls | 21 Nov 2023
    7 projects | news.ycombinator.com | 19 Nov 2023
    Hi there! I'm the Managing Director of the Foundation. That owing balance is down to the many services for which we rely on Element.

    The Foundation has a Master Services Agreement (MSA) with Element which includes administrative services, operation of the matrix.org homeserver, and secondment of several personnel whose responsibilities include advocacy, program management, standards work, and trust and safety. The MSA also includes provisions for the Foundation to reimburse Element for any bills they pay on our behalf.

    More details and context in my official reply: https://github.com/matrix-org/matrix-spec/issues/571#issueco...

    Happy to address any other concerns or questions you may have.

  • The AT protocol is the most obtuse crock of s*
    9 projects | news.ycombinator.com | 9 May 2023
    AT proto has some significant similarities to Matrix:

    * Both are work by self-authenticating git-style replication of Merkle trees/DAGs

    * Both define strict data schemas for extensible sets of events (Matrix uses JSON schema - https://github.com/matrix-org/matrix-spec/tree/main/data/eve... and OpenAPI; AT uses Lexicons)

    * Both use HTTPS for client-server and server-server traffic by default.

    * Both are focused on decentralised composable reputation - e.g. https://matrix.org/blog/2020/10/19/combating-abuse-in-matrix... on the Matrix side, or https://paulfrazee.medium.com/the-anti-parler-principles-for... on the bluesky side, etc.

    * Both are designed as big-world communication networks. You don't have the server balkanisation that affects ActivityPub.

    * Both eschew cryptocurrency systems and incentives.

    There are some significant differences too:

    * Matrix aspires to be the secure communication layer for the open web.

    * AT aspires (i think) to be an open decentralised social networking protocol for the internet.

    * AT has portable identity by default. We've been working on this on Matrix (e.g. MSC1228 - https://github.com/matrix-org/matrix-spec-proposals/pull/122... and MSC2787 - https://github.com/matrix-org/matrix-spec-proposals/blob/nei...) and have a new MSC (and implementation on Dendrite) in progress right now which combines the best bits of MSC1228 & MSC2787 into something concrete, at last. In fact the proto-MSC is due to emerge today.

    * AT is proposing a asymmetrical federation architecture where user data is stored on Personal Data Servers (PDS), but indexing/fan-out/etc is done by Big Graph Servers (BGS). Matrix is symmetrical and by default federates full-mesh between all servers participating in a conversation, which on one hand is arguably better from a self-sovereignty and resilience perspective - but empirically has created headaches where an underpowered server joins some massive public chatroom and then melts. Matrix has improved this by steady optimisation of both protocol and implementation (i.e. adding lazy loading everywhere - e.g. https://matrix-org.github.io/synapse/latest/development/syna...), but formalising an asymmetrical architecture is an interesting different approach :)

    * AT is (today) focused on for public conversations (e.g. prioritising big-world search and indexing etc), whereas Matrix focuses both on private and public communication - whether that's public chatrooms with 100K users over 10K servers, or private encrypted group conversations. For instance, one of Matrix's big novelties is decentralised access control without finality (https://matrix.org/blog/2020/06/16/matrix-decomposition-an-i...) in order to enforce access control for private conversations.

    * Matrix also provides end-to-end encryption for private conversations by default, today via Double Ratchet (Olm/Megolm) and in the nearish future MLS (https://arewemlsyet.com). We're also starting to work on post quantum crypto.

    * Matrix is obviously ~7 years older, and has many more use cases fleshed out - whether that's native VoIP/Video a la Element Call (https://element.io/blog/introducing-native-matrix-voip-with-...) or virtual worlds like Third Room (https://thirdroom.io) or shared whiteboarding (https://github.com/toger5/TheBoard) etc.

    * AT's lexicon approach looks to be a more modular to extend the protocol than Matrix's extensible event schemas - in that AT lexicons include both RPC definitions as well as the schemas for the underlying datatypes, whereas in Matrix the OpenAPI evolves separately to the message schemas.

    * AT uses IPLD; Matrix uses Canonical JSON (for now)

    * Matrix is perhaps more sophisticated on auth, in that we're switching to OpenID Connect for all authentication (and so get things like passkeys and MFA for free): https://areweoidcyet.com

    * Matrix has an open governance model with >50% of spec proposals coming from the wider community these days: https://spec.matrix.org/proposals

    * AT has done a much better job of getting mainstream uptake so far, perhaps thanks to building a flagship app from day one (before even finishing or opening up the protocol) - whereas Element coming relatively late to the picture has meant that Element development has been constantly slowed by dealing with existing protocol considerations (and even then we've had constant complaints about Element being too influential in driving Matrix development).

    * AT backs up all your personal data on your client (space allowing), to aid portability, whereas Matrix is typically thin-client.

    * Architecturally, Matrix is increasingly experimenting with a hybrid P2P model (https://arewep2pyet.com) as our long-term solution - which effectively would end up with all your data being synced to your client. I'd assume bluesky is consciously avoiding P2P having been overextended on previous adventures with DAT/hypercore: https://github.com/beakerbrowser/beaker/blob/master/archive-.... Whereas we're playing the long game to slowly converge on P2P, even if that means building our own overlay networks etc: https://github.com/matrix-org/pinecone

    I'm sure there are a bunch of other differences, but these are the ones which pop to the top of my head, plus I'm far from an expert in AT protocol.

    It's worth noting that in the early days of bluesky, the Matrix team built out Cerulean (https://matrix.org/blog/2020/12/18/introducing-cerulean) as a demonstration to the bluesky team of how you could build big-world microblogging on top of Matrix, and that Matrix is not just for chat. We demoed it to Jack and Parag, but they opted to fund something entirely new in the form of AT proto. I'm guessing that the factors that went into this were: a) wanting to be able to optimise the architecture purely for social networking (although it's ironic that ATproto has ended up pretty generic too, similar to Matrix), b) wanting to be able to control the strategy and not have to follow Matrix's open governance model, c) wanting to create something new :)

    From the Matrix side; we keep in touch with the bluesky team and wish them the best, and it's super depressing to see folks from ActivityPub and Nostr throwing their toys in this manner. It reminds me of the unpleasant behaviour we see from certain XMPP folks who resent the existence of Matrix (e.g. https://news.ycombinator.com/item?id=35874291). The reality is that the 'enemy' here, if anyone, are the centralised communication/social platforms - not other decentralisation projects. And even the centralised platforms have the option of seeing the light and becoming decentralised one day if we play our parts well.

    What would be really cool, from my perspective, would be if Matrix ended up being able to help out with the private communication use cases for AT proto - as we obviously have a tonne of prior art now for efficient & audited E2EE private comms and decentralised access control. Moreover, I /think/ the lexicon approach in AT proto could let Matrix itself be expressed as an AT proto lexicon - providing interop with existing Matrix rooms (at least semantically), and supporting existing Matrix clients/SDKs, while using AT proto's ID model and storing data in PDSes etc. Coincidentally, this matches work we've been doing on the Matrix side as part of the MIMI IETF working group to figure out how to layer Matrix on top of other existing protocols: e.g. https://datatracker.ietf.org/doc/draft-ralston-mimi-matrix-t... and https://datatracker.ietf.org/doc/draft-ralston-mimi-matrix-m... - and if I had infinite time right now I'd certainly be trying to map Matrix's CS & SS APIs onto an AT proto lexicon to see what it looks like.

    TL;DR: I think AT proto is cool, and I wish that open projects saw each other as fellow travellers rather than competitors.

  • I really like the idea of Matrix, but I’ve struggled to find the answer to these questions elsewhere online. Can someone please help?
    2 projects | /r/matrixdotorg | 26 Apr 2023
    About 4 (data backup): it's worth mentioning that Element web lets you export your chat history in a given room. Regarding account migration, it is on the roadmap and there has been work on it. The most relevant keywords to look for it would be 'portable identity' (see also this thread). Finally, there is this small tool to attempt an 'account migration'. I have not used it, I do not recommend it (use at your own risk etc.) but it exists.
  • how privacy centered is telegram?
    3 projects | /r/privacy | 2 Mar 2023
    I am watching this: https://github.com/matrix-org/matrix-spec/issues/246 Really want to see the roaming identity feature. Fully p2p stuff is imho just too cumbersome for 99% of the users. Or maybe someone could start selling RPI based appliance that runs a node 24/7.
  • matrix and Client-side encryption
    1 project | /r/privacy | 14 Jan 2023
    More about it HERE
  • Mastodon.technology Is Shutting Down
    17 projects | news.ycombinator.com | 7 Oct 2022
    I think you could create a system that's resilient to such issues even with federation (not saying it's easy, though), and Matrix actually has a solution in the works for this – decentralised user accounts [1].

    And all of this makes me wonder – maybe it's better to re-implement something like Mastodon on top of Matrix. If Matrix adopts decentralised user accounts, that would seemingly solve such issues automatically. There was a POC Matrix based Twitter clone demonstrating this, actually [2] (but without the decentralised accounts yet).

    [1] https://github.com/matrix-org/matrix-spec/issues/246

  • Privacy concerns with matrix
    1 project | /r/PrivacyGuides | 25 Aug 2022
    Issue tracker for reactions encryption https://github.com/matrix-org/matrix-spec/issues/660

Mastodon

Posts with mentions or reviews of Mastodon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-15.
  • Ask HN: What do you think about a subscription based social media?
    1 project | news.ycombinator.com | 27 Apr 2024
    Oh, TIL about https://mastodon.social/ (https://joinmastodon.org/)

    Looks like what you describe, doesn't it?

    > Social networking that's not for sale.

  • Alt Text box can't fit one screenshot of text
    1 project | news.ycombinator.com | 21 Apr 2024
    Interestingly there is some discussion for Mastodon with people asking the limit to be smaller, which raises the question as to the purpose of alt text, and how to properly handle larger text lengths in screen reader programs.

    https://github.com/mastodon/mastodon/issues/12268

  • Open source at Fastly is getting opener
    10 projects | dev.to | 15 Mar 2024
    Through the Fast Forward program, we give free services and support to open source projects and the nonprofits that support them. We support many of the world’s top programming languages (like Python, Rust, Ruby, and the wonderful Scratch), foundational technologies (cURL, the Linux kernel, Kubernetes, OpenStreetMap), and projects that make the internet better and more fun for everyone (Inkscape, Mastodon, Electronic Frontier Foundation, Terms of Service; Didn’t Read).
  • Bluesky announces data federation for self hosters
    7 projects | news.ycombinator.com | 22 Feb 2024
    Mastodon DMs have absolutely no privacy: https://github.com/mastodon/mastodon/issues/18079

    For a decentralized protocol doing things right is much more important than doing things fast, it is very difficult (and in a lot of cases impossible) to break backwards compatibility.

  • External OpenID Connect Account Takeover by Email Change
    1 project | news.ycombinator.com | 15 Feb 2024
  • Ask HN: Best practice for posting links to large Mastodon threads?
    1 project | news.ycombinator.com | 9 Feb 2024
    Postmortem on what happened here: https://news.ycombinator.com/edit?id=39305884

    The v1 API of Mastodon limits the size of the tree that it will expand for users who are not logged into the server: https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/statuses_controller.rb . I am guessing that this or some similar limit applies to threads being returned to unauthenticated users of the web UI. It just arbitrarily stops expanding the replies at some point, including the main thread from the OP.

    If a thread is truncated, users expect it to expand automatically and autoscroll when you hit the bottom. In my desktop browser, that does not occur, and there is no indication that there is more to see. This is the situation of the web interface as of Mastodon version 4.2.5.

    The issue is very sensitive to observer conditions. If you are logged into the server, the behavior is different. If you use a Mastodon app instead of the web, the behavior might be different. As the tree expands, the cutoffs become different. If you look at the thread on a different Mastodon server, the tree is different because every server has its own view of the Fediverse.

    HN needs a best practice for linking to Mastodon threads in a way that provides a consistent experience to HN readers. The average Mastodon server would be crushed by hundreds of HN readers grabbing the entirety of a huge thread all at once, so this might involve some thread-unroll-and-cache service. I tried https://mastoreader.io/ but it did not solve the problem.

    Alternately, we push changes into the Mastodon web UI to warn users when they need to click to see more and assume that people will get used to the navigation.

    Suggestions?

  • CVE-2024-23832 Mastodon Vulnerability: Remote user impersonation and takeover
    2 projects | news.ycombinator.com | 1 Feb 2024
    Fixed in Mastodon v4.2.5 https://github.com/mastodon/mastodon/releases/tag/v4.2.5
  • Unity's Open-Source Double Standard: The Ban of VLC
    1 project | news.ycombinator.com | 12 Jan 2024
    >You can defeat the Affero clause by putting the software behind a proxy, for example

    Could someone elaborate on this? This is NOT my understanding of the license, and it seems absurd considering e.g. Mastodon is AGPL but the standard install requires a reverse proxy[1]. If using a proxy defeats Affero, why would the Mastodon team do this? Are they stupid?

    [1] https://github.com/mastodon/mastodon/blob/main/dist/nginx.co...

  • You Can't Follow Me
    7 projects | news.ycombinator.com | 11 Jan 2024
    Mastodon is free and open-source. Go ahead and add the flag:

    https://github.com/mastodon/mastodon/blob/main/CONTRIBUTING....

  • Change Referer value to something generic such as "urn:activitypub:Mastodon"
    1 project | news.ycombinator.com | 10 Jan 2024

What are some alternatives?

When comparing matrix-spec and Mastodon you can also consider the following projects:

nostr - a truly censorship-resistant alternative to Twitter that has a chance of working

diaspora* - A privacy-aware, distributed, open source social network.

protocol - Specification of the Farcaster Protocol

Misskey - 🌎 An interplanetary microblogging platform 🚀

soapbox - Software for the next generation of social media.

Lemmy - 🐀 A link aggregator and forum for the fediverse

session-android - A private messenger for Android.

Friendica - Friendica Communications Platform

rebased - Fediverse backend written in Elixir. The recommended backend for Soapbox.

GNU social - GNU social is social communication software for both public and private communications.

freebird - matrix based twitter clone