{"id":13473235,"url":"https://github.com/BetaHuhn/vercel-pdf-converter","last_synced_at":"2025-03-26T17:32:18.816Z","repository":{"id":103187303,"uuid":"317001667","full_name":"BetaHuhn/vercel-pdf-converter","owner":"BetaHuhn","description":"📄▲ Vercel function which generates PDFs from Webpages.","archived":false,"fork":false,"pushed_at":"2020-12-08T19:45:56.000Z","size":80,"stargazers_count":34,"open_issues_count":1,"forks_count":26,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-19T21:46:07.645Z","etag":null,"topics":["pdf","pdf-converter","vercel","vercel-pdf-converter","vercel-serverless-functions"],"latest_commit_sha":null,"homepage":"https://to-pdf.vercel.app","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/BetaHuhn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"ko_fi":"betahuhn"}},"created_at":"2020-11-29T17:09:17.000Z","updated_at":"2025-02-02T22:29:38.000Z","dependencies_parsed_at":"2023-03-10T22:30:27.628Z","dependency_job_id":null,"html_url":"https://github.com/BetaHuhn/vercel-pdf-converter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetaHuhn%2Fvercel-pdf-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetaHuhn%2Fvercel-pdf-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetaHuhn%2Fvercel-pdf-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BetaHuhn%2Fvercel-pdf-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BetaHuhn","download_url":"https://codeload.github.com/BetaHuhn/vercel-pdf-converter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245702515,"owners_count":20658629,"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":["pdf","pdf-converter","vercel","vercel-pdf-converter","vercel-serverless-functions"],"created_at":"2024-07-31T16:01:01.961Z","updated_at":"2025-03-26T17:32:18.440Z","avatar_url":"https://github.com/BetaHuhn.png","language":"JavaScript","funding_links":["https://ko-fi.com/betahuhn","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=394RTSBEEEFEE"],"categories":["JavaScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \n# vercel-pdf-converter\n\n[![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/BetaHuhn/vercel-pdf-converter/blob/master/LICENSE) ![Version](https://img.shields.io/github/package-json/v/betahuhn/vercel-pdf-converter) ![Dependencies](https://img.shields.io/david/betahuhn/vercel-pdf-converter)\n\nVercel function which generates PDFs from Webpages.\n\n\u003c/div\u003e\n\n## 👋 Introduction\n\nThis repo contains the code for a simple [Vercel](https://vercel.com) function which generates a PDF file from any webpage using a [headless Chrome instance](https://github.com/puppeteer/puppeteer).\n\n## 🚀 Get started\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https%3A%2F%2Fgithub.com%2FBetaHuhn%2Fvercel-pdf-converter)\n\n### Or setup manually:\n\nClone this repository:\n\n```sh\ngit clone https://github.com/BetaHuhn/vercel-pdf-converter\n```\n\nInstall all dependencies:\n\n```sh\nnpm install\n```\n\nLogin to your Vercel account and setup a project:\n\n```sh\nvercel\n```\n\nRun the function locally:\n\n```sh\nnpm run develop\n```\n\nDeploy to Vercel in production:\n\n```sh\nnpm run deploy \n```\n\n## 📚 Usage\n\nAfter you've deployed the function, you can use it by placing your function's domain infront of any URL:\n\n```\nto-pdf.vercel.app/https://github.com/BetaHuhn/vercel-pdf-converter\n```\n\nThe function will then generate a PDF of that URL and return it as a downloadable file.\n\nHere is how this GitHub Page looks as a PDF:\n\n![example](https://cdn.mxis.ch/assets/vercel-pdf-converter/preview.png)\n\n## 💻 Development\n\nIssues and PRs are very welcome!\n\nThis project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). To see differences with previous versions refer to the [CHANGELOG](CHANGELOG.md).\n\n## ❔ About\n\nThis project was developed by me ([@betahuhn](https://github.com/BetaHuhn)) in my free time. If you want to support me:\n\n[![Donate via PayPal](https://img.shields.io/badge/paypal-donate-009cde.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=394RTSBEEEFEE)\n\n## License\n\nCopyright 2020 Maximilian Schiller\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBetaHuhn%2Fvercel-pdf-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBetaHuhn%2Fvercel-pdf-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBetaHuhn%2Fvercel-pdf-converter/lists"}