Commit Graph

4 Commits

Author SHA1 Message Date
5488395a14 Fix Dockerfile: Update Debian packages for OpenCV compatibility
All checks were successful
Auto Build and Push Docker Image / build (push) Successful in 1m11s
Changes:
- Replace libgl1-mesa-glx with libgl1
- Add libsm6, libxext6, libxrender-dev for OpenCV
- Add libgomp1 for OpenMP support
- Better package selection for python:3.11-slim base
2026-03-25 09:28:15 +00:00
144149f45d Fix Dockerfile: Switch from Alpine to Debian Slim for better Python package compatibility
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 12s
Changes:
- Use python:3.11-slim instead of python:3.11-alpine
- Install libgl1-mesa-glx and libglib2.0-0 for rembg dependencies
- Remove gcc and musl-dev (not needed in Debian)
- Fixes build errors with opencv-python-headless, numba, and llvmlite
- Debian provides better support for Python packages with C extensions
2026-03-25 09:27:02 +00:00
coding
0c78512445 Add optimized Gitea CI/CD workflows for Docker builds
Some checks failed
Auto Build and Push Docker Image / build (push) Failing after 1m17s
Features:
- docker-autobuild.yaml: Automated builds on push to main/master
  - Path ignores for markdown/docs files
  - Docker Buildx with caching support
  - Automatic cleanup after builds

- docker-build.yaml: Manual builds with flexible options
  - Custom version tags
  - Additional tags support (e.g., stable,production)
  - Toggle latest tag
  - Docker Buildx with layer caching

Both workflows:
- Use registry credentials from Gitea secrets
- Support local registry at 192.168.88.201:5000
- Proper login/logout handling
- Optimized for sticker-bot project
2026-03-25 09:20:29 +00:00
coding
f634b884ec Initial commit: Telegram Sticker Bot Manager
Features:
- Create and manage sticker packs
- Add existing sticker sets to database
- Automatic image optimization (512px, WebP conversion)
- GIF to animated video sticker conversion (WebM, VP9)
- Background removal (local rembg + optional Remove.bg API)
- Hybrid API with retry logic and usage tracking
- Premium status detection
- SQLite database for persistence
- Docker containerization
- Complete OPENCODE.md documentation

Technical Stack:
- python-telegram-bot 22.7
- Pillow for image processing
- FFmpeg for video conversion
- rembg for local background removal
- aiosqlite for async database operations
2026-03-25 08:59:38 +00:00