command
module
Version:
v1.2.0
Opens a new window with list of versions in this module.
Published: Jan 19, 2019
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Telegram bot, that adds received videos from YouTube into RSS feed.
Requirements:
Env vars
Var |
Default |
Required |
Usage |
TOKEN |
"" |
yes |
Telegram bot token |
HOST |
"" |
yes |
Host for creating links in RSS feed ($HOST/data/audio.mp3) |
TLS |
false |
no |
If it is true, server will use https |
Example of run script
-
Generate self-signed TLS certificate in ssl
folder:
openssl req -x509 -nodes -newkey rsa:2048 -sha256 -keyout key.key -out cert.cert
-
Run docker pull kirtis/tg-to-rss-bot:latest
-
Use next script:
docker run --rm --name=tg-to-rss-bot \
-p 80:80 \
-v ./data:/app/data \
-v ./rss:/app/rss \
-v ./ssl:/app/ssl \
-e TOKEN=TELEGRAM_BOT_TOKEN \
-e HOST=https://SomeHost.com \
-e TLS=true
kirtis/tg-to-rss-bot:latest
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
internal
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.