Skip to content

SeverinQuan/qcode-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QCode Toolkit — SVG QR Code Toolkit

中文 | English


中文

一个纯前端、零构建、单文件部署的二维码瑞士军刀,支持 生成 · 美化 · 解析 三合一,可直接在浏览器中运行,开箱即用。

License: MIT Platform Status

🌐 在线体验: https://severinquan.github.io/qcode-toolkit/

✨ 功能亮点

功能 说明
🎨 二维码生成 单条 / 批量输入,支持多主题与自定义样式
🖼️ 二维码美化 拖入普通二维码图片,自动解析并重新渲染为精美风格
🔍 二维码解析 多文件拖拽识别,一键复制全部解析结果
📦 批量导出 支持 PNG(自定义尺寸)与 SVG 矢量格式导出
🌐 中英双语 界面全文案支持中文 / English 无缝切换
📄 零构建部署 单个 HTML 文件即可运行,无需 npm、打包或构建步骤

🚀 快速上手

无需构建步骤,直接在现代浏览器中打开:

git clone https://github.com/SeverinQuan/qcode-toolkit.git
cd qcode-toolkit

打开文件:

  • macOS / Linux:open QCodeToolkit.html
  • Windows:双击文件或在终端中运行 start QCodeToolkit.html

也可直接使用 GitHub Pages:

https://severinquan.github.io/qcode-toolkit/

隐私提示 二维码内容的生成、解析与美化均在浏览器端完成,不会上传至本项目服务器。

📂 目录结构

QCode Toolkit/
├── index.html                 # GitHub Pages 入口文件
├── QCodeToolkit.html          # 主程序(单文件,直接运行)
├── README.md                  # 项目说明文档
├── LICENSE                    # MIT 开源协议
└── Doc/
    ├── QCodeMerged_*_施工记录_*.md   # 最新施工记录
    └── process_docs/                 # 开发过程文档(按阶段归档)
        ├── phase-01-合并与基础能力落地.md
        ├── phase-02-二维码美化批处理能力.md
        ├── phase-03-界面稳定性与交互一致性.md
        └── phase-04-SVG批量下载能力补充.md

🛠️ 使用说明

生成模式

  1. 在顶部切换至 二维码生成 标签。
  2. 单条模式:在输入框粘贴 URL 或文字内容,选择主题后生成二维码。
  3. 批量模式:输入多条内容(每行一条或批量粘贴),一键批量生成。
  4. 支持分别下载 PNG / SVG 格式文件。

美化模式

  1. 切换至 二维码美化 标签。
  2. 将一张或多张现有二维码图片拖入识别区。
  3. 选择目标主题,系统会自动解析原二维码内容并重新渲染为精美样式。
  4. 支持单项下载(SVG / PNG)或批量下载。

解析模式

  1. 切换至 二维码解析 标签。
  2. 拖入一张或多张二维码图片。
  3. 系统自动识别二维码内容并列出结果。
  4. 点击 一键复制全部结果 可批量复制解析内容。

🎨 内置主题

  • 👑 臻享 / 典藏:黑金、翡翠鎏金、皇家紫、星空夜色
  • ✨ 基础 / 品牌:商务黑、支付宝蓝、微信绿、科技蓝
  • 🏮 国风 / 雅致:素笺金朱、青花瓷、朱砂红、水墨灰黑
  • 🌿 自然 / 治愈:抹茶、樱花、秋枫、冰川蓝
  • 💎 极简 / 高级:深空灰、玫瑰金、摩卡咖啡

📋 开发历程

阶段 目标 关键成果
Phase 01 合并与基础能力落地 形成统一入口,支持 PNG 导出与中英双语切换
Phase 02 二维码美化批处理能力 多文件拖拽批处理,支持单项与批量下载 SVG / PNG
Phase 03 界面稳定性与交互一致性 三模式切换无抖动,统一最小高度基线
Phase 04 SVG 批量下载能力补充 生成与美化两个批量入口均支持 SVG 一键导出

详细记录请参阅 Doc/process_docs/

🧩 技术说明

QCode Toolkit 是一个纯前端工具,核心逻辑运行在浏览器端。当前版本主要包含:

  • 单文件 HTML 页面结构
  • CSS 视觉样式与响应式布局
  • 浏览器端二维码生成、解析与下载逻辑
  • SVG / PNG 双格式导出
  • 中文 / English 双语界面切换

注:当前版本通过 CDN 加载部分前端库与字体资源,因此更准确的描述是 零构建、单文件部署,而不是严格意义上的“完全零依赖”。

🤝 贡献指南

  1. Fork 本仓库并创建分支:

    git checkout -b feature/your-feature-name
  2. 提交变更:

    git commit -m "feat: add zip batch export"
  3. 推送分支:

    git push origin feature/your-feature-name
  4. 提交 Pull Request,说明改动内容、测试情况与截图。

🐛 问题反馈

Issue 地址:https://github.com/SeverinQuan/qcode-toolkit/issues

建议附带:

  • 操作系统与浏览器版本
  • 复现步骤
  • 预期行为与实际行为
  • 相关截图或录屏
  • 控制台报错信息(如适用)

🔭 后续规划

  • ZIP 打包下载,减少大量文件触发浏览器多次保存提示
  • 异常文件类型提示与失败项重试入口
  • 移动端响应式分级最小高度策略
  • 更多二维码主题与自定义颜色支持
  • 完全离线版本:将字体与前端库资源本地化
  • 多语言 README:English / 日本語 / 한국어 / Deutsch / Français / Português / Español

📄 许可证

本项目基于 MIT License 开源。Copyright © 2026 QCode Toolkit Contributors

Keywords

QR Code, SVG QR Code, QR Code Generator, QR Code Beautifier, QR Code Decoder, Browser Tool, Frontend Tool, JavaScript QR Code Toolkit.


English

A frontend-only, zero-build, single-file QR toolkit for generate · beautify · decode workflows, running directly in the browser.

License: MIT Platform Status

🌐 Live Demo: https://severinquan.github.io/qcode-toolkit/

✨ Features

Feature Description
🎨 QR Generation Single or batch input with multiple themes and custom styles
🖼️ QR Beautification Drag existing QR images, decode content, and re-render with polished styles
🔍 QR Decoding Multi-file drag-and-drop recognition with one-click copy of all decoded results
📦 Batch Export Export PNG (custom size) and SVG vector formats
🌐 Bilingual UI Full Chinese/English interface switching
📄 Zero-Build Deployment Run from a single HTML file without npm or bundling

🚀 Quick Start

git clone https://github.com/SeverinQuan/qcode-toolkit.git
cd qcode-toolkit

Open the app:

  • macOS / Linux: open QCodeToolkit.html
  • Windows: double-click the file or run start QCodeToolkit.html

Or use GitHub Pages:

https://severinquan.github.io/qcode-toolkit/

Privacy Note QR code generation, decoding, and beautification are processed in the browser and are not uploaded to any project server.

📂 Project Structure

QCode Toolkit/
├── index.html
├── QCodeToolkit.html
├── README.md
├── LICENSE
└── Doc/
    ├── QCodeMerged_*_施工记录_*.md
    └── process_docs/

🛠️ Usage

Generator

  1. Switch to the Generator tab.
  2. In single mode, paste a URL/text and choose a theme.
  3. In batch mode, input multiple lines and generate all at once.
  4. Download output as PNG or SVG.

Beautify

  1. Switch to the Beautify tab.
  2. Drag one or more existing QR images.
  3. Select a target theme; the app decodes and re-renders automatically.
  4. Download items individually (PNG/SVG) or in batch.

Extractor

  1. Switch to the Extractor tab.
  2. Drag one or more QR images.
  3. The app decodes and lists recognized content.
  4. Click Copy All Results for bulk copy.

🎨 Built-in Themes

  • 👑 Premium: Black Gold, Emerald Gold, Royal Purple, Night Sky
  • ✨ Basic/Brand: Business Black, Alipay Blue, WeChat Green, Tech Blue
  • 🏮 Oriental: Ink Gold, Porcelain Blue, Vermilion, Ink Gray
  • 🌿 Natural: Matcha, Sakura, Autumn Maple, Glacier Blue
  • 💎 Minimal: Deep Space Gray, Rose Gold, Mocha

📋 Changelog

Phase Goal Key Result
Phase 01 Merge + foundation Unified entry, PNG export, bilingual switch
Phase 02 Beautify batch workflow Multi-file batch handling with SVG/PNG downloads
Phase 03 UI stability Smooth mode switching and unified min-height baseline
Phase 04 SVG batch export enhancement One-click SVG export in generator and beautify batch flows

Detailed notes: Doc/process_docs/

🧩 Technical Notes

QCode Toolkit is a browser-side frontend tool. Current version includes:

  • Single-file HTML app structure
  • CSS styling and responsive layout
  • Browser-side QR generation/decoding/download logic
  • Dual export formats: SVG and PNG
  • Chinese/English UI switching

Note: Some frontend libraries and fonts are loaded via CDN. The most accurate description is zero-build, single-file deployment, rather than strictly “zero dependency”.

🤝 Contributing

  1. Fork the repo and create a feature branch.
  2. Commit your changes.
  3. Push to your fork.
  4. Open a Pull Request with change summary, tests, and screenshots.

Recommended commit style: Conventional Commits

🐛 Bug Reports

Submit issues at: https://github.com/SeverinQuan/qcode-toolkit/issues

Please include:

  • OS and browser version
  • Reproduction steps
  • Expected vs actual behavior
  • Screenshots or recordings
  • Console errors (if any)

🔭 Roadmap

  • ZIP archive export to reduce repeated browser save prompts
  • Better invalid-file feedback and retry entry points
  • Mobile responsive min-height strategy by breakpoint
  • More themes and custom color options
  • Fully offline package (local fonts and libs)
  • More README languages

📄 License

Released under MIT License. Copyright © 2026 QCode Toolkit Contributors

Packages

 
 
 

Contributors

Languages