Commit Graph

9 Commits

Author SHA1 Message Date
admin ccae62e8bb fix: use pkg-config path for OpenCV
Build and Deploy / build (push) Failing after 1m50s
Build and Deploy / deploy (push) Has been skipped
2026-07-16 13:03:10 +00:00
admin 0af1039130 fix: set CGO_CFLAGS for OpenCV 4 include path
Build and Deploy / build (push) Failing after 1m42s
Build and Deploy / deploy (push) Has been skipped
2026-07-16 12:22:36 +00:00
admin b827c75ead fix: use Debian bookworm for better OpenCV support
Build and Deploy / build (push) Failing after 1m56s
Build and Deploy / deploy (push) Has been skipped
2026-07-16 12:11:12 +00:00
admin d894592355 fix: add PKG_CONFIG_PATH and remove unused import
Build and Deploy / build (push) Failing after 1m47s
Build and Deploy / deploy (push) Has been skipped
2026-07-16 11:01:15 +00:00
admin dd57797864 fix: use opencv package name instead of opencv-libs
Build and Deploy / build (push) Failing after 2m8s
Build and Deploy / deploy (push) Has been skipped
2026-07-16 10:52:34 +00:00
admin 7faa3d0762 fix: enable CGO and install OpenCV for docker build
Build and Deploy / build (push) Failing after 22s
Build and Deploy / deploy (push) Has been skipped
2026-07-16 10:47:15 +00:00
admin 8258160f95 fix: simplify CI/CD and Dockerfile
Build and Deploy / build (push) Failing after 52s
Build and Deploy / deploy (push) Has been skipped
- Use github.actor instead of gitea.actor
- Add act-latest container for Gitea Actions
- Simplify Dockerfile to use alpine
- Remove CGO dependencies
- Fix frontend build path
2026-07-16 10:33:23 +00:00
admin 731e00855b fix: CI/CD build errors
Build and Deploy / build (push) Failing after 3s
Build and Deploy / deploy (push) Has been skipped
- Simplified go.mod with all dependencies
- Fixed generateRandomSecret function
- Updated Dockerfile to use debian bookworm
- Simplified CI workflow to single job
- Fixed Gitea Actions syntax (github.ref)
2026-07-16 09:23:24 +00:00
admin 524c404194 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
2026-07-16 08:56:38 +00:00