{"id":13413850,"url":"https://github.com/johnfercher/maroto","last_synced_at":"2025-05-11T03:44:20.512Z","repository":{"id":35170946,"uuid":"187727138","full_name":"johnfercher/maroto","owner":"johnfercher","description":"A maroto way to create PDFs. Maroto is inspired in Bootstrap and uses gofpdf. Fast and simple.","archived":false,"fork":false,"pushed_at":"2025-03-21T14:20:13.000Z","size":52455,"stargazers_count":2400,"open_issues_count":51,"forks_count":232,"subscribers_count":27,"default_branch":"master","last_synced_at":"2025-05-11T03:43:55.772Z","etag":null,"topics":["bootstrap","fast","golang","grid","pdf","simple"],"latest_commit_sha":null,"homepage":"https://maroto.io","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnfercher.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"johnfercher"}},"created_at":"2019-05-20T23:27:47.000Z","updated_at":"2025-05-10T16:04:51.000Z","dependencies_parsed_at":"2023-10-24T17:34:48.432Z","dependency_job_id":"a3970d60-d4a4-4659-bcd0-932b71fb95b2","html_url":"https://github.com/johnfercher/maroto","commit_stats":{"total_commits":427,"total_committers":40,"mean_commits":10.675,"dds":0.5761124121779859,"last_synced_commit":"da3191be56e5823f99575f642b076c60927acb94"},"previous_names":[],"tags_count":154,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfercher%2Fmaroto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfercher%2Fmaroto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfercher%2Fmaroto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnfercher%2Fmaroto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnfercher","download_url":"https://codeload.github.com/johnfercher/maroto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253514553,"owners_count":21920334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","fast","golang","grid","pdf","simple"],"created_at":"2024-07-30T20:01:51.134Z","updated_at":"2025-05-11T03:44:20.488Z","avatar_url":"https://github.com/johnfercher.png","language":"Go","readme":"# Maroto V2\n\n[![GoDoc](https://godoc.org/github.com/johnfercher/maroto?status.svg)](https://pkg.go.dev/github.com/johnfercher/maroto/v2)\n[![Go Report Card](https://goreportcard.com/badge/github.com/johnfercher/maroto)](https://goreportcard.com/report/github.com/johnfercher/maroto)\n[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go#template-engines)  \n[![CI](https://github.com/johnfercher/maroto/actions/workflows/goci.yml/badge.svg)](https://github.com/johnfercher/maroto/actions/workflows/goci.yml)\n[![Lint](https://github.com/johnfercher/maroto/actions/workflows/golangci-lint.yml/badge.svg)](https://github.com/johnfercher/maroto/actions/workflows/golangci-lint.yml)\n[![Codecov](https://img.shields.io/codecov/c/github/johnfercher/maroto)](https://codecov.io/gh/johnfercher/maroto)\n[![Visits Badge](https://badges.pufler.dev/visits/johnfercher/maroto)](https://badges.pufler.dev)\n[![Stars Badge](https://img.shields.io/github/stars/johnfercher/maroto.svg?style=social\u0026label=Stars)](https://github.com/johnfercher/maroto/stargazers)\n\n\nA Maroto way to create PDFs. Maroto is inspired in Bootstrap and uses [Gofpdf](https://github.com/jung-kurt/gofpdf). Fast and simple.\n\n![sirmaroto](docs/assets/images/logosmall.png)\n\u003e Maroto definition: Brazilian expression, means an astute/clever/intelligent person. \n\u003e [Art by **@marinabankr**](https://www.instagram.com/marinabankr/)\n\nYou can write your PDFs like you are creating a site using Bootstrap. A Row may have many Cols, and a Col may have many components. \nBesides that, pages will be added when content may extrapolate the useful area. You can define a header which will be added\nalways when a new page appear, in this case, a header may have many rows, lines or tablelist. \n\n#### Maroto `v2.3.1` is here! Try out:\n\n* Installation with`go get`:\n\n```bash\ngo get github.com/johnfercher/maroto/v2@v2.3.1\n```\n\n* You can see the full `v2` documentation [here](https://maroto.io/).\n* The `v1` still exists in [this branch](https://github.com/johnfercher/maroto/tree/v1), and you can see the doc [here](https://maroto.io/#/v1/README?id=deprecated).\n\n![result](docs/assets/images/result.png)\n\n## Contributing\n\n| Command         | Description                                       | Dependencies                                                  |\n|-----------------|---------------------------------------------------|---------------------------------------------------------------|\n| `make build`    | Build project                                     | `go`                                                          |\n| `make test`     | Run unit tests                                    | `go`                                                          |\n| `make fmt`      | Format files                                      | `gofmt`, `gofumpt` and `goimports`                            |\n| `make lint`     | Check files                                       | `golangci-lint`                                               |\n| `make dod`      | (Definition of Done) Format files and check files | Same as `make build`, `make test`, `make fmt` and `make lint` | \n| `make install`  | Install all dependencies                          | `go`, `curl` and `git`                                        |\n| `make examples` | Run all examples                                  | `go`                                                          |\n| `make mocks`    | Generate mocks                                    | `go` and `mockery`                                            |\n| `make docs`     | Run docsify docs server local                     | `docsify`                                                     |\n| `make godoc`    | Run godoc server local                            | `godoc`                                                       |\n\n## Stargazers over time\n[![Stargazers over time](https://starchart.cc/johnfercher/maroto.svg?variant=adaptive)](https://starchart.cc/johnfercher/maroto)\n","funding_links":["https://github.com/sponsors/johnfercher"],"categories":["Template Engines","Go","模板引擎","模板引擎`模版渲染和模版生成处理库`","Relational Databases"],"sub_categories":["HTTP Clients","Other Software","HTTP客户端","查询语"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnfercher%2Fmaroto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnfercher%2Fmaroto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnfercher%2Fmaroto/lists"}