Sign inSign up

asturbike/calibre2telegram

By asturbike

•Updated about 2 years ago

Image
1

201

asturbike/calibre2telegram repository overview

⁠Calibre2Telegram

Calibre2Telegram es un bot de Telegram diseñado para usuarios de la aplicación Calibre que tienen un directorio lleno de libros. Este bot permite a los usuarios buscar libros en su directorio y enviarlos directamente a su correo electrónico. Es especialmente útil para usuarios de Amazon Kindle, ya que pueden recibir los libros directamente en su dispositivo. Otros usuarios pueden enviar los libros a cualquier dirección de correo electrónico deseada.

⁠Características

  • Búsqueda de libros en el directorio especificado.
  • Envío de libros por correo electrónico.
  • Soporte para múltiples usuarios permitidos.

⁠Requisitos

  • Docker
  • Docker Compose
  • Cuenta de Telegram
  • Cuenta de correo SMTP

⁠Uso

⁠Paso 1: Crear el archivo .env

Basado en el archivo .env.template, crea un archivo .env y rellénalo con tu información específica.

cp .env.template .env
nano .env
⁠Contenido del archivo .env.template
TELEGRAM_BOT_TOKEN=tu_token_de_telegram
LIBRARY_PATH=/path/to/your/library
SMTP_SERVER=smtp.ejemplo.com
SMTP_PORT=587
SMTP_USER=tu_usuario_smtp
SMTP_PASSWORD=tu_contraseña_smtp
ALLOWED_CHAT_IDS=12345678,87654321

Docker:

docker run -d --name calibre2telegram --env-file .env -v /ruta/a/tu/biblioteca:/app/library asturbike/calibre2telegram:0.1

Docker Compose:

services:
  calibre2telegram:
    image: asturbike/calibre2telegram:0.1
    container_name: calibre2telegram
    init: true
    env_file:
      - .env
    volumes:
      - /ruta/a/tu/biblioteca:/app/library
    restart: unless-stopped

⁠Calibre2Telegram

Calibre2Telegram is a Telegram bot designed for users of the Calibre application who have a directory full of books. This bot allows users to search for books in their directory and send them directly to their email. It is especially useful for Amazon Kindle users as they can receive the books directly on their device. Other users can send the books to any desired email address.

⁠Features

  • Search for books in the specified directory.
  • Send books via email.
  • Support for multiple allowed users.

⁠Requirements

  • Docker
  • Docker Compose
  • Telegram account
  • SMTP email account

⁠Usage

⁠Step 1: Create the .env File

Based on the .env.template file, create a .env file and fill it with your specific information.

cp .env.template .env
nano .env
⁠.env.template File Contents
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
LIBRARY_PATH=/path/to/your/library
SMTP_SERVER=smtp.example.com
SMTP_PORT=587
SMTP_USER=your_smtp_user
SMTP_PASSWORD=your_smtp_password
ALLOWED_CHAT_IDS=12345678,87654321

Docker:

docker run -d --name calibre2telegram --env-file .env -v /your/libreary:/app/library asturbike/calibre2telegram:0.1

Docker Compose:

services:
  calibre2telegram:
    image: asturbike/calibre2telegram:0.1
    container_name: calibre2telegram
    init: true
    env_file:
      - .env
    volumes:
      - /your/library:/app/library
    restart: unless-stopped

Tag summary

Content type

Image

Digest

sha256:d11e88855…

Size

49.7 MB

Last updated

about 2 years ago

docker pull asturbike/calibre2telegram:0.1