Go to file
Francesco Esposito 85c48f1fb5
Merge pull request #4 from franjsco/dependabot/npm_and_yarn/redis-3.1.1
Bump redis from 3.0.2 to 3.1.1
2021-05-08 12:18:52 +02:00
src change export functions 2020-07-07 14:34:05 +02:00
.env.sample Initial version 2020-06-21 17:24:53 +02:00
.gitignore Initial version 2020-06-21 17:24:53 +02:00
LICENSE Initial commit 2020-06-18 16:10:14 +02:00
README.md edit readme 2020-06-21 17:35:36 +02:00
package-lock.json Bump redis from 3.0.2 to 3.1.1 2021-04-27 18:18:30 +00:00
package.json Bump redis from 3.0.2 to 3.1.1 2021-04-27 18:18:30 +00:00
pub-redis-example.js Initial version 2020-06-21 17:24:53 +02:00

README.md

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