Errol delivers your notifications wherever you want them. It's a Node.js project that integrates with your favorite services, like Slack, Telegram, and, email.
Status | |
---|---|
Build | |
Health | |
PRs |
To send a notification to all services:
import { Errol, ErrolService } from "errol"; // TypeScript/ESM
// const { Errol, ErrolService } = require("errol");
const notifications = new Errol([
{
service: ErrolService.SLACK,
token: "your-slack-token",
channelId: "your-slack-channel",
},
{
service: ErrolService.TELEGRAM,
accessToken: "your-telegram-token",
chatId: "your-telegram-chat",
},
{
service: ErrolService.EMAIL,
from: "[email protected]",
to: "[email protected]",
host: "example.com",
auth: {
user: "[email protected]",
pass: "your-password",
},
},
]);
// Send a notification
notifications.send("This is my notification!");
Currently supported services:
- Slack
- Telegram
- Webhook
- IFTTT
- Twilio SMS
- Twitter DM/tweet
An open source project by Koj.
Furnish your home in style, for as low as CHF175/month →