项目
在 GitHub 查看
yoli-mi/quickscan
关于
轻量截屏扫码工具 · Lightweight screen-capture QR scanner (Tauri 2, ~1.3MB installer)
设计与媒体可以做什么
- Screen-capture selection: fullscreen overlay with drag selection (live size hint), decode on release
- Multi-monitor: the overlay spans every display, so selections can be dragged across screens; the widget pops up on whichever monitor the cursor is on
- Touch support: drag to frame with your finger; a ✕ button at the top-right exits capture mode (no keyboard needed on tablets/convertibles)
- Autostart: falls back to a Startup-folder shortcut when the registry Run key is locked down by security software
实测星标增长
- 24小时
- +1
- 7天
- +4
- 15天
- +9
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
QuickScan · 轻量桌面扫码工具
English | 中文
常驻系统托盘的二维码扫码器,按快捷键呼出,截屏框选屏幕上任意二维码——网页、聊天窗口、图片,一键复制或打开。
使用
- 启动后按
Ctrl+Alt+Q(默认快捷键)呼出小部件 - 点击「截屏扫码」(空格键),屏幕进入框选模式
- 拖拽框选二维码后自动识别
- 弹出结果卡片:一键复制 / 浏览器打开;自动收起(可配置)
也可以直接把二维码图片 Ctrl+V 粘贴或拖入窗口识别
功能
- 截屏框选识别:全屏覆盖 + 拖拽选区(实时尺寸标注),松手即识别
- 多屏支持:遮罩铺满所有显示器,可跨屏拖拽框选;小部件在鼠标所在的那块屏上呼出
- 触屏支持:手指直接拖拽框选;框选右上角 ✕ 按钮可退出(平板 / 翻转本无需键盘)
- 开机自启动:注册表写入被拒时自动回退到启动文件夹快捷方式(兼容 Run 键被安全软件锁定的机器)
- 结果自动分类:链接 / WiFi / 文本;一键复制、浏览器打开
- 全局快捷键呼出 / 收起(默认
Ctrl+Alt+Q;设置中点击后直接按下新组合键即生效) - 极简风格动效
- 系统托盘常驻:左键呼出,右键菜单(呼出 / 设置 / 退出)
- 粘贴 / 拖拽图片识别;明暗模式跟随系统
技术栈与轻量化
- Tauri 2(Rust + WebView2):安装包 ~1.4 MB,驻留内存 ~30 MB
- 原生 TypeScript + Vite,零前端框架;jsQR 解码(仅对框选区域解码)
- 截屏:
xcap逐屏抓取后按物理坐标拼成覆盖整个虚拟桌面的 RGBA 直传(无图片编码开销),用完即删、画布即释 - 动画只走
transform/opacity(GPU 合成);prefers-reduced-motion自动降级 - release 构建:
opt-level=z+ LTO + strip +panic=abort - 设置本地 JSON 持久化,零数据库依赖
开发
前置:Node ≥ 18、Rust 工具链、WebView2 运行时(Windows 10/11 自带)。
npm install
npm run tauri dev # 开发(热更新)
npm run tauri build # 打包 NSIS / MSI 安装包
QuickScan · Lightweight Desktop QR Scanner
中文 | English
A tray-resident QR code scanner. Press a hotkey, frame-select any QR code on your screen — web pages, chat windows, images — then copy or open it with one click.
Usage
- After launching, press
Ctrl+Alt+Q(default hotkey) to summon the widget - Click "Capture & Scan" — the screen enters selection mode
- Drag to frame the QR code and it is decoded automatically
- A result card pops up: copy / open in browser; auto-collapse (configurable)
You can also paste (Ctrl+V) or drag an image with a QR code onto the widget.
Features
- Screen-capture selection: fullscreen overlay with drag selection (live size hint), decode on release
- Multi-monitor: the overlay spans every display, so selections can be dragged across screens; the widget pops up on whichever monitor the cursor is on
- Touch support: drag to frame with your finger; a ✕ button at the top-right exits capture mode (no keyboard needed on tablets/convertibles)
- Autostart: falls back to a Startup-folder shortcut when the registry Run key is locked down by security software
- Auto classification: URL / Wi-Fi / text; one-click copy and open-in-browser
- Global hotkey to show/hide (default
Ctrl+Alt+Q; in settings, click and press a new combo — applied instantly) - Minimalist motion design
- Tray icon: left-click to summon; right-click menu (show / settings / quit)
- Paste / drag-image decoding; light/dark theme follows the system
Tech & Footprint
- Tauri 2 (Rust + WebView2): installer ~1.4 MB, resident memory ~30 MB
- Plain TypeScript + Vite, zero frontend framework; jsQR decodes only the selected region
- Capture: every monitor grabbed via
xcapand stitched by physical coordinates into one virtual-desktop RGBA buffer (no image-encoding overhead); temp file deleted right after use, canvas released on exit - Animations use only
transform/opacity(GPU-composited); honorsprefers-reduced-motion - Release build:
opt-level=z+ LTO + strip +panic=abort - Settings persisted as local JSON — no database
Development
Prerequisites: Node ≥ 18, Rust toolchain, WebView2 Runtime (bundled with Windows 10/11).
npm install
npm run tauri dev # dev mode (HMR)
npm run tauri build # build NSIS / MSI installers
探索相关项目
加载中…