{"id":21300897,"url":"https://github.com/otthe/qr-pdf","last_synced_at":"2025-03-15T18:23:37.318Z","repository":{"id":245902475,"uuid":"819409724","full_name":"otthe/qr-pdf","owner":"otthe","description":"Ruby library to generate and add QR codes to PDF documents","archived":false,"fork":false,"pushed_at":"2024-06-24T15:52:33.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T08:11:39.272Z","etag":null,"topics":["automation","pdf","qrcode-generator","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/otthe.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":"2024-06-24T12:54:17.000Z","updated_at":"2024-06-24T15:54:32.000Z","dependencies_parsed_at":"2024-06-24T18:50:26.353Z","dependency_job_id":"ab7c987d-b076-4d3d-bce0-d214ea4ec598","html_url":"https://github.com/otthe/qr-pdf","commit_stats":null,"previous_names":["otthe/qr-pdf"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otthe%2Fqr-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otthe%2Fqr-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otthe%2Fqr-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/otthe%2Fqr-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/otthe","download_url":"https://codeload.github.com/otthe/qr-pdf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243771531,"owners_count":20345471,"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":["automation","pdf","qrcode-generator","ruby"],"created_at":"2024-11-21T15:42:11.040Z","updated_at":"2025-03-15T18:23:37.288Z","avatar_url":"https://github.com/otthe.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QR-PDF\nDynamically generates and adds QR code to one of the four corners of your one page PDF. \n\u003cbr\u003eGenerated PDF will be saved into a new folder with the same name as the input file.\n\n## Position options\nYou can choose which corner the QR code will be placed via following strings:\n```\n\"top-left\" || \"top-right\" || \"bottom-left\" || \"bottom-right\"\n```\n\n## CLI Usage\n```\n# With default size\nruby qrpdf.rb --url \"https://example.com\" --corner \"bottom-right\" --filename \"test.pdf\" --output \"tmp\"\n\n# With optional size\nruby qrpdf.rb --url \"https://example.com\" --corner \"bottom-right\" --filename \"test.pdf\" --output \"tmp\" --size 96 \n```\n\n## Library Usage\n```\nrequire_relative 'lib/QRPdf'\n\nqr_url = \"https://example.com\"\ncorner = \"top-left\"\nfilename = \"test.pdf\"\noutput_folder = \"tmp\"\nsize = 96\n\ndoc = QRPdf::Document.new(\n  qr_url,\n  corner,\n  filename,\n  output_folder,\n  size\n)\n\ndoc.execute\n\n```\n\n## Things to consider\n* This library only supports one page PDF's for now (although you can easily modify this for your needs) \u003cbr\u003e\n* No tests currently","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotthe%2Fqr-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fotthe%2Fqr-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fotthe%2Fqr-pdf/lists"}