{"id":34656193,"url":"https://github.com/marcoroth/qr_code_scanner","last_synced_at":"2025-12-24T18:05:29.492Z","repository":{"id":269762644,"uuid":"908383960","full_name":"marcoroth/qr_code_scanner","owner":"marcoroth","description":"A Ruby Gem for scanning QR codes from documents like PDFs and images.","archived":false,"fork":false,"pushed_at":"2025-11-24T06:22:57.000Z","size":4669,"stargazers_count":24,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-03T13:48:29.187Z","etag":null,"topics":["gem","qr","qr-code","qrcode","qrcode-scanner","ruby","rubygem"],"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/marcoroth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"marcoroth"}},"created_at":"2024-12-25T23:53:32.000Z","updated_at":"2025-10-13T11:20:00.000Z","dependencies_parsed_at":"2024-12-26T01:20:20.687Z","dependency_job_id":"b4b3a337-2095-46d2-b0cb-e7c1bfa38f2b","html_url":"https://github.com/marcoroth/qr_code_scanner","commit_stats":null,"previous_names":["marcoroth/qr_code_scanner"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/marcoroth/qr_code_scanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fqr_code_scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fqr_code_scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fqr_code_scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fqr_code_scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoroth","download_url":"https://codeload.github.com/marcoroth/qr_code_scanner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoroth%2Fqr_code_scanner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28005977,"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","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["gem","qr","qr-code","qrcode","qrcode-scanner","ruby","rubygem"],"created_at":"2025-12-24T18:02:47.029Z","updated_at":"2025-12-24T18:05:29.484Z","avatar_url":"https://github.com/marcoroth.png","language":"Ruby","readme":"# QRCodeScanner\n\nA Ruby Gem for scanning QR codes from documents like PDFs and images.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n```bash\nbundle add qr_code_scanner\n```\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n```bash\ngem install qr_code_scanner\n```\n\nInstall the required NPM packages:\n\n```bash\nyarn add @andreekeberg/imagedata pdf-to-png-converter jsqr\n```\n\n#### Note\n\nThis gem is built on top of the [`jsQR`](https://github.com/cozmo/jsQR) NPM package, which means you need to be running [Node.js](https://nodejs.org/en). We utilize the [`nodo`](https://github.com/mtgrosser/nodo) gem for calling out to Node.js.\n\nTL;DR: as long as you have Node.js installed and the above listed NPM packages installed you shouldn't notice that it's calling out to Node.js.\n\n\n## Usage\n\nGiven the following QR Code:\n\n![](https://github.com/marcoroth/qr_code_scanner/blob/main/test/fixtures/hello_world.png)\n\nYou can read out it's information using:\n\n```ruby\nrequire \"qr_code_scanner\"\n\nQRCodeScanner.scan(\"path/to/qr_code.png\")\n# =\u003e [\"hello world\"]\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/marcoroth/qr_code_scanner. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/marcoroth/qr_code_scanner/blob/main/CODE_OF_CONDUCT.md).\n\n## Code of Conduct\n\nEveryone interacting in the QRCodeScanner project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/marcoroth/qr_code_scanner/blob/main/CODE_OF_CONDUCT.md).\n","funding_links":["https://github.com/sponsors/marcoroth"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoroth%2Fqr_code_scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoroth%2Fqr_code_scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoroth%2Fqr_code_scanner/lists"}