rss-telegram-notifier

command module
v1.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 18 Imported by: 0

README

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.

Add RSS feed

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))" 
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL