{"id":15102647,"url":"https://github.com/markruler/htmltopdf","last_synced_at":"2026-01-19T04:32:22.114Z","repository":{"id":254064150,"uuid":"845377580","full_name":"markruler/htmltopdf","owner":"markruler","description":"API server to generate PDF from HTML","archived":false,"fork":false,"pushed_at":"2025-01-08T03:59:15.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T14:36:19.511Z","etag":null,"topics":["html-to-pdf","pdf","playwright"],"latest_commit_sha":null,"homepage":"https://markruler.github.io/posts/pdf/html-to-pdf/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markruler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-21T06:12:38.000Z","updated_at":"2025-01-08T04:00:46.000Z","dependencies_parsed_at":"2024-10-31T03:35:13.762Z","dependency_job_id":null,"html_url":"https://github.com/markruler/htmltopdf","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"fb57e4fc719d378db0d581deb4c4eec25404204b"},"previous_names":["markruler/htmltopdf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markruler/htmltopdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fhtmltopdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fhtmltopdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fhtmltopdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fhtmltopdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markruler","download_url":"https://codeload.github.com/markruler/htmltopdf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markruler%2Fhtmltopdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28561841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T03:31:16.861Z","status":"ssl_error","status_checked_at":"2026-01-19T03:31:15.069Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["html-to-pdf","pdf","playwright"],"created_at":"2024-09-25T19:03:54.755Z","updated_at":"2026-01-19T04:32:22.091Z","avatar_url":"https://github.com/markruler.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HTML to PDF\n\nAPI server to generate PDF from HTML.\n\n## Prerequisites\n\n- Python 3.9+\n\n## Usage\n\n### Running with Docker\n\n```shell\nmake docker-build\n```\n\n```shell\nmake docker-run\n```\n\n### Running locally\n\n```shell\npython -m venv .venv\nsource .venv/bin/activate\npip install --no-cache-dir --upgrade -r requirements.txt\nplaywright install --with-deps # chromium, firefox, webkit, etc.\n```\n\n```shell\nmake run\n```\n\nRunning as a background process:\n\n```shell\nnohup .venv/bin/uvicorn htmltopdf:app --host=0.0.0.0 --port=38000 \u003e /dev/null 2\u003e\u00261 \u0026\n```\n\n## References\n\n- To avoid zombie processes\n  - [Suggested configuration](https://playwright.dev/docs/ci#docker) - Playwright\n  - [Docker](https://playwright.dev/docs/docker) - Playwright\n- [Playwright를 사용해서 HTML 페이지를 PDF로 만들기](https://markruler.github.io/posts/pdf/html-to-pdf/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkruler%2Fhtmltopdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkruler%2Fhtmltopdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkruler%2Fhtmltopdf/lists"}