{"id":21548460,"url":"https://github.com/beeven/pdf-stamper","last_synced_at":"2025-03-18T01:54:05.728Z","repository":{"id":72128879,"uuid":"62215653","full_name":"beeven/pdf-stamper","owner":"beeven","description":null,"archived":false,"fork":false,"pushed_at":"2016-08-16T07:24:07.000Z","size":6631,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T09:28:51.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/beeven.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-29T09:59:08.000Z","updated_at":"2024-10-25T11:18:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a112654-9d64-4936-892e-5a16eb4806a4","html_url":"https://github.com/beeven/pdf-stamper","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/beeven%2Fpdf-stamper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeven%2Fpdf-stamper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeven%2Fpdf-stamper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/beeven%2Fpdf-stamper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/beeven","download_url":"https://codeload.github.com/beeven/pdf-stamper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244141588,"owners_count":20404835,"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":[],"created_at":"2024-11-24T06:18:42.118Z","updated_at":"2025-03-18T01:54:05.723Z","avatar_url":"https://github.com/beeven.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"pdf-stamper\n====\n\nA server to convert html to pdf and sign it with given certificate\n\n\nUsage\n-----\nYou can pull the prebuilt image from docker or build it from source.\n\n### Pull image from docker repository\n```bash\ndocker pull beeven/pdf-stamper\n```\n\n### Build from source\nPrerequisite packages:\n* mono\n* python\n* pkg-config\n* python\n* libfontconfig\n* nodejs\n\nInstall all prerequisite packages then run ```npm install``` to build.\n\n\nAPI\n----\n\n### Generate pdf without signature\n\n**path:** /\n\n**method:** POST\n\n**arguments:**\n* *content:* html content to convert\n* *pageSize:* page size configuration\n    * *format:* paper size, `'A4', `'A5', `'B5'`, etc\n    * *orientation:* `'landscape'` or `'portrait'`\n    * *margin:* bleed, `1cm` or specified each edge ```{top:'1cm',bottom:'3cm',left:'1cm',right:'1cm'}```\n\nExample: see example directory.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeven%2Fpdf-stamper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbeeven%2Fpdf-stamper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbeeven%2Fpdf-stamper/lists"}