refactor: 重构为极简截图上传工具

- 简化项目定位:从智能工具转为极简截图上传工具
- 移除重型依赖:torch、transformers、paddleocr、SQLAlchemy
- 新增轻量级核心模块:
  - config.py: 简化 YAML 配置管理
  - database.py: 原生 SQLite 存储
  - screenshot.py: 截图功能(全屏/区域)
  - uploader.py: 云端上传(支持 custom/telegraph/imgur)
  - plugins/ocr.py: 可选 RapidOCR 插件
- 重写主窗口:专注核心功能,移除复杂 UI
- 更新依赖:核心 ~50MB,OCR 可选
- 更新文档:新的 README 和需求分析 v2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
congsh
2026-02-12 15:50:51 +08:00
parent a5e50876a0
commit e853161975
37 changed files with 2109 additions and 9266 deletions

View File

@@ -1,18 +1,17 @@
# CutThenThink 纯云端版本依赖
# 本版本使用云端 API 进行 OCR 和 AI 处理,无需任何本地 ML 库
# CutThenThink - 极简截图上传工具
# 核心依赖
# GUI框架
# GUI 框架
PyQt6>=6.7.0
# 数据库
SQLAlchemy>=2.0.36
# 图片处理
Pillow>=10.0.0
# AI服务API调用
openai>=1.0.0
anthropic>=0.18.0
# 工具库
# HTTP 请求
requests>=2.31.0
pyyaml>=6.0.1
pillow>=10.0.0
# 剪贴板
pyperclip>=1.8.2
# 配置文件
pyyaml>=6.0.1