1
0
mirror of https://github.com/franjsco/NotificamBot synced 2025-06-06 00:29:15 +02:00
Francesco Esposito 475d37c262 Merge pull request #3 from franjsco/dependabot/npm_and_yarn/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2021-02-13 17:43:52 +01:00
2020-07-07 14:34:05 +02:00
2020-06-21 17:24:53 +02:00
2020-06-21 17:24:53 +02:00
2020-06-18 16:10:14 +02:00
2020-06-21 17:24:53 +02:00
2020-06-21 17:24:53 +02:00
2020-06-21 17:35:36 +02:00

NotificamBot

Telegram bot to reiceve notifications.

Notificambot reads notifications from a queue (pub/sub on redis).

Configuration

  1. Create telegram bot with @BotFather.
  2. Clone this repository.
  3. Start a redis instance on localhost.
  4. Install dependencies with npm install.
  5. Configure env file (and rename from env.sampe to .env).
  6. Launch with node src/server.js

You can configure templates into src/templates.js.

Test

You can perform a test with command: node pub-redis-example.js

Languages
JavaScript 92.2%
Dockerfile 7.8%