{"id":34667740,"url":"https://github.com/rossjcooper/node-pdf","last_synced_at":"2026-04-22T15:38:04.738Z","repository":{"id":40705081,"uuid":"201884647","full_name":"rossjcooper/node-pdf","owner":"rossjcooper","description":"Creates a Node server that can export webpages to PDF using a URL or raw HTML passed to it","archived":false,"fork":false,"pushed_at":"2022-12-11T01:39:20.000Z","size":120,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-06-04T10:25:13.900Z","etag":null,"topics":["export-webpages","hacktoberfest","node","node-pdf","pdf"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rossjcooper.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}},"created_at":"2019-08-12T07:59:41.000Z","updated_at":"2023-01-30T20:18:29.000Z","dependencies_parsed_at":"2023-01-26T13:46:14.133Z","dependency_job_id":null,"html_url":"https://github.com/rossjcooper/node-pdf","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/rossjcooper/node-pdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossjcooper%2Fnode-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossjcooper%2Fnode-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossjcooper%2Fnode-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossjcooper%2Fnode-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rossjcooper","download_url":"https://codeload.github.com/rossjcooper/node-pdf/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rossjcooper%2Fnode-pdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32143664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-22T15:33:03.595Z","status":"ssl_error","status_checked_at":"2026-04-22T15:30:42.712Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["export-webpages","hacktoberfest","node","node-pdf","pdf"],"created_at":"2025-12-24T19:24:19.988Z","updated_at":"2026-04-22T15:38:04.733Z","avatar_url":"https://github.com/rossjcooper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node PDF Export Server\n\nThis project creates a Node server that can export webpages to PDF using a URL or raw HTML passed to it.\n\n## Quick Start Docker\n\n```\n$ docker pull rossjcooper/node-pdf\n$ docker run -p 3000:3000 -it --rm rossjcooper/node-pdf\n```\n\nhttps://hub.docker.com/r/rossjcooper/node-pdf\n\n## Quick Start Node\n\n```\n$ npm install\n$ npm run start\n```\n\n## PDF from URL\n\nMake a request to `http://localhost:3000/export/pdf?url=#urlHere#`\n\n## PDF from HTML\n\nMake a POST request to `http://localhost:3000/export/pdf` with JSON body:\n```json\n{\n\t\"html\": \"\u003ch1\u003eTest\u003c/h1\u003e\"\n}\n```\n\n## PDF Page Options\n\n\n### Page Footer\n\nYou can set the footer HTML by passing it through the URL query parameter `?footer_html=Example Footer`\n\n### Page Numbers\nYou can show page numbers using the following URL query parameter `?show_page_numbers=true`.\n\n_Note: setting the `footer_html` option will override the page numbers._\n\n## Docker Build\n\n### Build docker image locally from source\n\n```\ndocker build -t node-pdf .\n```\n\n### Running local docker image\n\n```\ndocker run --name node-pdf -p 3000:3000 -it --rm node-pdf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossjcooper%2Fnode-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frossjcooper%2Fnode-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frossjcooper%2Fnode-pdf/lists"}