百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
Q

qrscan

> 编程语言
开源

使用系统摄像头或指定的图像扫描终端中的二维码

187 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

使用系统摄像头或指定的图像扫描终端中的二维码

qrscan

Scan a QR code in the terminal using the system camera or a given image.

https://user-images.githubusercontent.com/11632726/178779071-ad5ca7da-0fc3-48c1-b725-a9834db39134.mp4

Install

Scoop

powershell
scoop bucket add extras
scoop install qrscan

Cargo

bash
# On Ubuntu, first install libclang-dev (apt-get install libclang-dev)
cargo install --locked --force qrscan

Nix

Nixpkgs
bash
nix-env -f https://github.com/NixOS/nixpkgs/tarball/master -iA qrscan
Flake
bash
nix profile install github:sayanarijit/qrscan

Pre-built binaries

Download the appropriate binary from the latest release.

Usage

Scan via the system camera with terminal preview

bash
qrscan --preview

Scan a given image file

bash
qrscan path/to/file

# Or read from stdin

cat /path/to/file | qrscan -

Print the QR code on the terminal

bash
qrscan  --qr --no-content

Also print QR code metadata

bash
qrscan  --metadata

Export the QR code as image files

bash
qrscan  --qr \
  --svg path/to/out.svg \
  --png path/to/out.png \
  --jpeg path/to/out.jpeg \
  --ascii path/to/out.ascii

Some Usage Examples

Capture a screenshot of a selected area using ImageMagic and scan the QR code.

bash
import png:- | qrscan -

Introductions & Reviews

  • Scan QR codes right from your Linux Terminal ~ The Lunduke Journal

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rustcameracommand-lineconsole-applicationqrcode

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言