Skip to content

An absolutely simple Telegram bot written in Ruby for #1 news website in Belarus

License

Notifications You must be signed in to change notification settings

datarockets/TUTBYBot

Repository files navigation

TUT.BY Telegram Bot

alt text

An absolutely simple bot for Telegram Messenger written in one night in Ruby for #1 news website in Belarus

Yes, it's always accessible by @tutbybot nickname.

What can you do now?

  • Read the latest news from variety of categories like politics, economics and etc.
  • Get the currencies (USD, EUR and BYR)
  • Searching for news

What are the next steps?

  • Subscriptions to the certain category of news
  • Ability to send your news to the editorial office

Usage for learning

  1. Fork it
  2. Obtain your Bot Token and Botan Token, copy secrets.rb to config folder and put your tokens like in example.
  3. Install necessary gems and run it as a background job.
$ bundle install
$ ruby app.rb start
  1. If you want to stop using it, just type:
$ ruby app.rb stop

Pay attention!

The API methods were obtained through decompiling the official TUT.BY Android application.

You have to configure your own secrets.rb in config folder.

Credits

  1. Dzmitry Chyrta
  2. Aleks Senkov

About

An absolutely simple Telegram bot written in Ruby for #1 news website in Belarus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages