MA

matrix-nio

Python library for building Matrix clients and bots

Matrix & XMPP ★ 709 stars Medium setup ISC

matrix-nio is an async Python library for the Matrix protocol that supports end-to-end encryption, used to build self-hosted Matrix bots, bridges, and custom clients without external dependencies.

Key features

  • Async Matrix client library
  • End-to-end encryption support
  • Build bots and bridges

Strengths

  • Released under the ISC license
  • Written in Python
  • Tiny footprint — runs in 128 MB RAM

Is matrix-nio secure?

OSV.dev lists 1 published advisory for matrix-nio. It doesn't publish GitHub releases we can match, so we can't say which of them apply to the current version. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.

  • Most recent fixed advisory CVE-2022-39254, published 2022-09-29 (1476 days ago), fixed in 0.20

Source: OSV.dev, checked 2026-10-14. How this is measured.

matrix-nio replaces

Health badge

Maintain matrix-nio? Add its health score to your README. The badge links back to this page.

SelfHostIndex: 76 · good

Markdown
[![SelfHostIndex health score for matrix-nio](https://selfhostindex.com/badge/matrix-nio.svg)](https://selfhostindex.com/app/matrix-nio/)
HTML
<a href="https://selfhostindex.com/app/matrix-nio/"><img src="https://selfhostindex.com/badge/matrix-nio.svg" alt="SelfHostIndex health score for matrix-nio"></a>
reStructuredText
.. image:: https://selfhostindex.com/badge/matrix-nio.svg
   :alt: SelfHostIndex health score for matrix-nio
   :target: https://selfhostindex.com/app/matrix-nio/

The score is recomputed on every nightly rebuild from public repository data — see how it is calculated.

Similar matrix & xmpp apps