-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.json.example
More file actions
63 lines (61 loc) · 1.34 KB
/
config.json.example
File metadata and controls
63 lines (61 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"telegram": {
"api_id": 1234567,
"api_hash": "YOUR_API_HASH",
"session_name": "my_telegram_session",
"target_groups": [
-1001234567890
],
"fetch_chunk_size": 200,
"proxy": {
"enabled": false,
"scheme": "socks5",
"hostname": "127.0.0.1",
"port": 9050
}
},
"xray_knife": {
"path": "./xray-knife/xray-knife",
"test_args": [
"-t", "20"
],
"latency_url": "https://developers.google.com"
},
"internal_proxy": {
"enabled": false,
"selector": "speed_passed",
"max_links": 1,
"listen_host": "127.0.0.1",
"listen_port": 1080,
"xray_knife_args": []
},
"speed_test": {
"enabled": true,
"min_download_mbps": 5.0,
"max_candidates_per_location": 3
},
"github_repo": {
"enabled": true,
"github_token": "YOUR_GITHUB_PERSONAL_ACCESS_TOKEN",
"owner": "YOUR_GITHUB_USERNAME",
"repo": "YOUR_REPO_NAME",
"file_path": "path/to/subscription.txt",
"commit_message": "Update proxy subscription",
"upload_base64": false
},
"logging": {
"level": "INFO",
"file": "scanner.log",
"rotate": {
"enabled": true,
"max_bytes": 5242880,
"backup_count": 3
}
},
"database": {
"path": "servers.db",
"retest_window_hours": 6,
"max_retries": 3,
"max_servers_per_location": 10
}
}