{"id":13524561,"url":"https://github.com/alexkolodko/yourls-local-qr-code","last_synced_at":"2025-04-01T02:32:08.237Z","repository":{"id":218128322,"uuid":"745674376","full_name":"alexkolodko/yourls-local-qr-code","owner":"alexkolodko","description":"YOURLS Local QR Code in SVG, PDF \u0026 Image Plugin","archived":false,"fork":false,"pushed_at":"2024-01-27T11:57:13.000Z","size":199,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-02T06:16:52.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/alexkolodko.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}},"created_at":"2024-01-19T21:06:16.000Z","updated_at":"2024-07-12T17:12:36.000Z","dependencies_parsed_at":"2024-01-19T22:41:18.343Z","dependency_job_id":"1108416c-d5b3-43ea-bb6e-e87c332ff6d4","html_url":"https://github.com/alexkolodko/yourls-local-qr-code","commit_stats":null,"previous_names":["alexkolodko/yourls-local-qr-code"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexkolodko%2Fyourls-local-qr-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexkolodko%2Fyourls-local-qr-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexkolodko%2Fyourls-local-qr-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexkolodko%2Fyourls-local-qr-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexkolodko","download_url":"https://codeload.github.com/alexkolodko/yourls-local-qr-code/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222693039,"owners_count":17024034,"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-08-01T06:01:11.224Z","updated_at":"2024-11-02T08:32:05.438Z","avatar_url":"https://github.com/alexkolodko.png","language":"JavaScript","funding_links":[],"categories":["Plugins"],"sub_categories":["Q"],"readme":"# YOURLS Local QR Code in SVG, PDF \u0026amp; Image Plugin\n\nAllows you to get the QR code by by adding `.qr` to the end of the short URL. \n\n## Installation\n\n1. Move the `qr` folder into the root folder. The interface for displaying QR codes will be at `YOURLS_SITE/qr` \n1. Move the `qr-code-svg-local` folder into the `/users/plugins` folder. Then, activate the plugin in the admin interface.\n1. Go to the Plugins Administration page and activate the plugin.\n1. Have fun! 🤖\n\n## QR Parameters\n\nYou can also use the parameters to generate QR codes via url.\n\nList of options (same with `qrcode-svg` library):\n* content - QR Code content (yourls short link), the only **required** parameter\n* padding - white space padding, default: `0` modules, `4` for classic use\n* width - QR Code width in pixels, default: `256 px`\n* height - QR Code height in pixels, default:  `256 px`\n* color - color of modules (squares), color name or hex string (without hash # symbol), e.g. FF0000, default: `000000`\n* background - color of background, color name or hex string, e.g. white, default: `none` \n* ecl - error correction level: L, M, H, Q. Default: `М`\n* xmlDeclaration - prepend XML declaration to the SVG document, i.e. `\u003c?xml version=\"1.0\" standalone=\"yes\"?\u003e`, default: `false`\n\u003c!-- * join - join modules (squares) into one shape, into the SVG path element, recommended for web and responsive use, default: false --\u003e\n\n\n## Dependecies\n\nMain functionality of adding a QR code is borrowed from Ozh's orginal plugin code.\n\nQR code generation and convert made possible by\n* [qrcode-svg](https://github.com/papnkukn/qrcode-svg)\n* [jsPDF](https://github.com/parallax/jsPDF)\n* [svg2pdf](https://github.com/yWorks/svg2pdf.js)\n* [html2canvas](https://html2canvas.hertzen.com/)\n\n\n\n## Legal notice\n\n```\nLicensed under the MIT license:\nhttp://www.opensource.org/licenses/mit-license.php\n\nThe word \"QR Code\" is registered trademark of DENSO WAVE INCORPORATED\nhttp://www.denso-wave.com/qrcode/faqpatent-e.html\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexkolodko%2Fyourls-local-qr-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexkolodko%2Fyourls-local-qr-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexkolodko%2Fyourls-local-qr-code/lists"}