Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuickScan

QuickScan · 轻量桌面扫码工具

English | 中文

常驻系统托盘的二维码扫码器,按快捷键呼出,截屏框选屏幕上任意二维码——网页、聊天窗口、图片,一键复制或打开。

使用

  1. 启动后按 Ctrl+Alt+Q(默认快捷键)呼出小部件
  2. 点击「截屏扫码」(空格键),屏幕进入框选模式
  3. 拖拽框选二维码后自动识别
  4. 弹出结果卡片:一键复制 / 浏览器打开;自动收起(可配置)

也可以直接把二维码图片 Ctrl+V 粘贴或拖入窗口识别

功能

  • 截屏框选识别:全屏覆盖 + 拖拽选区(实时尺寸标注),松手即识别
  • 多屏支持:遮罩铺满所有显示器,可跨屏拖拽框选;小部件在鼠标所在的那块屏上呼出
  • 结果自动分类:链接 / 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

  1. After launching, press Ctrl+Alt+Q (default hotkey) to summon the widget
  2. Click "Capture & Scan" — the screen enters selection mode
  3. Drag to frame the QR code and it is decoded automatically
  4. 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
  • 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 xcap and 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); honors prefers-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

About

轻量截屏扫码工具 · Lightweight screen-capture QR scanner (Tauri 2, ~1.3MB installer)

Topics

Resources

Stars

138 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages