My personal telegram bot
Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dao Initial version ready Nov 5, 2016
tasks Updated path to telegram-bot Nov 5, 2016
utils WIP Nov 5, 2016
.gitignore Updated path to telegram-bot Nov 5, 2016
README.md Updated path to telegram-bot Nov 5, 2016
configure.sh.sample Initial version ready Nov 5, 2016
glide.lock WIP Nov 5, 2016
glide.yaml WIP Nov 5, 2016
main.go Updated path to telegram-bot Nov 5, 2016

README.md

Telegram Bot

My personal Telegram bot

Goal

The key objective is to create some sort of automated notification system to stay up to date with various information sources (reddit, hacker news, rss feeds, tweets etc.) from one place.

The bot will gather stuff from various sources and push them to me on Telegram. All sorts of contents mashed up in one place.

Setup

The different credentials and configuration values would be stored as environment variables. I have a configure.sh file which exports the variables. The project includes a configure.sh.sample which you can use as a template. I am using Glide to manage the project dependencies. I recommend you use it too. You can install it from here: https://glide.sh/

The following steps should set the project up -

  • mv configure.sh.sample configure.sh
  • Edit configure.sh to update your credentials / details
  • . ./configure.sh
  • glide install
  • go build -o bot
  • ./bot