Skip to content

Ada - A telegram bot for AWS Cloud Community Telegram Group. Hosted on AWS EC2

License

Notifications You must be signed in to change notification settings

AWS-Cloud-Community-LPU/Ada_TelegramBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ada_TelegramBot

Ada - A telegram bot for AWS Cloud Community Telegram Group. Hosted on AWS EC2.

⚡ Installation

1. Clone this repo by running either of the below commands.

https : `git clone https://github.com/AWS-Cloud-Community-LPU/Ada_TelegramBot.git`

ssh : `[email protected]:AWS-Cloud-Community-LPU/Ada_TelegramBot.git`

2. Now, run the following commands:

cd Ada_TelegramBot
pip install -r requirements.txt

This will install all the project dependencies.

3. Configure Missing Files:

File: config.ini

echo "[KEYS]\nAPI_KEY = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11\nCALENDAR_ID = GOOGLE_CALENDER_ID_HERE\nCHANNEL_ID = TELEGRAM_CHANNEL_ID_HERE\n\n
[PROJECT]
TITLE_FILE = titles.txt
DEVELOPERS = USERNAME_OF_DEV(s)_COMMA_SEPERATED" > config.ini

A file config.ini is missing as it contains a token to access the HTTP API of Ada and other secrets of this project. The file is structured in this way:

[KEYS]
API_KEY = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
CALENDAR_ID = GOOGLE_CALENDER_ID_HERE
CHANNEL_ID = TELEGRAM_CHANNEL_ID_HERE

[PROJECT]
TITLE_FILE = titles.txt
DEVELOPERS = USERNAME_OF_DEV(s)_COMMA_SEPERATED

File: titles.txt

touch titles.txt

A file titles.txt contains all titles of brodcasted news so that duplicate news cannot be sended. You need to configure this on 'config.ini'.

4. 🎉 Run the bot:

python3 main.py

📄 License

MIT © AWS Cloud Community LPU

About

Ada - A telegram bot for AWS Cloud Community Telegram Group. Hosted on AWS EC2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages