Commit Graph

9 Commits

Author SHA1 Message Date
admin c9f6a30f28 ci: add DEPLOY_PATH secret for flexible deployment directory
Build and Deploy / build (push) Successful in 2m44s
Build and Deploy / deploy (push) Successful in 8s
2026-07-17 00:11:23 +00:00
admin 4376cf936a ci: auto-create docker-compose.yml if not exists on deploy
Build and Deploy / deploy (push) Has been cancelled
Build and Deploy / build (push) Has been cancelled
2026-07-17 00:10:11 +00:00
admin 6500719689 ci: enable auto-deploy on main branch push, use docker compose v2
Build and Deploy / deploy (push) Has been cancelled
Build and Deploy / build (push) Has been cancelled
2026-07-17 00:07:09 +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 a79e8fb853 fix: rename GITEA_TOKEN to TOKEN
Build and Deploy / build (push) Failing after 6s
Build and Deploy / deploy (push) Has been skipped
2026-07-16 10:24:04 +00:00
admin 882473eebb fix: use gitea.actor for username instead of variable
Build and Deploy / build (push) Failing after 3s
Build and Deploy / deploy (push) Has been skipped
2026-07-16 10:21:05 +00:00
admin 3df52e1265 fix: use Gitea Container Registry instead of Aliyun
Build and Deploy / build (push) Failing after 6s
Build and Deploy / deploy (push) Has been skipped
- Changed registry from Aliyun to git.viaeon.com
- Use GITEA_TOKEN secret for authentication
- Use GITEA_USERNAME variable for username
- Image name: git.viaeon.com/admin/anticaptcha
2026-07-16 10:16:29 +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