{"id":31626416,"url":"https://github.com/r0mb0/htmls_to_pdfs","last_synced_at":"2025-10-06T19:51:59.826Z","repository":{"id":308379104,"uuid":"1032619938","full_name":"R0mb0/HTMLs_to_PDFs","owner":"R0mb0","description":"Batch convert HTML files to PDF using PowerShell and wkhtmltopdf. Automatically processes all HTML files in a folder and saves the PDFs in an output directory.","archived":false,"fork":false,"pushed_at":"2025-09-17T08:47:39.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-01T23:57:21.977Z","etag":null,"topics":["convert-html-2-pdf","convert-html-pdf","convert-html-to-pdf","html","italian-developers","pdf","powershell","powershell-script","r0mb0"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/R0mb0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":"PayPal.Me/R0mb0"}},"created_at":"2025-08-05T15:11:21.000Z","updated_at":"2025-09-17T08:47:43.000Z","dependencies_parsed_at":"2025-08-05T17:33:52.888Z","dependency_job_id":null,"html_url":"https://github.com/R0mb0/HTMLs_to_PDFs","commit_stats":null,"previous_names":["r0mb0/htmls_to_pdfs"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/R0mb0/HTMLs_to_PDFs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R0mb0%2FHTMLs_to_PDFs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R0mb0%2FHTMLs_to_PDFs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R0mb0%2FHTMLs_to_PDFs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R0mb0%2FHTMLs_to_PDFs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/R0mb0","download_url":"https://codeload.github.com/R0mb0/HTMLs_to_PDFs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R0mb0%2FHTMLs_to_PDFs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278671749,"owners_count":26025743,"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-06T02:00:05.630Z","response_time":65,"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":["convert-html-2-pdf","convert-html-pdf","convert-html-to-pdf","html","italian-developers","pdf","powershell","powershell-script","r0mb0"],"created_at":"2025-10-06T19:51:57.950Z","updated_at":"2025-10-06T19:51:59.820Z","avatar_url":"https://github.com/R0mb0.png","language":"PowerShell","funding_links":["PayPal.Me/R0mb0","http://paypal.me/R0mb0"],"categories":[],"sub_categories":[],"readme":"# HTMLs to PDFs\n\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/e416771e31c246bc97ab4fd0d1cc2e2b)](https://app.codacy.com/gh/R0mb0/HTMLs_to_PDFs/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade)\n\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/R0mb0/HTMLs_to_PDFs)\n[![Open Source Love svg3](https://badges.frapsoft.com/os/v3/open-source.svg?v=103)](https://github.com/R0mb0/HTMLs_to_PDFs)\n[![MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/license/mit)\n\n[![Donate](https://img.shields.io/badge/PayPal-Donate%20to%20Author-blue.svg)](http://paypal.me/R0mb0)\n\nBatch convert HTML files to PDF using PowerShell and wkhtmltopdf.  \nThis script automatically processes all HTML files in its folder and saves the converted PDFs in an `output` directory.\n\n## Features\n\n- Converts all `.html` files in the script’s directory to PDF\n- Uses [wkhtmltopdf](https://wkhtmltopdf.org/) for high-quality PDF generation\n- Output PDFs are stored in an organized `output` folder\n- Optimized conversion settings: A4, landscape, no smart shrinking\n\n## Prerequisites\n\n- [wkhtmltopdf](https://wkhtmltopdf.org/) installed and available in your system PATH, or know its full path\n\n## Usage\n\n1. **Download or clone this repository.**\n2. **Place the PowerShell script in the folder containing your `.html` files.**\n3. **Open PowerShell in that folder.**\n4. (Optional, if you encounter execution policy errors) Run:\n   ```powershell\n   Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass\n   ```\n   This temporarily allows script execution for this PowerShell session only.\n\n5. **Run the script:**\n   ```powershell\n   .\\convert-html-to-pdf.ps1\n   ```\n   - PDFs will appear in the `output` subfolder.\n\n## Script Customization\n\n- If `wkhtmltopdf.exe` is not in your PATH, edit the line in the script:\n  ```powershell\n  $wkhtmltopdf = \"C:\\Path\\To\\wkhtmltopdf.exe\"\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr0mb0%2Fhtmls_to_pdfs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr0mb0%2Fhtmls_to_pdfs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr0mb0%2Fhtmls_to_pdfs/lists"}