{"id":15199064,"url":"https://github.com/jordancampos20/c20.htmltopdf","last_synced_at":"2026-03-09T04:06:46.188Z","repository":{"id":256514705,"uuid":"843186529","full_name":"JordanCampos20/C20.HtmlToPDF","owner":"JordanCampos20","description":"Exporta HTML para PDF","archived":false,"fork":false,"pushed_at":"2024-09-15T20:30:24.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T14:11:18.317Z","etag":null,"topics":["csharp","html5","nuget-package","selenium","selenium-webdriver"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/C20.HtmlToPDF","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JordanCampos20.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-16T00:59:26.000Z","updated_at":"2024-09-15T20:30:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"af496e71-f1d2-4670-a4ea-4c6fa097f713","html_url":"https://github.com/JordanCampos20/C20.HtmlToPDF","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"38345c3687bb5c16317194326cf4e3760519a666"},"previous_names":["jordancampos20/c20.htmltopdf"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JordanCampos20/C20.HtmlToPDF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanCampos20%2FC20.HtmlToPDF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanCampos20%2FC20.HtmlToPDF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanCampos20%2FC20.HtmlToPDF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanCampos20%2FC20.HtmlToPDF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JordanCampos20","download_url":"https://codeload.github.com/JordanCampos20/C20.HtmlToPDF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JordanCampos20%2FC20.HtmlToPDF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30282697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: 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":["csharp","html5","nuget-package","selenium","selenium-webdriver"],"created_at":"2024-09-28T02:00:33.768Z","updated_at":"2026-03-09T04:06:45.364Z","avatar_url":"https://github.com/JordanCampos20.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C20.HtmlToPDF\nPT-BR:\nfunciona normalmente no Windows x86 e x64,\nnão foi implementado para os outros sistemas.\n\nEN:\nworks normally on Windows x86 and x64,\nit has not been implemented for other systems.\n\n# Example\n```cs\nusing C20.HtmlToPDF;\n\nvar fileBase64String = \"\";\n\nvar pathDocuments = \n    Environment.GetFolderPath(\n        Environment.SpecialFolder.MyDocuments);\n\nconst string html = \"\"\"\n                    \u003c!DOCTYPE html\u003e\n                        \u003chtml lang=\"pt-BR\"\u003e\n                            \u003chead\u003e\n                                \u003cmeta charset=\"UTF-8\"\u003e\n                                \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n                                \u003ctitle\u003eDocument\u003c/title\u003e\n                            \u003c/head\u003e\n                            \u003cbody\u003e\n                                \u003cp\u003eHello World...\u003c/p\u003e\n                            \u003c/body\u003e\n                        \u003c/html\u003e\n                    \"\"\";\n        \nfileBase64String = ConvertToPdf.ConverterHtml(html, new ConvertToPdfOptions(orientation: PrintOrientationOptions.Portrait));\n\nFile.WriteAllBytes($@\"{pathDocuments}\\example_html.pdf\", Convert.FromBase64String(fileBase64String));\n\nconst string url = \"https://www.google.com.br\";\n        \nfileBase64String = ConvertToPdf.ConverterPage(url, new ConvertToPdfOptions(orientation: PrintOrientationOptions.Portrait));\n\nFile.WriteAllBytes($@\"{pathDocuments}\\example_page.pdf\", Convert.FromBase64String(fileBase64String));\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordancampos20%2Fc20.htmltopdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordancampos20%2Fc20.htmltopdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordancampos20%2Fc20.htmltopdf/lists"}