From 364b8084e83f9bd3f6fc38c3e78e51062170df28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E1=93=B0=E1=95=B5=E1=95=B5=E1=93=8D?=
<52239579+ippocratis@users.noreply.github.com>
Date: Sun, 22 Jan 2023 22:24:38 +0200
Subject: [PATCH] added RSS to telegram bot to rss (#14)
* Create rrstt.md
RSS telegram bot
* Update README.md
Added rsstt to rss
* Update README.md
* Update README.md
rsstt misstyoed as rrstt, fixed link
* renamed to rsstt.MD and updated
Cleaned up comments and optional env var's
* Rename rrstt.md to rsstt.md
* Create rsshub.md
* Update README.md
Add rsshub to rss tools
* Update README.md
Renamed /apps/rss/rsstt.md link (finally)
* Create rssbridge.md
* Update README.md
rssbridge url
---
README.md | 4 +++-
apps/rss/rssbridge.md | 29 ++++++++++++++++++++++++++++
apps/rss/rsshub.md | 45 +++++++++++++++++++++++++++++++++++++++++++
apps/rss/rsstt.md | 34 ++++++++++++++++++++++++++++++++
4 files changed, 111 insertions(+), 1 deletion(-)
create mode 100644 apps/rss/rssbridge.md
create mode 100644 apps/rss/rsshub.md
create mode 100644 apps/rss/rsstt.md
diff --git a/README.md b/README.md
index 6ec7118..fbdd855 100644
--- a/README.md
+++ b/README.md
@@ -361,12 +361,14 @@ The aims is to provide a ready-to-run recipes that you can just copy, paste and
- [Miniflux](rss/../apps/rss/miniflux.md)
- [Miniflux-filter](rss/../apps/rss/miniflux-filter.md)
- [FreshRSS](https://www.freshrss.org/) 🔗 - second best :-)
+ - [RSS to telegram bot](apps/rss/rsstt.md)
### RSS Tools
- [PolitePol](https://github.com/taroved/pol) 🔗 - Create RSS where there was none
- [FetchRSS](https://fetchrss.com/) 🔗 - Create RSS for FB, Twitter, YT, and websites
-- [rss-bridge](https://github.com/RSS-Bridge/rss-bridge) 🔗 - The RSS feed for websites missing it
+- [rss-bridge](apps/rss/rssbridge.md)- The RSS feed for websites missing it
- [rss2full](https://github.com/feedocean/rss2full) 🔗 - Transform summary feeds into full-text
+- [rsshub](apps/rss/rsshub.md) - Create RSS feeds from almost everything
diff --git a/apps/rss/rssbridge.md b/apps/rss/rssbridge.md
new file mode 100644
index 0000000..bec0d44
--- /dev/null
+++ b/apps/rss/rssbridge.md
@@ -0,0 +1,29 @@
+# RSS-Bridge
+
+RSS-Bridge is a PHP project capable of generating RSS and Atom feeds for websites that don't have one.
+
+
+
+- [GitHub repo](https://github.com/RSS-Bridge/rss-bridge)
+
+# docker-compose.yml
+
+```yml
+---
+version: '2'
+services:
+ rss-bridge:
+ image: rssbridge/rss-bridge:latest
+ volumes:
+ - ./config:/config
+ ports:
+ - 3000:80
+ restart: unless-stopped
+```
+
+# Tips & Tricks
+
+:/config is mounted as config in the virent path.
+Enable all bridges by default by creating a file named whitelist.txt in it and write an asterisk:
+
+`echo '*' > whitelist.txt`
diff --git a/apps/rss/rsshub.md b/apps/rss/rsshub.md
new file mode 100644
index 0000000..338d79e
--- /dev/null
+++ b/apps/rss/rsshub.md
@@ -0,0 +1,45 @@
+# RSShub
+
+RSSHub is an open source, easy to use, and extensible RSS feed generator. It's capable of generating RSS feeds from pretty much everything.
+
+
+
+- [parameters](https://docs.rsshub.app/en/social-media.html)
+- [GitHub repo](https://github.com/DIYgod/RSSHub)
+
+# docker-compose.yml
+
+```yml
+---
+services:
+ rsshub:
+ image: diygod/rsshub
+ restart: always
+ ports:
+ - '1200:1200'
+ environment:
+ NODE_ENV: production
+ CACHE_TYPE: redis
+ REDIS_URL: 'redis://redis:6379/'
+ PUPPETEER_WS_ENDPOINT: 'ws://browserless:3000'
+ depends_on:
+ - redis
+ - browserless
+
+ browserless:
+ image: browserless/chrome
+ restart: always
+ ulimits:
+ core:
+ hard: 0
+ soft: 0
+
+ redis:
+ image: redis:alpine
+ restart: always
+ volumes:
+ - redis-data:/data
+
+volumes:
+ redis-data:
+```
diff --git a/apps/rss/rsstt.md b/apps/rss/rsstt.md
new file mode 100644
index 0000000..ab9e22a
--- /dev/null
+++ b/apps/rss/rsstt.md
@@ -0,0 +1,34 @@
+# RSS to telegram bot
+
+A Telegram RSS bot that cares about your reading experience
+
+- [GitHub repo](https://github.com/Rongronggg9/RSS-to-Telegram-Bot)
+- [Docs](https://github.com/Rongronggg9/RSS-to-Telegram-Bot/tree/dev/docs)
+- [env vars description](https://github.com/Rongronggg9/RSS-to-Telegram-Bot/blob/dev/docs/advanced-settings.md)
+
+
+
+# docker-compose.yml
+
+```yml
+---
+version: '3.6'
+
+services:
+ main:
+ image: rongronggg9/rss-to-telegram:dev # stable image: rongronggg9/rss-to-telegram
+ container_name: rsstt # need to be unique
+ restart: unless-stopped
+ volumes:
+ - ./config:/app/config
+ environment:
+ - TOKEN=1234567890:A1BCd2EF3gH45IJK6lMN7oPqr8ST9UvWX0Yz0 # get it from @BotFather
+ - MANAGER=1234567890 # get it from @userinfobot
+ - TELEGRAPH_TOKEN=1a23b456c78de90f1a23b456c78de90f1a23b456c78de90f1a23b456c78 #replace it with your tokens
+ - MULTIUSER=0 # default: 1
+ - API_HASH=452b0359b988148995f22ff0f4229750 # get it from https://core.telegram.org/api/obtaining_api_id
+```
+# Tips & Tricks
+
+- first follow [deployment guide](https://github.com/Rongronggg9/RSS-to-Telegram-Bot/blob/dev/docs/deployment-guide.md) to create a new bot, get it's bot token, bot ID, telegraph api ID and telegraph api hash
+- Uncomment MULTIUSER=0, if you want to be the only user that can interact with the bot and API_ID and API_HASH if you don't want to use the sample APIs. API_ID_PUBLISHED_FLOOD_ERROR may occur with sample telegraph api's