feat: add standalone CLI project
This commit is contained in:
54
config/sync_config.example.json
Executable file
54
config/sync_config.example.json
Executable file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"proxy": "",
|
||||
"auto_register": false,
|
||||
"mail_providers": [
|
||||
"mailtm"
|
||||
],
|
||||
"mail_provider_configs": {
|
||||
"mailtm": {
|
||||
"api_base": "https://api.mail.tm"
|
||||
},
|
||||
"duckmail": {
|
||||
"api_base": "https://api.duckmail.sbs"
|
||||
},
|
||||
"moemail": {
|
||||
"api_base": "",
|
||||
"api_key": ""
|
||||
},
|
||||
"cloudflare_temp_email": {
|
||||
"api_base": "cloudflare worker后端密码,不要弄成前端的",
|
||||
"admin_password": "管理员密码",
|
||||
"domain": "xxx.cn 邮箱域名后缀"
|
||||
}
|
||||
},
|
||||
"mail_strategy": "round_robin",
|
||||
"multithread": false,
|
||||
"thread_count": 3,
|
||||
"base_url": "https://your-sub2api.example.com",
|
||||
"bearer_token": "",
|
||||
"email": "admin@example.com",
|
||||
"password": "",
|
||||
"account_name": "AutoReg",
|
||||
"auto_sync": false,
|
||||
"sub2api_min_candidates": 200,
|
||||
"sub2api_auto_maintain": false,
|
||||
"sub2api_maintain_interval_minutes": 30,
|
||||
"sub2api_maintain_actions": {
|
||||
"refresh_abnormal_accounts": true,
|
||||
"delete_abnormal_accounts": true,
|
||||
"dedupe_duplicate_accounts": true
|
||||
},
|
||||
"cpa_base_url": "https://your-cpa.example.com",
|
||||
"cpa_token": "",
|
||||
"min_candidates": 1000,
|
||||
"used_percent_threshold": 95,
|
||||
"auto_maintain": true,
|
||||
"maintain_interval_minutes": 30,
|
||||
"upload_mode": "snapshot",
|
||||
"proxy_pool_enabled": false,
|
||||
"proxy_pool_api_url": "https://zenproxy.top/api/fetch",
|
||||
"proxy_pool_auth_mode": "header",
|
||||
"proxy_pool_api_key": "",
|
||||
"proxy_pool_count": 1,
|
||||
"proxy_pool_country": "US"
|
||||
}
|
||||
Reference in New Issue
Block a user