matrix chatbot for capturing thread messages
A bot running on Node.js connecting to a matrix network. On receiving a mention in a thread message it captures the preceding messages into a single copy-pastable reply.
The intended purpose is knowledge capturing by facilitating the transfer of relevant discussions into longer lived and searchable media like forums, wikis, documentations,...
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Clone the repo
git clone https://github.com/woeishi/matrix-threadbot-ts.git
- Install NPM packages
or
npm install
yarn install
- Create an
.envand enter required data (see .env.example)
mention its user handle in a message of a matrix chat thread. optionally following arguments:
below: post the captured message sequence in the thread instead of as direct messagepart: only capture up to last bot mention, defaults to capturing the whole threadhtmlorplain: format as html or plain text (minimal md) instead of default markdownhelpor?: show help message
start node.js with typescript compiler and filewatcher
npm run start:devor
yarn start:devnpm run buildor
yarn buildDistributed under the MIT License. See LICENSE.txt for more information.