{"id":23594251,"url":"https://github.com/pexmor/qr-io","last_synced_at":"2026-05-09T09:44:31.060Z","repository":{"id":204881507,"uuid":"712834890","full_name":"PexMor/qr-io","owner":"PexMor","description":"Minimal app for reproducing and sharing QR codes.","archived":false,"fork":false,"pushed_at":"2025-01-05T15:39:13.000Z","size":331,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-05T16:29:31.897Z","etag":null,"topics":["javascript","qr-scanner","qrcode","qrcode-generator","websocket"],"latest_commit_sha":null,"homepage":"https://pexmor.github.io/qr-io/","language":"TypeScript","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/PexMor.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":"2023-11-01T09:47:43.000Z","updated_at":"2025-01-05T15:39:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbe05ae9-d3a1-4787-a094-4e6f62f7f2b2","html_url":"https://github.com/PexMor/qr-io","commit_stats":null,"previous_names":["pexmor/qr-io"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Fqr-io","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Fqr-io/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Fqr-io/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PexMor%2Fqr-io/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PexMor","download_url":"https://codeload.github.com/PexMor/qr-io/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239435032,"owners_count":19638046,"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":["javascript","qr-scanner","qrcode","qrcode-generator","websocket"],"created_at":"2024-12-27T09:16:26.257Z","updated_at":"2025-11-04T15:30:26.526Z","avatar_url":"https://github.com/PexMor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# qr-io\n\nMinimal app for reproducing and sharing QR codes.\n\n\u003chttps://pexmor.github.io/qr-io/\u003e the app Git Pages hosted.\n\n**TL;DR:** `python -mhttp.server -d docs 8088`\n\n## Use cases\n\nThe app has two foreseen usages simple (without server) and\ncomplex (with server).\n\n### Simple\n\nThe elementary usecase is to just scan and show the QR for further scanning.\n\n![Simple Usage](docs/images/simple-qr-io.png)\n\n### Complex with Config\n\nIn this case it is expected that you have a server listening on some web URL and is using either **WebSocket** or plain **HTTP POST**.\n\n\u003e **Note:** such server is included in this repo and with help of [ngrok.com](https://ngrok.com/) you can run demo server right from your desktop. See instructions below [Receiving Server](#receiving-sever)\n\n![Use With Config](docs/images/cofig-qr-io.png)\n\n## How to configure\n\nIn case you want to configure the server you can create simple QR code containing simple JSON structure (Note: the single and double quotes matter).\n\n### QREncode simple config\n\nThe following is a minimal self configured server url.\n\n```bash\n# create endpoint and show url\nngrok http 8080\n# make config QR from that url\nqrencode -t UTF-8 '{\"mode\":\"auto-send\",\"url\":\"https://\u003cuse-url-from-above\u003e.ngrok.io\"}'\n```\n\n### Receiving sever\n\nThe more complete example below is showing how to start **ngrok** with nodejs server and handle all the configuration within your browser.\n\n```bash\n# create endpoint and show url\nngrok http 8080\n# install deps\nyarn\n# start server at port 8080 it will read the ngrok info automatically\nyarn server\n# open http://localhost:8080\n# it will show config url (a json inside QR)\n# read it by https://pexmor.github.io/qr-io/ -\u003e button \"config\"\n# after that every scanned QR is sent over to http://localhost:8080 page\n```\n\n## Sub licenses\n\nThis simple but usabe QR I/O project would not be possible without other libraries. These used in browser are listed below. There some other used by server to check those please have a look at [package.json](package.json).\n\n| Part              | Link                                         | License                                                                        |\n| ----------------- | -------------------------------------------- | ------------------------------------------------------------------------------ |\n| PureCSS           | \u003chttp://purecss.io/\u003e                         | [BSD](https://github.com/pure-css/pure/blob/master/LICENSE)                    |\n| HTML5 QR Scanner  | \u003chttps://github.com/mebjas/html5-qrcode\u003e     | [Apache-2.0](https://github.com/mebjas/html5-qrcode/blob/master/LICENSE)       |\n| QR Code generator | \u003chttps://github.com/danielgjackson/qrcodejs\u003e | [BSD-2-clause](https://github.com/danielgjackson/qrcodejs/blob/master/LICENSE) |\n\n## Final notes\n\nIdeas:\n\n- [py/01_easyocr.py](py/01_easyocr.py) - OCR experiment on image postprocessing at the server\n- \u003chttps://pexmor.github.io/qr-io/tesseract.html\u003e - another OCR experiment, hosted in your browser\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpexmor%2Fqr-io","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpexmor%2Fqr-io","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpexmor%2Fqr-io/lists"}