awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
BafS avatar

BafS/Gutenberg

0
View on GitHub↗
4,912 stars·143 forks·SCSS·MIT·28 viewsbafs.github.io/Gutenberg↗

Gutenberg

Gutenberg is a CSS print formatting framework and web-to-PDF layout engine. It provides a system for managing stylesheets, element visibility, and structural layout rules to ensure web content maintains a consistent visual structure when converted to physical documents or PDF files.

The project manages print-specific rendering through a stylesheet manager that filters out non-essential interface elements and prevents the automatic expansion of URLs. It includes utilities to enforce the rendering of background colors and images, which browsers typically strip during the printing process.

The framework covers layout optimization through page-break property mapping and the application of formatting constraints aligned with standard physical page dimensions. These capabilities allow for the control of forced page breaks and the prevention of content splitting across printed sheets.

Features

  • PDF Document Generation - Provides a layout engine for generating professional PDF documents from web content.
  • HTML to PDF Converters - Implements an engine that transforms HTML and CSS layouts into structured portable document format files.
  • Page Break Management - Implements controls that prevent logical content groups from splitting awkwardly across multiple printed pages.
  • Page Break Insertions - Forces content to start on new pages and prevents splitting across physical sheets via CSS rules.
  • Print Layouts - Applies layout rules to ensure web content renders correctly when converted to physical pages or PDFs.
  • Physical Page Constraint Rules - Applies formatting constraints to align web content with standard physical page dimensions for PDF output.
  • Print-Optimized Layouts - Generates HTML views specifically styled for physical printing to optimize page breaks and layout.
  • Print-Specific Stylings - Manages print-specific stylesheets to hide non-essential interface elements and clean the output.
  • Print Stylesheets - Provides dedicated CSS configurations and media queries to optimize web page layouts for physical paper output.
  • CSS Print Formatting Frameworks - Provides a complete framework for managing page breaks, backgrounds, and element visibility for print and PDF rendering.
  • Background Graphics Enforcement - Forces the inclusion of background colors and images in the printed output to bypass browser stripping.
  • Web Page to PDF Converters - Converts web content into PDF files while maintaining visual consistency and professional layout.
  • DOM Content Filters - Includes utilities to hide or remove specific DOM elements to clean up the interface before printing.
  • Background Rendering Enforcement - Overrides default browser behaviors to ensure background colors and graphical elements are included in the print.
  • Print Content Groupings - Hides non-essential interface elements from print output to focus on core content.
  • CSS Frameworks - Framework for printing web content correctly.
  • Specialized Frameworks - Framework for printing web content correctly.

Star history

Star history chart for bafs/gutenbergStar history chart for bafs/gutenberg

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Gutenberg

These projects share indexed features with Gutenberg. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • mpdf/mpdfmpdf avatar

    mpdf/mpdf

    4,693View on GitHub↗

    mPDF is a PHP library that transforms UTF-8 encoded HTML and CSS into formatted PDF documents. It serves as a PDF generation engine and document architect capable of converting web pages and HTML forms into professional files. The project is distinguished by its multilingual rendering capabilities, providing comprehensive support for bidirectional text, right-to-left scripts, and CJK languages using Unicode font embedding and OpenType layout processing. It further enables professional print-ready design through advanced color modeling in CMYK, precise page dimensioning, and compliance with PD

    PHPcjkcsshtml
    View on GitHub↗4,693
  • questpdf/questpdfQuestPDF avatar

    QuestPDF/QuestPDF

    14,088View on GitHub↗

    QuestPDF is a C# PDF generation library and layout engine used to create structured documents, reports, and invoices. It utilizes a fluent API and a component-based layout approach to convert code into high-fidelity PDF and XPS files. The library distinguishes itself with a dedicated layout debugger that provides real-time previews, hot-reload capabilities, and visual boundary tools to map rendered elements back to source code. It also functions as an accessibility tool, providing semantic tagging and navigational aids to ensure documents comply with international accessibility and archival s

    C#c-sharpdotnet-coreexport
    View on GitHub↗14,088
  • crabbly/print.jscrabbly avatar

    crabbly/Print.js

    4,548View on GitHub↗

    Print.js is a JavaScript print library that provides a client-side interface for triggering system print dialogs and formatting HTML content for physical paper output from a web browser. It functions as a browser print controller that manages the lifecycle of temporary print documents to ensure consistent rendering. The library utilizes a DOM-to-frame printing utility that clones specific HTML elements into hidden iframes. This process isolates printable content from the main page layout, allowing the system to render a clean document without triggering a full page reload. The tool covers br

    JavaScript
    View on GitHub↗4,548
  • knplabs/snappyKnpLabs avatar

    KnpLabs/snappy

    4,473View on GitHub↗

    Snappy is a PHP library that acts as a wrapper for the wkhtmltopdf and wkhtmltoimage binaries. It provides a utility suite for transforming HTML strings and remote URLs into PDF documents and image snapshots. The project enables the generation of downloadable or streamable PDFs and the creation of web page thumbnails. It supports the aggregation of multiple separate URLs into a single unified PDF document. Users can adjust document output through configuration settings for JavaScript execution, cookie handling, background removal, and custom stylesheet application.

    PHP
    View on GitHub↗4,473
Compare all 30 related projects→

Frequently asked questions

What does bafs/gutenberg do?

Gutenberg is a CSS print formatting framework and web-to-PDF layout engine. It provides a system for managing stylesheets, element visibility, and structural layout rules to ensure web content maintains a consistent visual structure when converted to physical documents or PDF files.

What are the main features of bafs/gutenberg?

The main features of bafs/gutenberg are: PDF Document Generation, HTML to PDF Converters, Page Break Management, Page Break Insertions, Print Layouts, Physical Page Constraint Rules, Print-Optimized Layouts, Print-Specific Stylings.

Which projects share features with bafs/gutenberg?

Projects with overlapping indexed features include: mpdf/mpdf — mPDF is a PHP library that transforms UTF-8 encoded HTML and CSS into formatted PDF documents. It serves as a PDF… questpdf/questpdf — QuestPDF is a C# PDF generation library and layout engine used to create structured documents, reports, and invoices.… crabbly/print.js — Print.js is a JavaScript print library that provides a client-side interface for triggering system print dialogs and… knplabs/snappy — Snappy is a PHP library that acts as a wrapper for the wkhtmltopdf and wkhtmltoimage binaries. It provides a utility… librepdf/openpdf — OpenPDF is a Java library and document processor used for creating, editing, rendering, and encrypting PDF documents.… noraj/oscp-exam-report-template-markdown — This project provides a markdown penetration testing report template and a set of utilities for converting security…