Giter Club home page Giter Club logo

rssmirrorfeeder's Introduction

RSSMirrorFeeder Telegram Bot

A bot to post messages to Telegram Groups or Channels from rss feed.

  • This bot can also send /qbmirror commands to your mirror bot bcoz bot can't read another bot's mag. So this bot will use your TG account to interact with mirror bot. Fill MIRROR_CHAT_ID var to enable it.

Configuration

  • Edit the rss.py as your needs.
  • Edit values in config.env or set it in Environment Variables. There is an template for config.env already exists just edit it and rename the file.

Configuration Values

  • APP_ID - Get it from my.telegram.org
  • API_HASH - Get it from my.telegram.org
  • BOT_TOKEN - Get it by creating a Telegram bot on BotFather
  • FEED_URLS - List of URLs of RSS Feed, sperated by | vertical bar.
  • LOG_CHAT - ID of the Telegram Chat where messages are to be posted.
  • DATABASE_URL - Here is a full guide. For Heroku, just add the Heroku Postgres add-on.
  • INTERVAL - Checking Interval in seconds. (optional)
  • MAX_INSTANCES - Max instances to be used while checking rss feed. (optional)

Working as a userbot on your behalf to interact with mirror bot.

These variabls are required only if you want to use your tg account to send /mirror cmd to any mirror bot.

  • MIRROR_CHAT_ID - Group/chat_id of mirror chat or mirror bot to send mirror cmd.
  • MIRROR_CMD - if you have changed default cmd of mirror bot, replace this.

Deployment

Deploying on Heroku

Deploy

VPS or any other server/pc

pip3 install -r requirements.txt
  • Deploy
python3 rss.py

How to Setup Auto RSS Mirror Group

  1. Create Channel (Add your bot to your channel, automatically as admin )
  2. in Channel > Manage Channel > then Linked your group
  3. Add Bot to your group (as admin)
  4. in config.env MIRROR_CHAT_ID fill with channel ID (not group ID)

Use this along with RSSMirrorBot to use RSS Auto Mirror

Credits: Miss Emily

rssmirrorfeeder's People

Contributors

deepsourcebot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.