# johnfercher/maroto

A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.

Repository: https://github.com/johnfercher/maroto
Canonical: https://ross.abutalabs.com/products/maroto
Homepage: https://maroto.tech
Language: Go
License: MIT
License Family: permissive
Topics: pdf, bootstrap, golang, fast, simple, grid
Last push: 2026-08-18T19:01:22+00:00

## Health v2 (maintenance only)
Score: 98/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 98, longevity 100
- inputs: {"age_days": 2662, "days_push": 15, "days_rel": 15, "gap_med": 11, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2748, forks 256 (observed 2026-08-28T04:07:17.820938+00:00)

## What it is
Maroto is a Go library for generating PDFs using a Bootstrap-inspired grid system of rows, columns, and components, built on top of gofpdf. It handles automatic pagination and repeating headers, making it fast and simple to lay out documents programmatically.

## Use cases
- generate pdf invoices in go
- create pdf reports with tables
- build pdf documents with grid layout
- generate printable pdfs programmatically
- create pdfs with repeating headers across pages
- generate pdf receipts from go code

## When to choose
- you need programmatic PDF generation in Go with a simple grid layout
- you want Bootstrap-like row/column composition for PDFs
- you need automatic page breaks and repeating headers

## When to avoid
- you need HTML/CSS-to-PDF rendering
- you need complex typographic or vector graphics features beyond gofpdf
- your project is not in Go

## Facets
- artifact type: library
- maturity: active
- function: pdf, templating
- domain: pdf, web-development, developer-tools
- platform: go, cross-platform
- tags: pdf-generation, grid-layout, bootstrap-inspired, gofpdf, report-generation

## Member repositories
- johnfercher/maroto (main) score 98

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:17.820938+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-30T08:19:00.059817+00:00, confidence not recorded.
  - readme: https://github.com/johnfercher/maroto (fetched 2026-08-28T04:07:17.820938+00:00, sha 0a1a88c6abc3)
  - homepage: https://maroto.tech (fetched 2026-08-29T09:56:57.212160+00:00, sha db165ad6a431)
- Data as of 2026-08-30T08:39:29.467469+00:00.
