RSS Server and Telegram notifier
Receive RSS feed elements directly in a telegram chat!
Installation
Docker
You can run the bot using the provided docker-compose.yml
file, change environment variables inside of it following the above table.
Configuration
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 |
Build it by yourself
Clone the repo, move into the folder and type
go build
Run it
Execute the binary
./rss-server-notifier
How to use it
Authorization
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))"
}