Telegram Bots

Telegram is a sweet instant messenger with various different security features. However, from a developer point of view the most interesting part is the easy development of custom Telegram Bots. Bot are really nice especially when it comes to developer information such as Github notifications.

Based on an existing Github Bot implementation I created my own version the Developer Webhook Bot. It is a stateless bot which acts as a webhook sink. Each message the bot receives via the webhook will be parsed and forwarded to the configured channel. So far Github, Bitbucket, and CircleCI are supported. The bot itself is implemented in a serverless manner, thus when the bot receives a messages from Telegram or an incoming webhook it will trigger a serverless function hosted on Netlify. The advantage of this approach is that it avoid binding resources that would be used for polling and checking for updates. Moreover, in this case the deployment is for free.

Based on this initial experience I created another Telegram bot for parsing and forwarding RSS messages. The Yet Another RSS Bot is an experiment for a stateless RSS Bot. Tho, RSS requires polling. I’m using the free Cron Job website to trigger my stateless function regularly. Moreover, to store the configuration I use MongoDB Atlas. The main application of this job is to give me updates on sites like heise.de.

Samuel Gratzl
Samuel Gratzl
Toolsmith for explorers of the information landscape on their treasure hunt for valuable insights

Research Software Engineer with a focus on interactive data exploration