tg-to-rss-bot

command module
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2019 License: MIT Imports: 8 Imported by: 0

README

tg-to-rss-bot

Telegram bot, that adds received videos from YouTube into RSS feed.

Requirements:

  • Docker

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

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
bot

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL