All Projects → Barrnet → php_rss_telegram_bot

Barrnet / php_rss_telegram_bot

Licence: GPL-3.0 license
A simple "RSS to Telegram" bot written in PHP.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to php rss telegram bot

irc-rss-feed-bot
Dockerized IRC bot to post RSS/Atom and scraped HTML/JSON/CSV feeds to channels
Stars: ✭ 24 (+33.33%)
Mutual labels:  rss
stupid-rss-reader
⊕ PWA RSS client on Angular 11
Stars: ✭ 43 (+138.89%)
Mutual labels:  rss
serializer
A linearizing social tech news reader
Stars: ✭ 89 (+394.44%)
Mutual labels:  rss
podcast-feed-parser
A highly customizable package for fetching and parsing podcast feeds into simple and manageable JavaScript objects. For use with node or in the browser.
Stars: ✭ 39 (+116.67%)
Mutual labels:  rss
python-inoreader
Python wrapper of Inoreader API
Stars: ✭ 45 (+150%)
Mutual labels:  rss
macOSAppsOpenSource
No description or website provided.
Stars: ✭ 33 (+83.33%)
Mutual labels:  rss
this-american-life-archive
Unofficial RSS feed for the podcast "This American Life" with episodes 1 to current
Stars: ✭ 19 (+5.56%)
Mutual labels:  rss
jsitemapgenerator
Java sitemap generator. This library generates a web sitemap, can ping Google, generate RSS feed, robots.txt and more with friendly, easy to use Java 8 functional style of programming
Stars: ✭ 38 (+111.11%)
Mutual labels:  rss
feedspora
FeedSpora posts RSS/Atom feeds to your social network accounts.
Stars: ✭ 31 (+72.22%)
Mutual labels:  rss
tidyRSS
An R package for extracting 'tidy' data frames from RSS, Atom, JSON and geoRSS feeds
Stars: ✭ 62 (+244.44%)
Mutual labels:  rss
f43.me
A more readable & cleaner feed
Stars: ✭ 60 (+233.33%)
Mutual labels:  rss
RssReader
vue + go 的在线 rss 阅读器
Stars: ✭ 13 (-27.78%)
Mutual labels:  rss
vuepress-plugin-feed
RSS, Atom, and JSON feeds generator plugin for VuePress 1.x
Stars: ✭ 46 (+155.56%)
Mutual labels:  rss
laminas-feed
Consume and generate Atom and RSS feeds, and interact with Pubsubhubbub.
Stars: ✭ 97 (+438.89%)
Mutual labels:  rss
awesome-feeds
A curated list of tech, machine learning, biz and etc... feeds
Stars: ✭ 25 (+38.89%)
Mutual labels:  rss
ttrss ynh
Tiny Tiny RSS package for YunoHost
Stars: ✭ 17 (-5.56%)
Mutual labels:  rss
feed2email
RSS/Atom feed updates in your email
Stars: ✭ 37 (+105.56%)
Mutual labels:  rss
eventsourcing-go
Event Sourcing + CQRS using Golang Tutorial
Stars: ✭ 75 (+316.67%)
Mutual labels:  rss
feedpushr
A simple feed aggregator daemon with sugar on top.
Stars: ✭ 222 (+1133.33%)
Mutual labels:  rss
rss-chan
A telegram RSS feed reader bot, written using python and feedparser.
Stars: ✭ 70 (+288.89%)
Mutual labels:  rss

php_rss_telegram_bot

A simple RSS to Telegram Channel bot written in PHP.

Requirement

Tested with PHP5.6 and PHP7.1, require curl library. There's no requirement for the telegram API because it simply use a GET request via HTTP.

Configuration

Edit "bot_config.php" file with your favorite editor, this file contain all the variables used by the bot:

  • $token must contain the apikey of your bot, if you don't have one you can register your bot with @BotFather (https://telegram.me/BotFather), directly on Telegram.
  • $chat must contain the id of the channel, user chat or group who the bot should send messages. Bot must have write permission on that destination.
  • $rss must contain the URL of the Feed RSS, from that url all the new messages will be converted and then sent to the chat.
  • $log_file is the name of the log file
  • $pid_file is the file where the bot write the pid process, can be used for multiple purpose.
  • $attesa is the ammount of sleep time between requests

How to use

Start bot.php with "php bot.php" command from CLI. It should be launched with screen, nohup or simply by attaching an ending "&" after the command.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].