# magicbookproject/magicbook

The magic book project returns!

Repository: https://github.com/magicbookproject/magicbook
Canonical: https://ross.abutalabs.com/products/magicbook
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-02-26T17:20:24+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3831, "days_push": 919, "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 1186, forks 65 (observed 2026-08-28T04:03:55.048568+00:00)

## What it is
Magic Book is an open-source Node.js command-line framework for authoring books in Markdown or HTML and building them into static websites and print-ready PDFs from a single source. It uses HTMLBook conventions and CSS for styling, with much functionality provided through a plugin system.

## Use cases
- write a book in markdown and export to pdf
- generate a static website from book chapters
- create print-ready pdf from single source
- self-publish a book with css styling
- convert markdown book to html site
- build digital and print editions from one source

## When to choose
- you want to author in plain markdown or html
- you need both a website and printable pdf from one source
- you want to style your book with css
- you prefer a node-based tool without xslt

## When to avoid
- you need epub or mobi export, which is not yet supported
- you need a stable 1.0 api, since the api is still in active development
- you need a gui-based writing tool

## Facets
- artifact type: cli-tool
- maturity: active
- function: static-site-generator, pdf, templating, cli, build-tool
- domain: documentation, web-development, files
- platform: cli, cross-platform
- tags: book-publishing, markdown-to-pdf, htmlbook, self-publishing, print-ready-pdf, npm-package, nodejs

## Member repositories
- magicbookproject/magicbook (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:55.048568+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-30T06:23:55.636414+00:00, confidence not recorded.
  - readme: https://github.com/magicbookproject/magicbook (fetched 2026-08-28T04:03:55.048568+00:00, sha ac9dbe70effc)
  - registry_npm: https://registry.npmjs.org/magicbook (fetched 2026-08-29T12:31:01.891749+00:00, sha 2d6e94748118)
- Data as of 2026-08-30T08:39:29.467469+00:00.
