rss-telegram-notifier

command module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 16, 2021 License: MIT Imports: 16 Imported by: 0

README

RSS Server and Telegram notifier

Receive RSS feed elements directly in a telegram chat!

Configuration

Var Description
RSS_SERVER_BIND_ADDRESS The bind address in the form address:port (optional, default is localhost:26009)
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

Setup

Build

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

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