feat: initial commit - Go + CGO captcha recognition service
Build and Deploy / build-frontend (push) Failing after 2s
Build and Deploy / build-backend (push) Has been skipped
Build and Deploy / build-docker (push) Has been skipped
Build and Deploy / deploy (push) Has been skipped

Features:
- Go + CGO ONNX/OpenCV wrapper for high performance
- SQLite (default) / MySQL database support
- Optional Redis caching
- JWT authentication system
- Multiple captcha recognition APIs:
  - OCR text recognition
  - Slider captcha matching
  - Image similarity comparison
  - Rotation captcha detection
  - Object detection
- React frontend with install wizard
- Docker and docker-compose support
- Gitea CI/CD pipeline

Project structure:
- cmd/server: Main entry point
- internal/: Core business logic
- pkg/onnx: ONNX Runtime CGO wrapper
- pkg/opencv: OpenCV CGO wrapper
- web/: React frontend
- deploy/: Deployment configs
- scripts/: Utility scripts
This commit is contained in:
2026-07-16 08:56:38 +00:00
commit 524c404194
32 changed files with 2971 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
# 忽略编译产物
anticaptcha
*.exe
*.exe~
*.dll
*.so
*.dylib
# 忽略数据目录
data/
*.db
# 忽略日志
*.log
# 忽略 IDE 配置
.idea/
.vscode/
*.swp
*.swo
# 忽略依赖
vendor/
node_modules/
# 忽略前端构建产物
web/dist/
web/node_modules/
# 忽略环境配置
.env
.env.local
*.local
# 忽略密钥
secret.key
config.yaml
# 忽略临时文件
*.tmp
*.temp