{"id":18812573,"url":"https://github.com/jsreport/jsreport-weasyprint-pdf","last_synced_at":"2025-04-13T21:24:53.875Z","repository":{"id":57286302,"uuid":"100196566","full_name":"jsreport/jsreport-weasyprint-pdf","owner":"jsreport","description":"jsreport recipe using weasyprint based html to pdf conversion","archived":false,"fork":false,"pushed_at":"2021-08-20T16:52:38.000Z","size":73,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-05T11:47:29.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jsreport.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}},"created_at":"2017-08-13T18:28:56.000Z","updated_at":"2021-08-20T16:52:41.000Z","dependencies_parsed_at":"2022-09-10T01:02:01.257Z","dependency_job_id":null,"html_url":"https://github.com/jsreport/jsreport-weasyprint-pdf","commit_stats":null,"previous_names":["jsreport/jsreport-weasyprint"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-weasyprint-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-weasyprint-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-weasyprint-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsreport%2Fjsreport-weasyprint-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsreport","download_url":"https://codeload.github.com/jsreport/jsreport-weasyprint-pdf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223606565,"owners_count":17172693,"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":[],"created_at":"2024-11-07T23:34:10.796Z","updated_at":"2024-11-07T23:34:11.356Z","avatar_url":"https://github.com/jsreport.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"⚠️ This extension is deprecated and is compatible only with the jsreport v2\n--\n\n# jsreport-weasyprint-pdf\n\njsreport recipe using [WeasyPrint](http://weasyprint.org/) utility to convert html to pdf. This recipe solves the same task as [phantom-pdf](https://jsreport.net/learn/phantom-pdf), [wkhtmltopdf](https://jsreport.net/learn/wkhtmltopdf) or [electron-pdf](https://github.com/bjrmatos/jsreport-electron-pdf). However it has the best support for defining printing layout using [css @page rule](https://developer.mozilla.org/en/docs/Web/CSS/@page).\n\n![weasyprint](https://jsreport.net/screenshots/weasyprint.png)\n \n## Installation\n\nYou can run the whole jsreport with already installed recipe using single command:\n\n```sh\ndocker run -p 5488:5488 jsreport/jsreport-weasyprint-pdf\n```\n\nOr you can follow these steps to install [WeasyPrint](http://weasyprint.org/) recipe\n\n1. jsreport application folder\n2. `npm install jsreport-weasyprint-pdf`\n3. install [WeasyPrint](http://weasyprint.org/)\n\n## Development\n\n```\ngit clone https://github.com/jsreport/jsreport-weasyprint-pdf.git\ncd jsreport-weasyprint-pdf\nnpm install\nnpm run docker\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-weasyprint-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsreport%2Fjsreport-weasyprint-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsreport%2Fjsreport-weasyprint-pdf/lists"}