The Wayback Machine - https://web.archive.org/web/20200520113906/https://github.com/ayrat555/el_monitorro
Skip to content
el_monitorro is RSS and Atom feed reader as a Telegram bot
Rust PLpgSQL TSQL
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
migrations change primary key of feed items May 16, 2020
src change primary key of feed items May 16, 2020
tests/support add atom feeds reader May 16, 2020
.gitignore initial commit Jan 4, 2020
Cargo.lock use isahc as http client instead of reqwest May 16, 2020
Cargo.toml use isahc as http client instead of reqwest May 16, 2020
LICENSE Create LICENSE May 11, 2020
README.md Update README.md May 16, 2020
diesel.toml start wokring on db level Feb 22, 2020
el_monitorro_logo.png add WIP README Mar 21, 2020

README.md

el_monitorro

el_monitorro

el_monitorro is RSS and Atom feed reader as a Telegram bot.

It's available at @el_monitorro_bot.

Usage

Commands

/subscribe rss_url - subscribe to rss feed
/unsubscribe rss_url - unsubscribe from rss feed
/list_subscriptions - list your subscriptions
/help - show available commands

Common info

  • RSS Feeds updates check interval is 1 minute.
  • Unread items delivery interval is 1 minute.
  • The number of subscriptions is limited to 20.

Setup

You can deploy your instance of el_monitorro by:

  1. Set postgres db url (DATABASE_URL) and telegram bot token (TELEGRAM_BOT_TOKEN) to .env file in the root directory. For example:
DATABASE_URL=postgres://admin:pass@localhost/el_monitorro
TELEGRAM_BOT_TOKEN=MYTOKEN
  1. Setup database by running:
diesel database setup

You'll need diesel-cli for this

  1. Start a bot
  • Start the command bot
RUST_LOG=info RUST_BACKTRACE=1 cargo run --bin el_monitorro
  • Start the sync binary
RUST_LOG=info RUST_BACKTRACE=1 cargo run --bin sync
  • Start the delivery binary
RUST_LOG=info RUST_BACKTRACE=1 cargo run --bin deliver
You can’t perform that action at this time.