Add 8-page documentation site with Material theme covering quickstart, configuration, secrets, path patterns, format strategies, CLI usage, and troubleshooting. All code snippets verified against implementation. Rewrite README with badges, features, quickstart, and format comparison. Build HTML to docs/html/ with flat URLs.
47 lines
1.7 KiB
Markdown
47 lines
1.7 KiB
Markdown
# librofm-downloader
|
|
|
|
[](https://www.python.org/downloads/)
|
|
[](https://github.com/AlexKucera/librofm-downloader/blob/main/LICENSE.md)
|
|
|
|
**Download owned audiobooks from your Libro.fm account** — a lightweight, dependency-minimal CLI tool written in Python.
|
|
|
|
No Docker. No JVM. Just `pip install` and go.
|
|
|
|
## Features
|
|
|
|
- **Full library sync** — fetches every audiobook in your Libro.fm account with automatic pagination
|
|
- **M4B + MP3 formats** — downloads M4B (single file) or MP3 (ZIP parts extracted) with automatic fallback
|
|
- **Resume support** — interrupted downloads pick up where they left off via `.partial` files
|
|
- **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
|
|
|
|
```bash
|
|
# 1. Install
|
|
pip install librofm-downloader
|
|
|
|
# 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](quickstart.md) for the full walkthrough, or jump to [Configuration Reference](configuration.md) for every option.
|