A simple command line Matrix client support end-to-end encryption
pnpm add
(I use pnpm instead of npm to manage package by default, but you can still use yarn or npm to install)
-
You need to config
accessToken
anduserId
in~/info.json
.accessToken
can be founded by this guideuserId
format is supported ininfo.json
. -
delete
sessionStore
,cryptoStore
anddeviceId
option in~/main.js
const { accessToken, userId } = require("./info.json"); const client = sdk.createClient({ baseUrl: "https://mx.alendia.dev", accessToken: accessToken, userId: userId, });
You need to config deviceId
in info.json
. It should be unique.
pnpm run start
Show help.
Join a room, e.g. /join 5
Return to the room list index.
Show the room member list.
Invite @example:example.com to the room.
Scrollback more events
🚫 Cross Server Room Info cannot be displayed
Display room info e.g. name, topic.