This is the code for a telegram bot. The idea is to play with different algorithms to encrypt messages. It is related to CryptoEX and CryptoIM projects.
CryptoEX Bot is currently deployed in a virtual machine from Oracle Cloud Infrastructure. It will be online most of the time, when I am not working in it.
Note that you will need a config.json file on root which includes the bot's token to run this software. I suggest the following fields. Currently only token (provided by @BotFather and logging (info, debugging or persistent) are always mandatory:
{
"bot_name": "CryptoEX Bot",
"date": "2023-05-10",
"username": "cryptoexperiments_bot",
"admin_id": "A mistery",
"link": "https://t.me/cryptoexperiments_bot",
"token": "I won't tell you my token",
"password": "I won't tell you my password either",
"public_ip": "129.151.114.88",
"webhook": false,
"webhook_path": "a_webhook_url_path",
"webhook_port": 8443,
"logging": "info"
}
This little project is possible thanks to a lot of work done by others in the open-source community. Particularly in this case I need to mention:
- Python: the programming language I used.
- python-telegram-bot: the library I used to contact the Telegram API.
Reach cryptoex bot here. Feel free to contact me by mail or reach me in telegram or mastodon.