Simple reminder nodejs bot for telegram
Switch branches/tags
Nothing to show
Clone or download
Failed to load latest commit information.
src Update info Mar 29, 2017
.travis.yml add travis May 23, 2016
LICENSE Initial commit May 22, 2016 Update May 23, 2016
_config.yml Set theme jekyll-theme-hacker Mar 29, 2017
index.js added sources May 22, 2016
package.json 0.0.2 May 22, 2016

Simple reminder bot for Telegram

This is a simple reminder bot for Telegram written in JavaScript for Node.js. Just use /rem command:

  • /rem 1d, 2h 30m Set reminder in one day 2 hours and 30 minutes
  • /rem 1y ,3mo Set reminder in one year and 3 months
  • /rem 15s In feefteen seconds...

I have plans to add /list command to show all reminders, add ability to send reminder to specific @person, and set reminder by date.

Also can be useful to set reminders in groups: /rem@your_bot_name 15m We've done!


Node.js runtime


Run in arch linux shell

$ sudo pacman -S nodejs
$ npm install telegram-reminder-bot


Create js script

$ nano test.js

with the following content

var Bot = require('telegram-reminder-bot');

var token = '144..your_token_goes_here';
var IP = ''; // your real IP
var port = 8443; // HTTPS port
var key = __dirname + '/crt.key';  // self-signed certificate
var cert = __dirname + '/crt.pem';

var bot = new Bot(token, IP, port, key, cert);;

Generate self-signed certificate

$ openssl req -newkey rsa:2048 -sha256 -nodes -keyout crt.key -x509 -days 365 -out crt.pem -subj "/C=IT/ST=state/L=location/O=description/CN="

replace with your real IP

And run

$ node test.js

or with debug output

$ DEBUG=bot,reminder node test.js

Should see something like this

bot **** has been deployed +273ms

Contact me

You can find this bot working on

Feel free to contact me via Telegram


This is open-sourced software licensed under the MIT license.