Some dumb thing I made
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
David Todd 9e9d7c75e4
Merge pull request #1 from alopexc0de/dependabot/pip/urllib3-1.24.2
3 years ago
.gitignore iniital commit 4 years ago
LICENSE Add LICENSE 4 years ago update README 4 years ago
example_msg iniital commit 4 years ago
index.php add push.js framework 4 years ago Add a way to kill the process 4 years ago Add a way to kill the process 4 years ago
requirements.txt Bump urllib3 from 1.22 to 1.24.2 3 years ago


This is some dumb thing that will take messages from telegram and relay through to a web application.

I've provided a simple PHP script that does a channel thing to show a "notification". On my Nexus 6P, if the phone is unlocked, and the page is still loaded while Chrome is in memory, the alert will bring the user to my notification page

Getting Started

  • Clone this repo and enter it
  • $ virtualenv venv
  • $ source venv/bin/activate
  • $ pip install -r requirements.txt
  • Register with the Telegram Botfather (
  • Register with Pusher (
  • create with the following environment variables and fill them with the corrosponding values
    • telegram_token
    • pusher_appid
    • pusher_key
    • pusher_secret
  • $ python
  • On your web server, place the index.php file and allow it to get arguments
  • edit the index.php to have your pusher appid
  • send your bot /start to see if it responds


IDK what will happen if you try to send a message to the bot without doing a /start first