Files
librofm-downloader/docs/mkdocs/index.md
T
AlexKucera 507fbc3204 docs: add 1.1-1.4 features to MkDocs and README
Cover parallel downloads, interactive selection (--select),
chapter renaming (--rename-chapters), XDG config paths,
Ctrl+C handling, and thread-safe history across all docs:
index, quickstart, configuration, cli-usage, format-strategies,
troubleshooting, and README.
2026-06-06 18:27:23 +02:00

2.1 KiB

librofm-downloader

Python 3.11+ License: GPL-3.0

Download owned audiobooks from your Libro.fm account — a lightweight, dependency-minimal CLI tool written in Python.

No Docker. No JVM. Just Python and go.

Features

  • Full library sync — fetches every audiobook in your Libro.fm account with automatic pagination
  • Interactive book selection — pick which books to download with --select (checkbox prompt)
  • M4B + MP3 formats — downloads M4B (single file) or MP3 (ZIP parts extracted) with automatic fallback
  • Chapter renaming — MP3 files renamed with chapter titles from the manifest (configurable)
  • Resume support — interrupted downloads pick up where they left off via .partial files
  • Parallel downloads — configurable worker count (--workers N, default 3) with graceful Ctrl+C drain
  • Cover art & PDF extras — optional download of cover images and accompanying PDFs
  • Customizable output paths — token-based patterns for organizing your library on disk
  • TTY-aware progress — rich progress bars in your terminal, clean log lines in cron jobs
  • Download history — tracks what's been downloaded so re-runs only fetch new books
  • Graceful failure isolation — one failed book doesn't stop the rest

Quick Start

# 1. Install from source
git clone https://github.com/AlexKucera/librofm-downloader.git
cd librofm-downloader
python -m venv .venv
source .venv/bin/activate  # or .venv\Scripts\activate on Windows
pip install -e .

# 2. Configure
cat > config.yaml << 'EOF'
librofm:
  format: m4b_mp3_fallback
  output_dir: ./audiobooks
  download_extras: true
  download_covers: true
EOF

cat > secrets.yaml << 'EOF'
librofm:
  username: your-email@example.com
  password: your-password
EOF

# 3. Run
librofm-downloader

See Quickstart for the full walkthrough, or jump to Configuration Reference for every option.