feat: CutThenThink v3.0 初始版本

完整实现 Tauri + Vanilla JS 轻量级截图工具

Phase 1 - 项目搭建
- Tauri 2.x 项目初始化
- Vite 前端项目搭建
- 基础 UI 框架(CSS 变量、组件库)
- 构建配置优化

Phase 2 - 核心截图功能
- 全屏/区域/窗口截图
- 截图预览和管理
- 文件命名和缩略图
- 全局快捷键集成

Phase 3 - 上传与存储
- 多图床上传(GitHub/Imgur/自定义)
- 配置管理系统
- SQLite 数据库

Phase 4 - OCR 集成
- 云端 OCR(百度/腾讯云)
- 插件管理系统
- 本地 OCR 插件(Go)
- OCR 结果处理

Phase 5 - AI 分类系统
- Claude/OpenAI API 集成
- Prompt 模板引擎
- 模板管理界面
- 自动分类流程

Phase 6 - 历史记录与管理
- 图库视图(网格/列表)
- 搜索与筛选
- 批量操作
- 导出功能(JSON/CSV/ZIP)

Phase 7 - 打包与发布
- 多平台构建配置
- CI/CD 工作流
- 图标和资源
- 安装包配置

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude
2026-02-12 18:58:40 +08:00
commit e2ea309ee6
142 changed files with 38818 additions and 0 deletions

101
src-tauri/tauri.conf.json Normal file
View File

@@ -0,0 +1,101 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "CutThenThink Lite",
"version": "0.1.0",
"identifier": "com.cutthenthink.app",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:5173",
"beforeDevCommand": "npm run dev",
"beforeBuildCommand": "npm run build"
},
"app": {
"windows": [
{
"title": "CutThenThink Lite",
"width": 800,
"height": 600,
"resizable": true,
"fullscreen": false,
"minWidth": 600,
"minHeight": 400
}
],
"security": {
"csp": null
},
"withGlobalTauri": true
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"publisher": "CutThenThink",
"copyright": "Copyright © 2025 CutThenThink",
"category": "Productivity",
"shortDescription": "Lightweight screenshot and annotation tool",
"longDescription": "CutThenThink Lite is a lightweight screenshot capture and annotation tool designed for quick visual communication. Perfect for creating tutorials, reporting bugs, or sharing ideas visually.",
"createUpdaterArtifacts": true,
"linux": {
"deb": {
"depends": []
},
"appimage": {
"bundleMediaFramework": false
}
},
"macOS": {
"frameworks": [],
"minimumSystemVersion": "10.13",
"exceptionDomain": "",
"signingIdentity": null,
"entitlements": null,
"providerShortName": null,
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
],
"window": {
"width": 540,
"height": 380
}
}
},
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": "",
"nsis": {
"displayLanguageSelector": false,
"languages": ["English", "SimpChinese"],
"template": false,
"installMode": "perMachine",
"allowDowngrades": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"multiUserLauncher": false
},
"wix": {
"language": ["en-US", "zh-CN"]
},
"webviewInstallMode": {
"type": "embedBootstrapper"
}
}
}
}