fuergaosi233/gitbook2pdf
Grab the contents of the gitbook document and convert it to pdf observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2740
- days_rel: n/a
- days_push: 1488
- n_releases_24m: 0
Adoption not part of the score
1067 stars · 175 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python CLI tool that asynchronously crawls GitBook documentation sites and converts their contents into a single PDF. It preserves the original directory structure, hyperlinks, and copyable text using aiohttp for fetching and WeasyPrint for PDF generation.
Use cases
- convert a gitbook documentation site to a single pdf
- download an online gitbook for offline reading
- export gitbook docs as pdf with working hyperlinks
- archive gitbook pages preserving directory structure
- generate a compact pdf of hundreds of gitbook pages
- scrape gitbook content quickly with async requests
When to choose
- you need an offline PDF copy of a public GitBook site
- you want to preserve links, text selection, and chapter structure in the export
- you prefer a fast asynchronous scraper over browser-based rendering
When to avoid
- the GitBook relies on heavy JavaScript rendering that WeasyPrint cannot reproduce
- you cannot install WeasyPrint's system dependencies or lack memory for large PDF generation
- you need a maintained tool with active support or a license
Facets
cli-tool · maturity maintenance
web-scraping pdf cli pdf documentation developer-tools python cli cross-platform gitbook pdf-generation async-scraping weasyprint documentation-export command-line
1 source
- readme: https://github.com/fuergaosi233/gitbook2pdf · fetched 2026-08-28 · 71ecfbdc392e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| fuergaosi233/gitbook2pdf | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="fuergaosi233/gitbook2pdf")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem