{"id":19144036,"url":"https://github.com/sourlemonjuice/quickparse-qr-bash","last_synced_at":"2026-04-13T11:01:20.065Z","repository":{"id":215779027,"uuid":"739754891","full_name":"SourLemonJuice/quickParse-QR-bash","owner":"SourLemonJuice","description":"Parses the QR code on the linux desktop screenshot","archived":false,"fork":false,"pushed_at":"2024-01-08T20:19:44.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T23:03:06.026Z","etag":null,"topics":["bash","desktop","linux","parser","qrcode","screenshot","script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/SourLemonJuice.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-01-06T12:54:36.000Z","updated_at":"2024-01-06T12:58:37.000Z","dependencies_parsed_at":"2024-11-09T07:34:39.159Z","dependency_job_id":null,"html_url":"https://github.com/SourLemonJuice/quickParse-QR-bash","commit_stats":null,"previous_names":["sourlemonjuice/quickparse-qr-bash"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SourLemonJuice/quickParse-QR-bash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FquickParse-QR-bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FquickParse-QR-bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FquickParse-QR-bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FquickParse-QR-bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SourLemonJuice","download_url":"https://codeload.github.com/SourLemonJuice/quickParse-QR-bash/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SourLemonJuice%2FquickParse-QR-bash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31749763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bash","desktop","linux","parser","qrcode","screenshot","script"],"created_at":"2024-11-09T07:33:21.296Z","updated_at":"2026-04-13T11:01:20.049Z","avatar_url":"https://github.com/SourLemonJuice.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# quickParse-QR-bash\n\n一个快速解析QR码的脚本\\\n依赖 (均为 archlinux 软件包名称):\n\n```text\nspectacle\nzbar\nwl-clipboard [仅 wayland]\nxclip [仅 x11]\n```\n\n## 简介\n\n快速**截屏**并**查找**屏幕上的二维码，解析后用通知输出\\\n没有任何可能不符合你审美的gui干扰心情\n\u003e 支持 wayland 与 x11\\\n\u003e x11 模式并没有经过验证，但应该没什么事情\n\n## 使用\n\n运行 `parse-QR.sh` 即可，建议绑定个快捷键\n\n执行后会通知一次解析结果 (有复制按钮)\\\n如果识别错误也会发通知提醒\n\u003e 逻辑中有还算充足的保护代码，因该不会有错误了还在执行的毛病\n\n## 怪问题\n\nemm 如果`kde plasma`下不能用复制功能的话要不试试更新下桌面环境\\\n这些是折腾记录: [[SOLVED] \"wl-copy\" con't write to the clipboard in script with plasma](https://bbs.archlinux.org/viewtopic.php?pid=2142027)\n\n## 实现方式\n\n### 1.截图\n\n用 `spectacle` 的命令行参数获取屏幕截图\n\u003e 默认:`--region`(矩形选区)\n\n### 2.识别\n\n这一部分用了`zbarimg`命令获取输出\n\n### 3.输出方式\n\n解析后的信息通过桌面通知发送出来\n\n### 4.最后\n\n整个过程出现的 `临时文件` 的默认位置是 `/tmp/quick-QR-bash-TEMP`\\\n脚本逻辑的最后，会在检测确定他们是文件后用 `rm -vf $Path` 删除\n\n## 碎碎念\n\n- 经典环节呵\n- 所以为什么是英文提示\\\n  我想弄多语言但是突然就犯懒了，就当是TODO了\n- 你就这么讨厌gui?\\\n  只是懒得找，而且解析二维码和截图都用一套截屏软件，还是kde的项目不是更靠谱嘛\n\n## 最终测试环境\n\n```text\n操作系统： Arch Linux \nKDE Plasma 版本： 5.91.0\nKDE 程序框架版本： 5.247.0\nQt 版本： 6.7.0\n内核版本： 6.6.10-arch1-1 (64 位)\n图形平台： Wayland\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourlemonjuice%2Fquickparse-qr-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsourlemonjuice%2Fquickparse-qr-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsourlemonjuice%2Fquickparse-qr-bash/lists"}