https://github.com/gtrias/amqp-notifier
Listen to amqp events and redirect messages to instant messaging system
https://github.com/gtrias/amqp-notifier
amqp-notifier nodejs rabbitmq telegram telegram-bot
Last synced: 3 months ago
JSON representation
Listen to amqp events and redirect messages to instant messaging system
- Host: GitHub
- URL: https://github.com/gtrias/amqp-notifier
- Owner: gtrias
- Created: 2016-12-15T10:55:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-10-09T15:50:20.000Z (over 8 years ago)
- Last Synced: 2025-01-26T07:26:05.864Z (over 1 year ago)
- Topics: amqp-notifier, nodejs, rabbitmq, telegram, telegram-bot
- Language: JavaScript
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# amqp-notifier
This bot will send messages to Telegram and Slack when a rabbitmq event is triggered, it uses
nunjucks template defined in exchange configuration to show a comprehensive message to the receiver.
## Running
### Using docker
```bash
docker run -e NODE_CONFIG='{}' -ti gtrias/amqp-notifier
```
### Using native nodejs
(Edit your `config/default.json`)
```bash
npm install
npm start
```
## Configuration
Check out `config/default.json` file to see all configurable fields
Exchanges configuration example:
```javascript
"exchanges": [
{
"name": "whatever.created",
"template": "your exchange nunjucks template {{ some.amqp.msg.field }}"
}
]
```