{"id":22295690,"url":"https://github.com/xjodoin/htmlpdfconverter","last_synced_at":"2025-10-13T22:31:15.432Z","repository":{"id":137791875,"uuid":"331727676","full_name":"xjodoin/htmlpdfconverter","owner":"xjodoin","description":"HTML to PDF rendering microservice. Easy Kubernetes deploy to support beautiful pdf rendering or use it with the self-hosted UI version.","archived":false,"fork":false,"pushed_at":"2021-02-19T18:43:06.000Z","size":320,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T18:38:56.311Z","etag":null,"topics":["converter","html","pdf","rest-api"],"latest_commit_sha":null,"homepage":"https://htmlpdfconverter.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xjodoin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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}},"created_at":"2021-01-21T19:08:44.000Z","updated_at":"2024-01-16T20:48:19.000Z","dependencies_parsed_at":"2023-05-22T14:00:32.554Z","dependency_job_id":null,"html_url":"https://github.com/xjodoin/htmlpdfconverter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xjodoin/htmlpdfconverter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjodoin%2Fhtmlpdfconverter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjodoin%2Fhtmlpdfconverter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjodoin%2Fhtmlpdfconverter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjodoin%2Fhtmlpdfconverter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xjodoin","download_url":"https://codeload.github.com/xjodoin/htmlpdfconverter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xjodoin%2Fhtmlpdfconverter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017161,"owners_count":26085983,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["converter","html","pdf","rest-api"],"created_at":"2024-12-03T17:42:50.411Z","updated_at":"2025-10-13T22:31:15.069Z","avatar_url":"https://github.com/xjodoin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# HTML to PDF Microservice\n\n\u003e Web page PDF rendering done right. Microservice for rendering receipts, invoices, or any content.\n\n**Features:**\n\n* Web interface to generate PDF render\n* Converts any URL or HTML content to a PDF file\n* Rendered with Headless Chrome, using [Puppeteer](https://github.com/GoogleChrome/puppeteer). The PDFs should match to the ones generated with a desktop Chrome.\n* Single-page app (SPA) support. Waits until all network requests are finished before rendering.\n* Easy deployment to Kubernetes or any docker runtime.\n\nUsage is as simple as [https://htlmpdfconverter.com?url=https://google.com](https://htlmpdfconverter.com?url=https://google.com). There's also a `POST /api/render` if you prefer to send options in the body.\n\n**Why?**\n\nThis microservice is useful when you need to automatically produce PDF files\nfor whatever reason. The files could be receipts, weekly reports, invoices,\nor any content.\n\nPDFs can be generated in many ways, but one of them is to convert HTML+CSS\ncontent to a PDF. This API does just that.\n\n### Good to know\n\n* **By default, page's `@media print` CSS rules are ignored**. We set Chrome to emulate `@media screen` to make the default PDFs look more like actual sites.\n\n* Chrome is launched with `--no-sandbox --disable-setuid-sandbox` flags to fix usage in Heroku. See [this issue](https://github.com/GoogleChrome/puppeteer/issues/290).\n\n* Heavy pages may cause Chrome to crash if the server doesn't have enough RAM.\n\n* Docker image for this can be found here: https://hub.docker.com/repository/docker/xjodoin/htmlpdfconverter\n\n\n## Examples\n\nTry it [online](https://htmlpdfconverter.com)\n\nLicensing\n=========\nhtmlpdfconverter is licensed under the Apache License, Version 2.0. See\n[LICENSE](https://github.com/xjodoin/htmlpdfconverter/blob/master/LICENSE) for the full\nlicense text.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjodoin%2Fhtmlpdfconverter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxjodoin%2Fhtmlpdfconverter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxjodoin%2Fhtmlpdfconverter/lists"}