๐ง Audiobookshelf
![]()
Audiobookshelf is a self-hosted audiobook and podcast server with an elegant web player and mobile apps. It features multi-user support, progress syncing across devices, offline listening, and automatic metadata fetching from multiple sources.
Perfect for managing your audiobook collection and podcast subscriptions in one place, with full control over your data.
๐ท๏ธ Category: Media
๐ณ Image: ghcr.io/advplyr/audiobookshelf:latest
๐ Links
| ย | ย |
|---|---|
| ๐ฆ Project | github.com/advplyr/audiobookshelf |
| ๐ Support | GitHub Issues |
| ๐ Docs | www.audiobookshelf.org/docs |
| ๐ฑ Mobile Apps | App Store / Play Store |
| ๐ Sponsor | GitHub Sponsors |
๐ Ports
| Port | Protocol | Description |
|---|---|---|
13378 | TCP | Audiobookshelf Web Interface |
๐พ Volumes
| Host Path | Container Path | Mode | Description |
|---|---|---|---|
/mnt/cache/media/audiobooks | /audiobooks | RO | Your audiobook library folder |
/mnt/cache/media/podcasts | /podcasts | RO | Your podcast library folder |
/mnt/cache/appdata/audiobookshelf/config | /config | RW | Configuration and database |
/mnt/cache/appdata/audiobookshelf/metadata | /metadata | RW | Cached metadata and cover images |
โ๏ธ Environment Variables
| Variable | Default | Masked | Description |
|---|---|---|---|
PUID | 500 | โ | User ID for file permissions |
PGID | 500 | โ | Group ID for file permissions |
TZ | Europe/Vienna | โ | Timezone for the container |
DEBUG | false | โ | Enable debug logging |
๐ Quick Start
- Open the MOS Hub and search for Audiobookshelf
- Create your library folders if they donโt exist:
mkdir -p /mnt/cache/media/audiobooks mkdir -p /mnt/cache/media/podcasts - Ensure
PUID/PGIDcan read your media files - Click Install
- Access Audiobookshelf at
http://YOUR_SERVER_IP:13378 - Create your root user account
- Add your libraries (Audiobooks and/or Podcasts)
๐ Library Setup
Audiobook Library
- Click Create Library
- Select Audiobooks
- Set folder path to
/audiobooks - Configure metadata providers (optional)
- Start library scan
Podcast Library
- Click Create Library
- Select Podcasts
- Set folder path to
/podcasts - Subscribe to podcasts via URL or search
๐ฑ Mobile Apps
Audiobookshelf has official mobile apps for seamless listening:
| Platform | Download | Features |
|---|---|---|
| iOS | App Store | Download for offline, CarPlay, sleep timer |
| Android | Play Store | Download for offline, Android Auto, sleep timer |
Mobile App Setup:
- Open the app
- Tap Add Server
- Enter your server URL:
http://YOUR_SERVER_IP:13378 - Login with your credentials
- Start listening!
๐ Key Features
Audio Playback
- Progress Syncing - Seamless across all devices
- Offline Mode - Download books/podcasts for offline listening
- Sleep Timer - Automatically stop playback
- Chapter Support - Jump between chapters easily
- Playback Speed - Adjust from 0.5x to 3x
- AirPlay & Chromecast - Stream to your devices
Library Management
- Automatic Metadata - Fetches from Audible, Google, iTunes, OpenLibrary
- Cover Art - Auto-downloads cover images
- Multiple Libraries - Separate audiobooks and podcasts
- Collections & Playlists - Organize your content
- Search & Filter - Find content quickly
Multi-User
- User Accounts - Individual libraries and progress
- Permissions - Control access per library
- Listening Stats - Track time and books per user
Podcasts
- RSS Subscriptions - Subscribe to any podcast feed
- Auto-Download - Fetch new episodes automatically
- Episode Management - Archive listened episodes
๐ File Organization
Audiobookshelf supports various folder structures:
Recommended Structure:
/audiobooks/
โโโ Author Name/
โ โโโ Book Title/
โ โ โโโ Book Title.mp3 (or m4b, flac, etc.)
โ โ โโโ cover.jpg (optional)
โ โโโ Another Book/
โโโ Another Author/
Supported Formats:
- Audio: MP3, M4A, M4B, FLAC, OPUS, OGG, WAV
- Containers: Single files or folder-based audiobooks
๐ Metadata Providers
Audiobookshelf can fetch metadata from:
| Provider | Type |
|---|---|
| Audible | Audiobooks (primary source) |
| Google Books | Books |
| iTunes | Audiobooks |
| OpenLibrary | Books |
| LibraryThing | Books |
๐ Security & Best Practices
- Use HTTPS - Enable SSL via reverse proxy for production
- Strong Root Password - Set on first setup
- User Permissions - Create separate accounts for family members
- Backup Config - Regular backups of
/mnt/cache/appdata/audiobookshelf/config - Metadata Caching - Metadata folder grows with library size
๐ ๏ธ Advanced Configuration
Reverse Proxy Setup
For HTTPS access, use Nginx Proxy Manager or Traefik:
location / {
proxy_pass http://audiobookshelf:80;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
Backup Your Library
# Backup config and database
tar -czf audiobookshelf-backup.tar.gz /mnt/cache/appdata/audiobookshelf/
# Backup is separate (your actual audio files)
rsync -av /mnt/cache/media/audiobooks/ /backup/audiobooks/
โ ๏ธ Note: Audiobookshelf container runs as non-root internally. Ensure your media files are readable by PUID/PGID 500.
๐ก Tip: Use M4B format for audiobooks - itโs a single file with embedded chapters and metadata, perfect for seamless listening.
๐ก Tip: Enable Auto-Scan in library settings to automatically detect new books added to your folders.
๐ก Tip: The mobile app supports Android Auto and CarPlay - perfect for listening during your commute!
๐ For more information: Visit the Audiobookshelf Documentation for advanced configuration, API usage, and troubleshooting.