turt2live/matrix-bot-sdk

TypeScript/JavaScript SDK for Matrix bots

TypeScript

277

869 commits

updated Mar 27, 2026

See the code

README

matrix-bot-sdk

npm version

TypeScript/JavaScript SDK for Matrix bots. For help and support, visit #matrix-bot-sdk:t2bot.io

Documentation

Documentation for the project is available here.

Matrix version support

The Matrix protocol is versioned to ensure endpoints and functionality can safely rotate in and out of the ecosystem. The bot-sdk will assume it is connected to a homeserver with support for at least one of the last 2 versions, at the time of the bot-sdk's release. This means that if you connect the bot-sdk to a homeserver which is 3 or more Matrix versions out of date, things might not work for you.

It is recommended to update the bot-sdk as frequently as spec releases themselves (or faster) to avoid this situation, and watch the repo for updates in the event a release is delayed.

Note: Currently the bot-sdk does not throw an error if the server appears to be incompatible, however this might change in the future.

bot
hacktoberfest
matrix
sdk

Contributors

turt2live

685 commits

Half-Shot

122 commits

dependabot[bot]

19 commits

Sorunome

17 commits

Languages

TypeScript

99.6%

turt2live/matrix-bot-sdk

TypeScript/JavaScript SDK for Matrix bots

TypeScript

277

869 commits

updated Mar 27, 2026

See the code

README

matrix-bot-sdk

npm version

TypeScript/JavaScript SDK for Matrix bots. For help and support, visit #matrix-bot-sdk:t2bot.io

Documentation

Documentation for the project is available here.

Matrix version support

The Matrix protocol is versioned to ensure endpoints and functionality can safely rotate in and out of the ecosystem. The bot-sdk will assume it is connected to a homeserver with support for at least one of the last 2 versions, at the time of the bot-sdk's release. This means that if you connect the bot-sdk to a homeserver which is 3 or more Matrix versions out of date, things might not work for you.

It is recommended to update the bot-sdk as frequently as spec releases themselves (or faster) to avoid this situation, and watch the repo for updates in the event a release is delayed.

Note: Currently the bot-sdk does not throw an error if the server appears to be incompatible, however this might change in the future.

bot
hacktoberfest
matrix
sdk

Contributors

turt2live

685 commits

Half-Shot

122 commits

dependabot[bot]

19 commits

Sorunome

17 commits

Languages

TypeScript

99.6%