tgfeed

command
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: ISC Imports: 19 Imported by: 0

Documentation

Overview

tgfeed fetches RSS feeds and sends new articles via Telegram.

It reads a configuration file ("config.json") located in the user's configuration directory ($XDG_CONFIG_HOME on Linux, for example).

The configuration file ("config.json") should be populated with the desired feeds, Telegram Bot API token, and chat ID. Make sure to set the "token" field to your Telegram Bot API token and the "chat_id" field to the Telegram chat ID where updates should be sent:

{
  "feeds": [
    {"title": "Feed Title", "url": "https://example.com/feed.xml"},
    // Additional feeds...
  ],
  "token": "your_telegram_bot_token",
  "chat_id": "your_telegram_chat_id"
}

tgfeed tracks the last timestamp of updates to avoid duplicate notifications in a configuration file.

Jump to

Keyboard shortcuts

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