feat: 添加微信OCR功能并整合Hono应用程序
All checks were successful
Build Server / Compile DLL (push) Successful in 1m26s

- 添加"hono"作为项目的依赖项。
- 添加 Dockerfile 以构建 WeChat OCR 应用程序。
- 新增hono库依赖到package.json文件。
- 将微信OCR集成替换为简单的Hono应用程序。
- 添加微信OCR功能以实现基于路径的图片文字识别。
This commit is contained in:
2025-07-08 00:13:44 +08:00
parent 6a258b71a9
commit dac1400009
5 changed files with 107 additions and 76 deletions

View File

@@ -3,6 +3,9 @@
"workspaces": {
"": {
"name": "wxocr",
"dependencies": {
"hono": "^4.8.4",
},
"devDependencies": {
"@antfu/eslint-config": "^4.16.2",
"@types/bun": "^1.2.18",
@@ -330,6 +333,8 @@
"has-flag": ["has-flag@4.0.0", "", {}, "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="],
"hono": ["hono@4.8.4", "", {}, "sha512-KOIBp1+iUs0HrKztM4EHiB2UtzZDTBihDtOF5K6+WaJjCPeaW4Q92R8j63jOhvJI5+tZSMuKD9REVEXXY9illg=="],
"ignore": ["ignore@5.3.2", "", {}, "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g=="],
"import-fresh": ["import-fresh@3.3.1", "", { "dependencies": { "parent-module": "^1.0.0", "resolve-from": "^4.0.0" } }, "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ=="],