Skip to content

justrals/asdw-rss-feed-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASDW RSS Feed Parser

What's that?

It's a script for parsing alerts from the Anglophone School West District RSS feed and sending them in a formatted form via the Telegram Bot API.

Regular installation

You should have Python 3.7 or higher installed before proceeding.

1. Clone the repository

git clone https://github.com/justrals/asdw-rss-feed-parser.git
cd asdw-rss-feed-parser

2. Install dependencies

pip install -r requirements.txt

3. Create .env file with the following content

TELEGRAM_TOKEN=your API token from @BotFather
CHANNEL_ID=your channel ID, e.g. -1001234567890

4. Run the script

python main.py

Docker

1. Clone the repository

git clone https://github.com/justrals/asdw-rss-feed-parser.git
cd asdw-rss-feed-parser

2. Build and run the container

Docker compose

docker compose up -d

OR

Docker CLI

docker build -t asdw-rss-feed-parser . && docker run -d \
  --name asdw-rss-feed-parser \
  -e TELEGRAM_TOKEN=your API token from @BotFather \
  -e CHANNEL_ID=your channel ID, e.g. -1001234567890 \
  -v "$(pwd)":/app \
  --restart unless-stopped \
  asdw-rss-feed-parser

About

Anglophone School West District RSS feed parser.

Resources

License

Stars

Watchers

Forks

Contributors