A Matrix bot that complains when riot-web features take too long
  • TypeScript 97%
  • Dockerfile 3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-12-09 10:21:33 -07:00
config Add a simple permissions check 2019-10-22 15:48:01 -06:00
src only notify in business hours 2022-05-03 14:31:54 -06:00
.dockerignore Initial implementation 2019-10-22 15:11:56 -06:00
.gitignore Initial implementation 2019-10-22 15:11:56 -06:00
Dockerfile Fix things 2021-11-25 10:37:07 -07:00
LICENSE Initial commit 2019-10-22 13:33:12 -06:00
package.json Bump moment from 2.29.2 to 2.29.4 2022-12-09 17:13:43 +00:00
README.md Mute 2020-09-29 12:01:32 -06:00
tsconfig.json Initial implementation 2019-10-22 15:11:56 -06:00
tslint.json Initial implementation 2019-10-22 15:11:56 -06:00
yarn.lock Merge pull request #11 from vector-im/dependabot/npm_and_yarn/moment-2.29.4 2022-12-09 10:21:33 -07:00

element-feature-nag-bot

A Matrix bot that complains when element-web features take too long

Docker (preferred)

Build with docker build -t feature-nag-bot ..

git clone https://github.com/vector-im/element-feature-nag-bot.git
cd element-feature-nag-bot

# Build it
docker build -t feature-nag-bot .

# Copy and edit the config. It is not recommended to change the data path.
mkdir -p /etc/feature-nag-bot
cp config/default.yaml /etc/feature-nag-bot/production.yaml
nano /etc/feature-nag-bot/production.yaml

# Run it
docker run --rm -it -v /etc/feature-nag-bot:/data feature-nag-bot:latest

Build it

This bot requires yarn and Node 10.

git clone https://github.com/vector-im/element-feature-nag-bot.git
cd mjolnir

yarn install
yarn build

# Copy and edit the config. It *is* recommended to change the data path.
cp config/default.yaml config/development.yaml
nano config/development.yaml

node lib/index.js

Development

TODO. It's a TypeScript project with a linter.

User help

It'll mention which features need updates every so often. Ping the bot and say mute feature_state_counters 600 where 600 is the number of days.