{"id":39467331,"url":"https://github.com/3mdeb/chrome-headless-pdf-maker","last_synced_at":"2026-01-18T04:51:19.026Z","repository":{"id":52283575,"uuid":"520838330","full_name":"3mdeb/chrome-headless-pdf-maker","owner":"3mdeb","description":null,"archived":false,"fork":false,"pushed_at":"2022-08-03T11:05:47.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2023-09-21T15:12:38.392Z","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/3mdeb.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":"2022-08-03T10:38:16.000Z","updated_at":"2022-12-20T13:32:23.000Z","dependencies_parsed_at":"2022-09-12T12:23:33.905Z","dependency_job_id":null,"html_url":"https://github.com/3mdeb/chrome-headless-pdf-maker","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/3mdeb/chrome-headless-pdf-maker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fchrome-headless-pdf-maker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fchrome-headless-pdf-maker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fchrome-headless-pdf-maker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fchrome-headless-pdf-maker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/3mdeb","download_url":"https://codeload.github.com/3mdeb/chrome-headless-pdf-maker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/3mdeb%2Fchrome-headless-pdf-maker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28530347,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"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":[],"created_at":"2026-01-18T04:51:18.949Z","updated_at":"2026-01-18T04:51:19.016Z","avatar_url":"https://github.com/3mdeb.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Headless Chrome PDF Maker\n\n## Usage:\n\n\u003e Note: this server requires the HTML to be provided by a server, it doesn't \nwork on bare .html files. The easiest way to do that is to host a local server \nby running `python3 -m http.server 8000`.\n\n\u003e Then, provide the script with a URL to the file, e.g. `http://127.0.0.1:8000/my-file.html`.\n\n```\nnode chrome-headless-pdf-maker --url url/to/html --pdf path/for/output/pdf\nOptions:\n  -u, --url      URL to html file                            [string] [required]\n  -p, --pdf      path to output pdf                          [string] [required]\n  -f, --format   All the valid paper format types when printing a PDF, a full\n                 list of them at\n                 https://pptr.dev/api/puppeteer.lowercasepaperformat/\n                                                        [string] [default: \"a4\"]\n      --version  Show version number                                   [boolean]\n      --help     Show help                                             [boolean]\n\nFlags:\n(Can also be executed with --no-[flag] prefix to set the flag to false)\n\n      --display-header-footer  Whether to show the header and footer\n                                                      [boolean] [default: false]\n      --omit-background        Hides default white background and allows\n                               generating pdfs with transparency\n                                                      [boolean] [default: false]\n      --landscape              Whether to print in landscape orientation\n                                                      [boolean] [default: false]\n      --prefer-css-page-size   Give any CSS @page size declared in the page\n                               priority over what is declared in the width or\n                               height or format option [boolean] [default: true]\n      --print-background       Set to true to print background graphics\n                                                       [boolean] [default: true]\n\n```\n\n## Requirements\n\n- Node.js \u003e= 14.10","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3mdeb%2Fchrome-headless-pdf-maker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F3mdeb%2Fchrome-headless-pdf-maker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F3mdeb%2Fchrome-headless-pdf-maker/lists"}