Saltar al contenido principal
50% de descuento todos los planes, tiempo limitado. Desde $2.48/mo
Audiobookshelf

Audiobookshelf

Audiobookshelf es un servidor multimedia auto-alojado de código abierto para tus audiolibros y podcasts. Transmite tu biblioteca a cualquier dispositivo, realiza un seguimiento del progreso de escucha entre sesiones y mantén tu colección privada.

En resumen

13.5k

Estrellas en GitHub

11

Vistas de página

Licencia GPL-3.0 Versión Latest OS Ubuntu Server 24.04 LTS Min RAM 1 GB IP IPV4

Acceso

  • Abrir URL: https://<SERVER_IP>
  • Acepta la advertencia de certificado del navegador (el certificado es autofirmado)
  • Sigue el asistente de configuración inicial para crear el usuario root

Archivos y directorios importantes

  • Config File: /etc/default/audiobookshelf
  • Service File: /lib/systemd/system/audiobookshelf.service
  • Configuración de Nginx: /etc/nginx/sites-available/audiobookshelf
  • Certificado SSL: /etc/nginx/ssl/fullchain.pem
  • Clave privada SSL: /etc/nginx/ssl/privkey.pem
  • Access Log: /var/log/nginx/audiobookshelf.access.log
  • Error Log: /var/log/nginx/audiobookshelf.error.log

Gestión de servicios

Comprobar el estado del servicio:

systemctl status audiobookshelf

Reiniciar servicio:

systemctl restart audiobookshelf

Detener el servicio:

systemctl stop audiobookshelf

Iniciar servicio:

systemctl start audiobookshelf

Ver registros:

journalctl -u audiobookshelf -f

Administración de Nginx

Configuración de la prueba:

nginx -t

Reiniciar Nginx:

systemctl restart nginx

Recarga Nginx:

systemctl reload nginx

Comprobar el estado de Nginx:

systemctl status nginx

Habilitar SSL con un dominio

1. Apunta tu dominio a la IP del servidor.

2. Install Certbot:

apt install -y certbot python3-certbot-nginx

3. Generate a Let's Encrypt certificate:

certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

4. Replace SSL paths in Nginx config:

vim /etc/nginx/sites-available/audiobookshelf
# Before:
    # ssl_certificate     /etc/nginx/ssl/fullchain.pem;
    # ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
    # ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
    # ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;

5. Replace server_name _; with your domain in both HTTP and HTTPS blocks:

vim /etc/nginx/sites-available/audiobookshelf
# Before:
    server_name: _;
# After:
    server_name: yourdomain.com;

6. Reload Nginx:

systemctl reload nginx

Notas

  • Audiobookshelf se ejecuta como un servicio systemd nativo
  • Nginx acts as a reverse proxy and TLS terminator
  • HTTPS está habilitado con un certificado autofirmado por defecto
  • Large uploads are supported (client_max_body_size 10240M)
  • Audiobookshelf listens on 127.0.0.1:13378 and is only accessible through Nginx

Más en Autoalojado

Apps relacionadas.

Deploy Audiobookshelf now. Desde $2,48/mes.