A CLI that crawls a site and turns every page into a PDF
AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.
Why it matters
Developers who need offline archives of documentation sites can now generate formatted, navigable PDFs with a single command instead of printing pages one by one.
Web2pdf is a free command-line tool that turns an entire website into a set of PDFs. You give it one web address, and it automatically follows links on that same site, up to a depth you choose, converting each page into a properly formatted document. Unlike a browser's 'print to PDF', it can add page numbers, a table of contents, and your own custom styling. It suits developers, writers, and anyone who wants to keep tutorials or documentation readable offline.
Web2pdf is a free open-source utility for archiving websites as formatted PDFs, useful for offline documentation and internal reference material. It costs nothing but requires installing system libraries such as Cairo and Pango, which the author flags as the main friction point, with conda recommended for setup. A paid companion service called DocuQueue is suggested for production-scale needs. No competitors' pricing or adoption figures are given.
Web2pdf (github.com/dvcoolarun/web2pdf) is a Python CLI that uses WeasyPrint for PDF rendering, requiring Cairo, Pango, gdk-pixbuf, libffi and pkg-config installed beforehand, ideally via conda. It recursively crawls same-domain links at a configurable depth, with link filtering to block external sites. Output supports custom CSS injection, multi-column layouts, auto page numbers, heading-based table of contents, and explicit page breaks. macOS users may need DYLD_LIBRARY_PATH and PKG_CONFIG_PATH set to /opt/homebrew/lib to fix a libgobject load error.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.