# lorenzodifuccia/safaribooks

Download and generate EPUB of your favorite books from O'Reilly Learning (aka Safari Books Online) library.

Repository: https://github.com/lorenzodifuccia/safaribooks
Canonical: https://ross.abutalabs.com/products/safaribooks
Language: Python
License: WTFPL
License Family: permissive
Topics: python, epub, calibre, safaribooksonline, safaribooks, safari, safari-books-online, oreilly
Last push: 2025-09-12T21:39:04+00:00

## Health v2 (maintenance only)
Score: 51/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 41, release rhythm 35, longevity 100
- inputs: {"age_days": 3187, "days_push": 355, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5100, forks 758 (observed 2026-08-28T04:09:09.753822+00:00)

## What it is
A Python CLI tool that downloads books from O'Reilly Learning (Safari Books Online) and generates EPUB files from them. It requires a valid account login (or SSO cookies) and supports optional Kindle-friendly output.

## Use cases
- download oreilly books as epub
- convert safari books online library to epub
- save oreilly learning book for offline reading
- export safari books to calibre
- download book with kindle option
- backup my oreilly library

## When to choose
- you have an O'Reilly/Safari Books subscription and want offline EPUB copies of books you can access
- you want a lightweight Python script with minimal dependencies
- you want to import O'Reilly books into Calibre or a Kindle

## When to avoid
- you need direct login support - the O'Reilly API changes broke credential login, so you must copy browser cookies manually
- you want an actively maintained tool - the project is no longer actively maintained
- you need a legal or ToS-compliant bulk downloading solution

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: web-scraping, cli, pdf
- domain: developer-tools, files, education
- platform: python, cli, cross-platform
- tags: epub, oreilly, safari-books-online, calibre, book-downloader, kindle

## Member repositories
- lorenzodifuccia/safaribooks (main) score 51

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:09.753822+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:02:12.988040+00:00, confidence not recorded.
  - readme: https://github.com/lorenzodifuccia/safaribooks (fetched 2026-08-28T04:09:09.753822+00:00, sha 5f62523b066c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
