mirror of
https://github.com/element-hq/element-feature-nag-bot.git
synced 2026-11-17 04:31:05 +00:00
A Matrix bot that complains when riot-web features take too long
- TypeScript 97%
- Dockerfile 3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| config | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tslint.json | ||
| yarn.lock | ||
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.