Sign inSign up

qcgzxw/ebook-sender-bot

By qcgzxw

Updated over 3 years ago

Send E-Book to kindle with Telegram Bot.

Image
0

10K+

qcgzxw/ebook-sender-bot repository overview

ebook-sender-bot

Send E-Book to kindle with Telegram Bot.

Try it: https://t.me/e_book_send_bot

Github: https://github.com/qcgzxw/ebook-sender-bot

[recommended]docker-compose

version: '3'

services:
  ebook-sender-bot:
    image: qcgzxw/ebook-sender-bot:latest
    container_name: ebook-sender-bot
    restart: unless-stopped
    environment:
      - TZ=Asia/Shanghai
      - APP_MODE=prod
      - MAX_SEND_LIMIT=10
      - DB=sqlite
      - DB_NAME=ebook-sender-bot
      #- DB=mysql
      #- DB_NAME=tg_bot_kindle
      #- DB_HOST=192.168.1.1
      #- DB_PORT=3306
      #- DB_USER=root
      #- DB_PASSWORD=root
      - SMTP_HOST=
      - SMTP_PORT=
      - SMTP_USERNAME=
      - SMTP_PASSWORD=
      - BOT_TOKEN=
      - DEVELOPER_CHAT_ID=
    volumes:
      - ./ebooks/:/app/storage/
      - ./default.log:/app/default.log

docker run

docker run -d \
    --restart unless-stopped \
    --name ebook-sender-bot \
    -e APP_MODE=prod \
    -e MAX_SEND_LIMIT=10 \
    -e TZ=Asia/Shanghai \
    -e SMTP_HOST={YOUR_SMTP_HOST} \
    -e SMTP_PORT={YOUR_SMTP_PORT} \
    -e SMTP_USERNAME={YOUR_SMTP_USERNAME} \
    -e SMTP_PASSWORD={YOUR_SMTP_PASSWORD} \
    -e BOT_TOKEN={YOUR_BOT_TOKEN} \
    -e DEVELOPER_CHAT_ID={YOUR_TELEGRAM_CHAT_ID} \
    -v `./ebooks/`:`/app/storage/` \
    -v `./default.log`:`/app/default.log` \
    qcgzxw/ebook-sender-bot

Tag summary

Content type

Image

Digest

sha256:ee0d45672

Size

772.5 MB

Last updated

over 3 years ago

docker pull qcgzxw/ebook-sender-bot