Home

Awesome

Robbie

Say hi to Robbie! I'm a small Telegram bot written entirely in Python, based off two awesome modules: pyTelegramBotAPI and PyGithub.

I'm not very smart, but go ahead, ask me anything, I'll do my best! :)

Usage

The usage is pretty simple: feed me up with a bunch of content off the if-else statements. Then, fire up the main.py file, located at the root of this project.

Oh, by the way, don't forget to define your Telegram API key! On whatever system you're in, define a shell/environment variable called API_KEY and put in there your key.

Features

Modules

Some of the features of Robbie depend on the availability of several values, objects and external content providers (and receivers). Any module requiring a special treatment will be specified below, alongside the proper instructions to follow in order to get them working.

TODO

Licensing

Robbie (with exception of its dependencies) is licensed under the GNU Affero General Public License v3.0.

Dependencies

This bot depends of several APIs, libraries and modules, their licensing may vary. The list provided below, specifies each direct dependency. Please note that some other dependencies might be involved of which their licensing may be different too.

This API provides the core functionality.

This API provides support for SQL queries to a MySQL/MariaDB, it's required to read/write the list of messages (to allow purging) and to save the user's personal access tokens to log into the GitHub API.

This API provides support for GitHub searches and other general purpose interaction with their API.

This API provides support for DuckDuckGo searches. Please note that this is just a fork and quick port over the original version, just to make it compatible with Python 3.x.