# matrix-org/matrix-js-sdk

Matrix Client-Server SDK for JavaScript

Repository: https://github.com/matrix-org/matrix-js-sdk
Canonical: https://ross.abutalabs.com/products/matrix-js-sdk
Homepage: http://matrix-org.github.io/matrix-js-sdk/
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: matrix-sdk, matrix, matrix-chat, hacktoberfest
Last push: 2026-08-26T11:00:32+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 98, longevity 100
- inputs: {"age_days": 4200, "days_push": 7, "days_rel": 15, "gap_med": 13, "n_releases_24m": 56}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2172, forks 703 (observed 2026-08-28T04:06:21.869742+00:00)

## What it is
The official Matrix Client-Server SDK for JavaScript and TypeScript, maintained by Element and used in Element Web and Desktop. It lets applications create Matrix clients that sync, send messages, join rooms, and support end-to-end encryption in browsers or Node.js.

## Use cases
- build a custom Matrix chat client in JavaScript
- send and receive Matrix messages from Node.js
- add end-to-end encrypted messaging to a web app
- list and browse public Matrix rooms programmatically
- integrate Matrix bot or automation functionality
- build a Matrix bridge or integration service

## When to choose
- you want to build a Matrix client, bot, or bridge in JS/TS
- you need E2EE support backed by the reference implementation used by Element
- you need both browser and Node.js support

## When to avoid
- you use a different language ecosystem with a native Matrix SDK
- you need a ready-made chat UI rather than a low-level SDK
- you need guaranteed full coverage of the latest Matrix spec release

## Facets
- artifact type: library
- maturity: stable
- function: sdk, http-client, websocket, cryptography, chat-interface
- domain: messaging-platforms, apis, developer-tools, privacy
- platform: browser, cross-platform
- tags: matrix, chat, e2ee, typescript, client-server, federation, nodejs, javascript

## Member repositories
- matrix-org/matrix-js-sdk (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.869742+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:49:13.849700+00:00, confidence not recorded.
  - readme: https://github.com/matrix-org/matrix-js-sdk (fetched 2026-08-28T04:06:21.869742+00:00, sha 51c37600d768)
  - homepage: http://matrix-org.github.io/matrix-js-sdk/ (fetched 2026-08-29T10:29:34.265315+00:00, sha 79bf963ec700)
- Data as of 2026-08-30T08:39:29.467469+00:00.
