Matrix JS SDK example bot
This repository contains a simple Matrix client written in JavaScript to run in the current Node.js LTS version. It uses the Matrix JS SDK to:
m.login.password
The develop
branch contains a full example, where the bot waits till someone replies back “hello”.
npm
or yarn
on the PATH.$ npm install
credentials.sh
to local.credentials.sh
, and add Matrix credentials in the new filelocal.credentials.sh
is added to .gitignore
, so you don’t have to worry about leaking your secretssource local.credentials.sh
$ node index.js
License: Unlicense/Public domain