Receive RSS feed elements directly in a telegram chat!
You can run the bot using the provided docker-compose.yml
file, change environment variables inside of it following the above table.
Var | Description |
---|---|
TELEGRAM_TOKEN |
This is your telegram token, grab it one from @botfather |
TELEGRAM_CHAT |
This is the telegram chat_id where the posts will be sent |
AUTHORIZATION_TOKEN |
Authorization token for all the http calls |
Clone the repo, move into the folder and type
go build
Execute the binary
./rss-server-notifier
Set the Authorization
header with the previous set token.
Adding a feed it's pretty easy, just call the /add
endpoint with a JSON struct like that:
{
"URL":"https://feed_url",
"Filter": "([0-9].*|(regex))"
}