Skip to content

planecore/NotifyBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1cf3b3e · Oct 22, 2020

History

6 Commits
Oct 20, 2020
Oct 20, 2020
Oct 20, 2020
Oct 19, 2020
Oct 20, 2020
Oct 19, 2020
Oct 19, 2020
Oct 22, 2020
Oct 20, 2020
Oct 20, 2020
Oct 19, 2020
Oct 19, 2020
Oct 19, 2020
Oct 20, 2020
Oct 19, 2020

Repository files navigation

NotifyBot

Send yourself push notifications with Telegram.

Usage

Use the website, the iOS Shortcut or the API:

POST /api/send

Parameters:

  • message: Text to send
  • apiKey: Create an API key to send messages
  • schedule (optional): Provide an ISO date string to send the message at

Installation

Docker Hub

Create a new Telegram Bot with @BotFather and create a token.

Fill the BOT_TOKEN, leave CHAT_ID empty and start the container.

version: "3"
services:
  notifybot:
      container_name: notifybot
      image: planecore/notifybot
      ports:
        - "3000:3000"
      environment:
        - BOT_TOKEN=
        - CHAT_ID=
      volumes: 
        - ./db:/usr/src/app/db
      restart: unless-stopped

After your container loaded, send this command to the bot: /get_chat_id

Copy the reply the bot sent and place it in CHAT_ID.

Restart the container and NotifyBot is ready to go!

Dependencies