mirror of
https://github.com/tborychowski/self-hosted-cookbook.git
synced 2025-01-22 19:38:30 +00:00
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
This commit is contained in:
parent
6d7503d55d
commit
364b8084e8
@ -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
|
||||
|
||||
|
||||
|
||||
|
29
apps/rss/rssbridge.md
Normal file
29
apps/rss/rssbridge.md
Normal file
@ -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.
|
||||
|
||||
<br>
|
||||
|
||||
- [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`
|
45
apps/rss/rsshub.md
Normal file
45
apps/rss/rsshub.md
Normal file
@ -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.
|
||||
|
||||
<br>
|
||||
|
||||
- [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:
|
||||
```
|
34
apps/rss/rsstt.md
Normal file
34
apps/rss/rsstt.md
Normal file
@ -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)
|
||||
|
||||
<br>
|
||||
|
||||
# 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
|
Loading…
Reference in New Issue
Block a user