27 Commits
Author SHA1 Message Date
lij768423-svg 08f732bab2 fix: honor GROK2API_BASE_URL in quality-guard sidecar
The sidecar default remains http://grok2api:8000 for Compose DNS.
Override the env when the main service is renamed or published on host
networking.
2026-08-17 22:20:01 +08:00
Chenyme 61010b4bc2 feat: add reliable on-demand Cloudflare Clearance refresh 2026-08-13 21:21:50 +08:00
Chenyme 56072a50b4 feat: support PostgreSQL connection URL from environment 2026-08-04 21:11:06 +08:00
Chenyme 69e5fdd82f feat: integrate egress quality guard with managed identity and Compose 2026-08-04 14:48:50 +08:00
Chenyme 3d7159a3cd feat: streamline egress proxy management and dual-stack cleanup 2026-07-27 18:06:23 +08:00
LLwill 46483ab241 feat: add managed FlareSolverr clearance 2026-07-20 17:34:51 +08:00
Chenyme 9244306352 fix: separate Grok Build and Web proxy transports 2026-07-13 23:21:07 +08:00
Chenyme a16837c9ea feat: Refactor the project using Go to support Grok Build & Grok Web. 2026-07-13 15:28:07 +08:00
Chenyme b407443820 refactor: update configuration and improve account management features
- Removed unnecessary environment variable patterns from .gitignore.
- Renamed configuration keys in config.defaults.toml for clarity (function_enabled to webui_enabled, function_key to webui_key).
- Increased usage concurrency limit from 10 to 50 in AccountRefreshService.
- Updated docker-compose.yml to remove default Redis URL.
- Enhanced Dockerfile for better build efficiency and added health check.
- Removed deprecated aiofiles dependency and updated other dependencies in pyproject.toml.
- Deleted outdated readme.md file.
- Improved account management logic in various modules, including state machine and refresh service.
- Added support for new quota management features and improved logging for account refresh operations.
2026-04-10 00:19:25 +08:00
Chenyme f5a1407aa3 refactor: update projects and remove legacy components 2026-04-08 17:00:00 +08:00
Chenyme 9fc9ebb4a1 chore: add SERVER_STORAGE_URL environment variable to docker-compose and improve error handling in saveConfig function 2026-03-05 18:06:52 +08:00
highkay 2bead4bba6 chore(docker): replace uvicorn with granian 2026-03-05 13:12:31 +08:00
crmmc f6f049f1cb fix(): decouple compose host/app ports and update README guidance 2026-03-04 22:10:05 +08:00
John Howe 2c4d888846 refactor: comment out warp by default, add usage note for clean exit IP 2026-03-01 10:30:43 +08:00
John Howe 74a8fb7bd4 refactor: remove emoji from logs, comment out flaresolverr by default
- Remove all emoji from cf_refresh log messages
- Comment out flaresolverr service entirely (not started by default)
- Simplify enable instructions: uncomment env vars + flaresolverr block
2026-03-01 10:28:54 +08:00
John Howe fc37404ebe refactor: remove emoji from logs, make flaresolverr optional via profiles
- Remove all emoji from cf_refresh log messages
- Add Docker Compose profiles to flaresolverr (only starts with --profile cf-refresh)
- Default: docker compose up starts grok2api + warp only, no 500MB Chrome process
- CF refresh stays disabled unless explicitly configured
2026-03-01 10:25:32 +08:00
John Howe a4e7b96d29 fix: remove nginx, restore imagine_fast selects, clean up docker-compose
- Remove nginx service and nginx/ directory (not in main branch)
- Restore imagine_fast size/response_format select inputs
- Revert grok2api to ports: 8000:8000 (direct expose)
- Remove dev-testing source mounts from docker-compose
- Restore warp port to 1080
2026-03-01 10:16:42 +08:00
John Howe 219125ffb9 fix: disable CF auto-refresh by default in docker-compose
Comment out FLARESOLVERR_URL env vars so CF refresh is not auto-enabled
on first docker compose up. Users can enable it by uncommenting the env
vars or toggling it in the admin panel.
2026-03-01 10:08:47 +08:00
John Howe b85b87072b fix: use loguru logging, empty default flaresolverr_url, add nginx config, mount local source
- Switch cf_refresh module from stdlib logging to loguru for consistent log output
- Set flaresolverr_url default to empty so FLARESOLVERR_URL env var triggers auto-enable
- Add nginx/conf/default.conf with SSE streaming support
- Mount local source files in docker-compose for development testing
- Change warp port to 1180 to avoid local conflict
2026-03-01 10:02:35 +08:00
John Howe 26504b672f feat: add cf_refresh auto-refresh module and full Docker Compose deployment
- Add app/services/cf_refresh/ module (FlareSolverr-based cf_clearance auto-refresh)
- Integrate CF refresh startup/shutdown in main.py lifespan
- Add CF refresh config entries in config.defaults.toml (enabled, flaresolverr_url, refresh_interval, timeout)
- Update headers.py to use cf_cookies from FlareSolverr instead of single cf_clearance
- Add admin panel CF refresh UI with toggle-linked field disabling
- Docker Compose: add warp (SOCKS proxy), nginx (reverse proxy), flaresolverr containers
2026-03-01 09:48:13 +08:00
Chenyme 94582265c1 feat: optimize initialization services and configurations 2026-02-02 21:16:50 +08:00
Chenyme 1dbe5d2525 refactor: project overall architecture and logic 2026-02-02 14:48:54 +08:00
Chenyme 318f615a02 feat: update docker-entrypoint.sh 2025-12-19 11:51:52 +08:00
Chenyme 024328d26c docs: update readme.md 2025-10-15 17:37:01 +08:00
Chenyme bb945854db feat: support the redis 2025-10-15 17:29:47 +08:00
Chenyme f612156e8e feat: support the mysql 2025-10-15 14:50:56 +08:00
Chenyme ba617455f0 release: the first version 2025-10-10 16:59:56 +08:00