sing-box-cli 0.0.15__tar.gz → 0.0.17__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/CHANGELOG.md +17 -0
  2. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/PKG-INFO +2 -2
  3. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/README.md +1 -1
  4. sing_box_cli-0.0.17/assets/image.png +0 -0
  5. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/pyproject.toml +1 -1
  6. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/src/sing_box_service/__init__.py +1 -1
  7. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/src/sing_box_service/main.py +2 -2
  8. sing_box_cli-0.0.15/assets/image.png +0 -0
  9. sing_box_cli-0.0.15/config/client-android.json +0 -263
  10. sing_box_cli-0.0.15/config/client-linux.json +0 -255
  11. sing_box_cli-0.0.15/config/client-server.json +0 -243
  12. sing_box_cli-0.0.15/config/client-win.json +0 -254
  13. sing_box_cli-0.0.15/config/server.json +0 -177
  14. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/.github/dependabot.yml +0 -0
  15. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/.github/workflows/main.yml +0 -0
  16. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/.gitignore +0 -0
  17. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/.pre-commit-config.yaml +0 -0
  18. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/LICENSE +0 -0
  19. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/scripts/bump.sh +0 -0
  20. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/scripts/format.sh +0 -0
  21. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/scripts/lint.sh +0 -0
  22. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/scripts/pre-commit.sh +0 -0
  23. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/src/sing_box_service/config.py +0 -0
  24. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/src/sing_box_service/py.typed +0 -0
  25. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/src/sing_box_service/service.py +0 -0
  26. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/tests/test_config.py +0 -0
  27. {sing_box_cli-0.0.15 → sing_box_cli-0.0.17}/uv.lock +0 -0
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 0.0.17 - 2025-03-10
6
+
7
+ ### 🐛 Bug Fixes
8
+
9
+ - Emoji alignment of logs
10
+
11
+ ## 0.0.16 - 2025-03-10
12
+
13
+ ### 🐛 Bug Fixes
14
+
15
+ - Start, restart logs
16
+
17
+ ### 📚 Documentation
18
+
19
+ - Update --help image of README.md
20
+ - Remove example
21
+
5
22
  ## 0.0.15 - 2025-03-10
6
23
 
7
24
  ### 🚀 Features
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sing-box-cli
3
- Version: 0.0.15
3
+ Version: 0.0.17
4
4
  Summary: cross-platform sing-box-service manager.
5
5
  Project-URL: Homepage, https://github.com/aittcuszz/sing-box-service
6
6
  Project-URL: Issues, https://github.com/atticuszz/sing-box-service/issues
@@ -47,7 +47,7 @@ Description-Content-Type: text/markdown
47
47
 
48
48
  🎤 Cross-platform sing-box service manager.
49
49
 
50
- ![](assets/image.png)
50
+ ![help](assets/image.png)
51
51
 
52
52
  ## Install
53
53
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  🎤 Cross-platform sing-box service manager.
4
4
 
5
- ![](assets/image.png)
5
+ ![help](assets/image.png)
6
6
 
7
7
  ## Install
8
8
 
Binary file
@@ -210,7 +210,7 @@ sort_commits = "oldest"
210
210
 
211
211
 
212
212
  [tool.bumpversion]
213
- current_version = "0.0.15"
213
+ current_version = "0.0.17"
214
214
  parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
215
215
  serialize = ["{major}.{minor}.{patch}"]
216
216
  search = "{current_version}"
@@ -2,4 +2,4 @@ from .main import main
2
2
 
3
3
  __all__ = ["main"]
4
4
 
5
- __version__ = "0.0.15"
5
+ __version__ = "0.0.17"
@@ -48,7 +48,7 @@ def service_enable() -> None:
48
48
  cli.ensure_root()
49
49
  cli.service.create_service()
50
50
  cli.service.start()
51
- print("✔️ Service started.")
51
+ print("🔥 Service started.")
52
52
  print("🔗 Dashboard URL: https://metacubexd.atticux.me/")
53
53
  print("🔌 Default API: http://127.0.0.1:9090")
54
54
 
@@ -75,7 +75,7 @@ def service_restart() -> None:
75
75
  else:
76
76
  print("❌ Failed to update configuration.")
77
77
  typer.Exit(1)
78
- print("✔️ Service restarted.")
78
+ print("🔥 Service restarted.")
79
79
  print("🔗 Dashboard URL: https://metacubexd.atticux.me/")
80
80
  print("🔌 Default API: http://127.0.0.1:9090")
81
81
 
Binary file
@@ -1,263 +0,0 @@
1
- {
2
- "log": {
3
- "level": "warning",
4
- "timestamp": true
5
- },
6
- "dns": {
7
- "servers": [
8
- {
9
- "tag": "dns_resolver",
10
- "address": "h3://223.6.6.6/dns-query",
11
- "detour": "direct"
12
- },
13
- {
14
- "tag": "dns_direct",
15
- "address": "h3://dns.atticux.me/dns-query/asfljsndfaoifa",
16
- "address_resolver": "dns_resolver",
17
- "detour": "direct"
18
- },
19
- {
20
- "tag": "dns_proxy",
21
- "address": "h3://dns.atticux.me/dns-query/asfljsndfaoifa",
22
- "address_resolver": "dns_resolver",
23
- "client_subnet": "137.184.125.132",
24
- "detour": "proxy"
25
- },
26
- {
27
- "tag": "dns_fakeip",
28
- "address": "fakeip"
29
- }
30
- ],
31
- "rules": [
32
- {
33
- "outbound": "any",
34
- "server": "dns_direct"
35
- },
36
- {
37
- "rule_set": "dns-filter",
38
- "action": "reject"
39
- },
40
- {
41
- "query_type": [
42
- "A",
43
- "AAAA"
44
- ],
45
- "server": "dns_fakeip"
46
- },
47
- {
48
- "rule_set": "proxy-rule",
49
- "server": "dns_proxy"
50
- },
51
- {
52
- "rule_set": "direct-rule",
53
- "server": "dns_direct"
54
- }
55
- ],
56
- "final": "dns_proxy",
57
- "reverse_mapping": true,
58
- "cache_capacity": 4096,
59
- "strategy": "prefer_ipv4",
60
- "client_subnet": "180.110.148.0/24",
61
- "fakeip": {
62
- "enabled": true,
63
- "inet4_range": "198.18.0.0/15",
64
- "inet6_range": "fc00::/18"
65
- },
66
- "independent_cache": true
67
- },
68
- "inbounds": [
69
- {
70
- "type": "tun",
71
- "tag": "tun-in",
72
- "mtu": 1492,
73
- "address": [
74
- "172.16.0.1/30",
75
- "fd00::1/126"
76
- ],
77
- "auto_route": true,
78
- "strict_route": true,
79
- "stack": "system",
80
- "platform": {
81
- "http_proxy": {
82
- "enabled": true,
83
- "server": "127.0.0.1",
84
- "server_port": 30327
85
- }
86
- }
87
- },
88
- {
89
- "type": "mixed",
90
- "tag": "mixed-in",
91
- "tcp_fast_open": true,
92
- "tcp_multi_path": true,
93
- "udp_fragment": true,
94
- "listen": "127.0.0.1",
95
- "listen_port": 30327
96
- }
97
- ],
98
- "outbounds": [
99
- {
100
- "type": "selector",
101
- "tag": "proxy",
102
- "outbounds": [
103
- "⚡San Francisco Hy2",
104
- "🌩️San Francisco WS",
105
- "🌟San Francisco WS",
106
- "direct"
107
- ],
108
- "default": "⚡San Francisco Hy2"
109
- },
110
- {
111
- "type": "direct",
112
- "tag": "direct"
113
- },
114
- {
115
- "type": "vless",
116
- "tag": "🌟San Francisco WS",
117
- "tcp_fast_open": true,
118
- "udp_fragment": true,
119
- "server": "104.19.255.210",
120
- "server_port": 2053,
121
- "uuid": "6a5f528d-1641-406f-95b8-ee9c574d79b3",
122
- "tls": {
123
- "enabled": true,
124
- "server_name": "cdn.atticux.me",
125
- "min_version": "1.3",
126
- "alpn": "h3"
127
- },
128
- "transport": {
129
- "type": "ws",
130
- "path": "/ws",
131
- "max_early_data": 2048,
132
- "headers": {
133
- "Host": "cdn.atticux.me"
134
- }
135
- }
136
- },
137
- {
138
- "type": "vless",
139
- "tag": "🌩️San Francisco WS",
140
- "server": "104.24.13.124",
141
- "server_port": 443,
142
- "uuid": "717f9e5c-9922-49a0-aa12-3fa17d63a7a8",
143
- "tls": {
144
- "enabled": true,
145
- "server_name": "worker.proxy.atticux.me"
146
- },
147
- "transport": {
148
- "type": "ws",
149
- "path": "/?ed=2560",
150
- "headers": {
151
- "Host": "worker.proxy.atticux.me"
152
- }
153
- }
154
- },
155
- {
156
- "type": "hysteria2",
157
- "tag": "⚡San Francisco Hy2",
158
- "tcp_fast_open": true,
159
- "tcp_multi_path": false,
160
- "udp_fragment": true,
161
- "server": "magic.atticux.me",
162
- "server_ports": [
163
- "40000:60000"
164
- ],
165
- "hop_interval": "300s",
166
- "up_mbps": 150,
167
- "down_mbps": 400,
168
- "password": "UptVghIUI1djt/K2wwfrYQ==",
169
- "tls": {
170
- "enabled": true,
171
- "server_name": "magic.atticux.me",
172
- "min_version": "1.3",
173
- "alpn": "h3"
174
- }
175
- }
176
- ],
177
- "route": {
178
- "rules": [
179
- {
180
- "inbound": "tun-in",
181
- "action": "sniff"
182
- },
183
- {
184
- "protocol": "dns",
185
- "action": "hijack-dns"
186
- },
187
- {
188
- "ip_is_private": true,
189
- "outbound": "direct"
190
- },
191
- {
192
- "rule_set": "proxy-rule",
193
- "outbound": "proxy"
194
- },
195
- {
196
- "protocol": "ssh",
197
- "outbound": "direct"
198
- },
199
- {
200
- "rule_set": "direct-rule",
201
- "outbound": "direct"
202
- },
203
- {
204
- "rule_set": "geoip-cn",
205
- "outbound": "direct"
206
- }
207
- ],
208
- "rule_set": [
209
- {
210
- "type": "remote",
211
- "tag": "proxy-rule",
212
- "format": "binary",
213
- "url": "https://raw.gh.atticux.me/AtticusZeller/rule-sets/main/binary/proxy.srs",
214
- "download_detour": "direct",
215
- "update_interval": "1d"
216
- },
217
- {
218
- "type": "remote",
219
- "tag": "direct-rule",
220
- "format": "binary",
221
- "url": "https://raw.gh.atticux.me/AtticusZeller/rule-sets/main/binary/direct.srs",
222
- "download_detour": "direct",
223
- "update_interval": "1d"
224
- },
225
- {
226
- "type": "remote",
227
- "tag": "geoip-cn",
228
- "format": "binary",
229
- "url": "https://raw.gh.atticux.me/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
230
- "download_detour": "direct",
231
- "update_interval": "1d"
232
- },
233
- {
234
- "type": "remote",
235
- "tag": "dns-filter",
236
- "format": "binary",
237
- "url": "https://raw.gh.atticux.me/REIJI007/AdBlock_Rule_For_Sing-box/main/adblock_reject.srs",
238
- "download_detour": "direct",
239
- "update_interval": "1d"
240
- }
241
- ],
242
- "final": "proxy",
243
- "auto_detect_interface": true,
244
- "override_android_vpn": true
245
- },
246
- "experimental": {
247
- "cache_file": {
248
- "enabled": true,
249
- "path": "cache.db",
250
- "store_fakeip": true,
251
- "store_rdrc": true
252
- },
253
- "clash_api": {
254
- "external_controller": "127.0.0.1:9090",
255
- "default_mode": "Rule",
256
- "access_control_allow_origin": [
257
- "http://127.0.0.1",
258
- "https://metacubexd.atticux.me"
259
- ],
260
- "access_control_allow_private_network": true
261
- }
262
- }
263
- }
@@ -1,255 +0,0 @@
1
- {
2
- "log": {
3
- "level": "warning",
4
- "timestamp": true
5
- },
6
- "dns": {
7
- "servers": [
8
- {
9
- "tag": "dns_resolver",
10
- "address": "h3://223.6.6.6/dns-query",
11
- "detour": "direct"
12
- },
13
- {
14
- "tag": "dns_direct",
15
- "address": "h3://dns.atticux.me/dns-query/asfljsndfaoifa",
16
- "address_resolver": "dns_resolver",
17
- "detour": "direct"
18
- },
19
- {
20
- "tag": "dns_proxy",
21
- "address": "h3://dns.atticux.me/dns-query/asfljsndfaoifa",
22
- "address_resolver": "dns_resolver",
23
- "client_subnet": "137.184.125.132",
24
- "detour": "proxy"
25
- },
26
- {
27
- "tag": "dns_fakeip",
28
- "address": "fakeip"
29
- }
30
- ],
31
- "rules": [
32
- {
33
- "outbound": "any",
34
- "server": "dns_direct"
35
- },
36
- {
37
- "rule_set": "dns-filter",
38
- "action": "reject"
39
- },
40
- {
41
- "query_type": [
42
- "A",
43
- "AAAA"
44
- ],
45
- "server": "dns_fakeip"
46
- },
47
- {
48
- "rule_set": "proxy-rule",
49
- "server": "dns_proxy"
50
- },
51
- {
52
- "rule_set": "direct-rule",
53
- "server": "dns_direct"
54
- }
55
- ],
56
- "final": "dns_proxy",
57
- "reverse_mapping": true,
58
- "cache_capacity": 4096,
59
- "strategy": "prefer_ipv4",
60
- "client_subnet": "180.110.148.0/24",
61
- "fakeip": {
62
- "enabled": true,
63
- "inet4_range": "198.18.0.0/15",
64
- "inet6_range": "fc00::/18"
65
- },
66
- "independent_cache": true
67
- },
68
- "ntp": {
69
- "enabled": true,
70
- "interval": "30m0s",
71
- "server": "time.cloudflare.com",
72
- "write_to_system": true,
73
- "server_port": 123
74
- },
75
- "inbounds": [
76
- {
77
- "type": "tun",
78
- "tag": "tun-in",
79
- "mtu": 1492,
80
- "address": [
81
- "172.16.0.1/30",
82
- "fd00::1/126"
83
- ],
84
- "auto_route": true,
85
- "strict_route": true,
86
- "auto_redirect": true,
87
- "route_exclude_address_set": "geoip-cn",
88
- "stack": "system"
89
- }
90
- ],
91
- "outbounds": [
92
- {
93
- "type": "selector",
94
- "tag": "proxy",
95
- "outbounds": [
96
- "⚡San Francisco Hy2",
97
- "🌩️San Francisco WS",
98
- "🌟San Francisco WS",
99
- "direct"
100
- ],
101
- "default": "⚡San Francisco Hy2"
102
- },
103
- {
104
- "type": "direct",
105
- "tag": "direct"
106
- },
107
- {
108
- "type": "vless",
109
- "tag": "🌟San Francisco WS",
110
- "tcp_fast_open": true,
111
- "udp_fragment": true,
112
- "server": "104.19.255.210",
113
- "server_port": 2053,
114
- "uuid": "6a5f528d-1641-406f-95b8-ee9c574d79b3",
115
- "tls": {
116
- "enabled": true,
117
- "server_name": "cdn.atticux.me",
118
- "min_version": "1.3",
119
- "alpn": "h3"
120
- },
121
- "transport": {
122
- "type": "ws",
123
- "path": "/ws",
124
- "max_early_data": 2048,
125
- "headers": {
126
- "Host": "cdn.atticux.me"
127
- }
128
- }
129
- },
130
- {
131
- "type": "vless",
132
- "tag": "🌩️San Francisco WS",
133
- "server": "104.24.13.124",
134
- "server_port": 443,
135
- "uuid": "717f9e5c-9922-49a0-aa12-3fa17d63a7a8",
136
- "tls": {
137
- "enabled": true,
138
- "server_name": "worker.proxy.atticux.me"
139
- },
140
- "transport": {
141
- "type": "ws",
142
- "path": "/?ed=2560",
143
- "headers": {
144
- "Host": "worker.proxy.atticux.me"
145
- }
146
- }
147
- },
148
- {
149
- "type": "hysteria2",
150
- "tag": "⚡San Francisco Hy2",
151
- "tcp_fast_open": true,
152
- "tcp_multi_path": false,
153
- "udp_fragment": true,
154
- "server": "magic.atticux.me",
155
- "server_ports": [
156
- "40000:60000"
157
- ],
158
- "hop_interval": "300s",
159
- "up_mbps": 150,
160
- "down_mbps": 400,
161
- "password": "UptVghIUI1djt/K2wwfrYQ==",
162
- "tls": {
163
- "enabled": true,
164
- "server_name": "magic.atticux.me",
165
- "min_version": "1.3",
166
- "alpn": "h3"
167
- }
168
- }
169
- ],
170
- "route": {
171
- "rules": [
172
- {
173
- "inbound": "tun-in",
174
- "action": "sniff"
175
- },
176
- {
177
- "protocol": "dns",
178
- "action": "hijack-dns"
179
- },
180
- {
181
- "ip_is_private": true,
182
- "outbound": "direct"
183
- },
184
- {
185
- "rule_set": "proxy-rule",
186
- "outbound": "proxy"
187
- },
188
- {
189
- "protocol": "ssh",
190
- "outbound": "direct"
191
- },
192
- {
193
- "rule_set": "direct-rule",
194
- "outbound": "direct"
195
- },
196
- {
197
- "rule_set": "geoip-cn",
198
- "outbound": "direct"
199
- }
200
- ],
201
- "rule_set": [
202
- {
203
- "type": "remote",
204
- "tag": "proxy-rule",
205
- "format": "binary",
206
- "url": "https://raw.gh.atticux.me/AtticusZeller/rule-sets/main/binary/proxy.srs",
207
- "download_detour": "direct",
208
- "update_interval": "1d"
209
- },
210
- {
211
- "type": "remote",
212
- "tag": "direct-rule",
213
- "format": "binary",
214
- "url": "https://raw.gh.atticux.me/AtticusZeller/rule-sets/main/binary/direct.srs",
215
- "download_detour": "direct",
216
- "update_interval": "1d"
217
- },
218
- {
219
- "type": "remote",
220
- "tag": "geoip-cn",
221
- "format": "binary",
222
- "url": "https://raw.gh.atticux.me/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
223
- "download_detour": "direct",
224
- "update_interval": "1d"
225
- },
226
- {
227
- "type": "remote",
228
- "tag": "dns-filter",
229
- "format": "binary",
230
- "url": "https://raw.gh.atticux.me/REIJI007/AdBlock_Rule_For_Sing-box/main/adblock_reject.srs",
231
- "download_detour": "direct",
232
- "update_interval": "1d"
233
- }
234
- ],
235
- "final": "proxy",
236
- "auto_detect_interface": true
237
- },
238
- "experimental": {
239
- "cache_file": {
240
- "enabled": true,
241
- "path": "cache.db",
242
- "store_fakeip": true,
243
- "store_rdrc": true
244
- },
245
- "clash_api": {
246
- "external_controller": "127.0.0.1:9090",
247
- "default_mode": "Rule",
248
- "access_control_allow_origin": [
249
- "http://127.0.0.1",
250
- "https://metacubexd.atticux.me"
251
- ],
252
- "access_control_allow_private_network": true
253
- }
254
- }
255
- }
@@ -1,243 +0,0 @@
1
- {
2
- "log": {
3
- "level": "info",
4
- "timestamp": true
5
- },
6
- "dns": {
7
- "servers": [
8
- {
9
- "tag": "dns_resolver",
10
- "address": "h3://223.6.6.6/dns-query",
11
- "detour": "direct"
12
- },
13
- {
14
- "tag": "dns_direct",
15
- "address": "h3://dns.atticux.me/dns-query/asfljsndfaoifa",
16
- "address_resolver": "dns_resolver",
17
- "detour": "direct"
18
- },
19
- {
20
- "tag": "dns_proxy",
21
- "address": "h3://dns.atticux.me/dns-query/asfljsndfaoifa",
22
- "address_resolver": "dns_resolver",
23
- "client_subnet": "137.184.125.132",
24
- "detour": "proxy"
25
- },
26
- {
27
- "tag": "dns_fakeip",
28
- "address": "fakeip"
29
- }
30
- ],
31
- "rules": [
32
- {
33
- "outbound": "any",
34
- "server": "dns_direct"
35
- },
36
- {
37
- "rule_set": "dns-filter",
38
- "action": "reject"
39
- },
40
- {
41
- "query_type": [
42
- "A",
43
- "AAAA"
44
- ],
45
- "server": "dns_fakeip"
46
- },
47
- {
48
- "rule_set": "proxy-rule",
49
- "server": "dns_proxy"
50
- },
51
- {
52
- "rule_set": "direct-rule",
53
- "server": "dns_direct"
54
- }
55
- ],
56
- "final": "dns_proxy",
57
- "reverse_mapping": true,
58
- "cache_capacity": 4096,
59
- "strategy": "prefer_ipv4",
60
- "client_subnet": "180.110.148.0/24",
61
- "fakeip": {
62
- "enabled": true,
63
- "inet4_range": "198.18.0.0/15",
64
- "inet6_range": "fc00::/18"
65
- },
66
- "independent_cache": true
67
- },
68
- "inbounds": [
69
- {
70
- "type": "mixed",
71
- "tag": "mixed-in",
72
- "tcp_fast_open": true,
73
- "tcp_multi_path": true,
74
- "udp_fragment": true,
75
- "listen": "127.0.0.1",
76
- "listen_port": 8080
77
- }
78
- ],
79
- "outbounds": [
80
- {
81
- "type": "selector",
82
- "tag": "proxy",
83
- "outbounds": [
84
- "⚡San Francisco Hy2",
85
- "🌩️San Francisco WS",
86
- "🌟San Francisco WS",
87
- "direct"
88
- ],
89
- "default": "⚡San Francisco Hy2"
90
- },
91
- {
92
- "type": "direct",
93
- "tag": "direct"
94
- },
95
- {
96
- "type": "vless",
97
- "tag": "🌟San Francisco WS",
98
- "tcp_fast_open": true,
99
- "udp_fragment": true,
100
- "server": "104.19.255.210",
101
- "server_port": 2053,
102
- "uuid": "6a5f528d-1641-406f-95b8-ee9c574d79b3",
103
- "tls": {
104
- "enabled": true,
105
- "server_name": "cdn.atticux.me",
106
- "min_version": "1.3",
107
- "alpn": "h3"
108
- },
109
- "transport": {
110
- "type": "ws",
111
- "path": "/ws",
112
- "max_early_data": 2048,
113
- "headers": {
114
- "Host": "cdn.atticux.me"
115
- }
116
- }
117
- },
118
- {
119
- "type": "vless",
120
- "tag": "🌩️San Francisco WS",
121
- "server": "104.24.13.124",
122
- "server_port": 443,
123
- "uuid": "717f9e5c-9922-49a0-aa12-3fa17d63a7a8",
124
- "tls": {
125
- "enabled": true,
126
- "server_name": "worker.proxy.atticux.me"
127
- },
128
- "transport": {
129
- "type": "ws",
130
- "path": "/?ed=2560",
131
- "headers": {
132
- "Host": "worker.proxy.atticux.me"
133
- }
134
- }
135
- },
136
- {
137
- "type": "hysteria2",
138
- "tag": "⚡San Francisco Hy2",
139
- "tcp_fast_open": true,
140
- "tcp_multi_path": false,
141
- "udp_fragment": true,
142
- "server": "magic.atticux.me",
143
- "server_ports": [
144
- "40000:60000"
145
- ],
146
- "hop_interval": "300s",
147
- "up_mbps": 80,
148
- "down_mbps": 125,
149
- "password": "UptVghIUI1djt/K2wwfrYQ==",
150
- "tls": {
151
- "enabled": true,
152
- "server_name": "magic.atticux.me",
153
- "min_version": "1.3",
154
- "alpn": "h3"
155
- }
156
- }
157
- ],
158
- "route": {
159
- "rules": [
160
- {
161
- "inbound": "tun-in",
162
- "action": "sniff"
163
- },
164
- {
165
- "protocol": "dns",
166
- "action": "hijack-dns"
167
- },
168
- {
169
- "ip_is_private": true,
170
- "outbound": "direct"
171
- },
172
- {
173
- "rule_set": "proxy-rule",
174
- "outbound": "proxy"
175
- },
176
- {
177
- "protocol": "ssh",
178
- "outbound": "direct"
179
- },
180
- {
181
- "rule_set": "direct-rule",
182
- "outbound": "direct"
183
- },
184
- {
185
- "rule_set": "geoip-cn",
186
- "outbound": "direct"
187
- }
188
- ],
189
- "rule_set": [
190
- {
191
- "type": "remote",
192
- "tag": "proxy-rule",
193
- "format": "binary",
194
- "url": "https://raw.gh.atticux.me/AtticusZeller/rule-sets/main/binary/proxy.srs",
195
- "download_detour": "direct",
196
- "update_interval": "1d"
197
- },
198
- {
199
- "type": "remote",
200
- "tag": "direct-rule",
201
- "format": "binary",
202
- "url": "https://raw.gh.atticux.me/AtticusZeller/rule-sets/main/binary/direct.srs",
203
- "download_detour": "direct",
204
- "update_interval": "1d"
205
- },
206
- {
207
- "type": "remote",
208
- "tag": "geoip-cn",
209
- "format": "binary",
210
- "url": "https://raw.gh.atticux.me/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
211
- "download_detour": "direct",
212
- "update_interval": "1d"
213
- },
214
- {
215
- "type": "remote",
216
- "tag": "dns-filter",
217
- "format": "binary",
218
- "url": "https://raw.gh.atticux.me/REIJI007/AdBlock_Rule_For_Sing-box/main/adblock_reject.srs",
219
- "download_detour": "direct",
220
- "update_interval": "1d"
221
- }
222
- ],
223
- "final": "proxy",
224
- "auto_detect_interface": true
225
- },
226
- "experimental": {
227
- "cache_file": {
228
- "enabled": true,
229
- "path": "cache.db",
230
- "store_fakeip": true,
231
- "store_rdrc": true
232
- },
233
- "clash_api": {
234
- "external_controller": "127.0.0.1:9090",
235
- "default_mode": "Rule",
236
- "access_control_allow_origin": [
237
- "http://127.0.0.1",
238
- "https://metacubexd.atticux.me"
239
- ],
240
- "access_control_allow_private_network": true
241
- }
242
- }
243
- }
@@ -1,254 +0,0 @@
1
- {
2
- "log": {
3
- "level": "warning",
4
- "timestamp": true
5
- },
6
- "dns": {
7
- "servers": [
8
- {
9
- "tag": "dns_resolver",
10
- "address": "h3://223.6.6.6/dns-query",
11
- "detour": "direct"
12
- },
13
- {
14
- "tag": "dns_direct",
15
- "address": "h3://dns.atticux.me/dns-query/asfljsndfaoifa",
16
- "address_resolver": "dns_resolver",
17
- "detour": "direct"
18
- },
19
- {
20
- "tag": "dns_proxy",
21
- "address": "h3://dns.atticux.me/dns-query/asfljsndfaoifa",
22
- "address_resolver": "dns_resolver",
23
- "client_subnet": "137.184.125.132",
24
- "detour": "proxy"
25
- },
26
- {
27
- "tag": "dns_fakeip",
28
- "address": "fakeip"
29
- }
30
- ],
31
- "rules": [
32
- {
33
- "outbound": "any",
34
- "server": "dns_direct"
35
- },
36
- {
37
- "rule_set": "dns-filter",
38
- "action": "reject"
39
- },
40
- {
41
- "query_type": [
42
- "A",
43
- "AAAA"
44
- ],
45
- "server": "dns_fakeip"
46
- },
47
- {
48
- "rule_set": "proxy-rule",
49
- "server": "dns_proxy"
50
- },
51
- {
52
- "rule_set": "direct-rule",
53
- "server": "dns_direct"
54
- }
55
- ],
56
- "final": "dns_proxy",
57
- "reverse_mapping": true,
58
- "cache_capacity": 4096,
59
- "strategy": "prefer_ipv4",
60
- "client_subnet": "180.110.148.0/24",
61
- "fakeip": {
62
- "enabled": true,
63
- "inet4_range": "198.18.0.0/15",
64
- "inet6_range": "fc00::/18"
65
- },
66
- "independent_cache": true
67
- },
68
- "ntp": {
69
- "enabled": true,
70
- "interval": "30m0s",
71
- "server": "time.cloudflare.com",
72
- "write_to_system": true,
73
- "server_port": 123
74
- },
75
- "inbounds": [
76
- {
77
- "type": "tun",
78
- "tag": "tun-in",
79
- "mtu": 1492,
80
- "address": [
81
- "172.16.0.1/30",
82
- "fd00::1/126"
83
- ],
84
- "auto_route": true,
85
- "strict_route": true,
86
- "route_exclude_address_set": "geoip-cn",
87
- "stack": "system"
88
- }
89
- ],
90
- "outbounds": [
91
- {
92
- "type": "selector",
93
- "tag": "proxy",
94
- "outbounds": [
95
- "⚡San Francisco Hy2",
96
- "🌩️San Francisco WS",
97
- "🌟San Francisco WS",
98
- "direct"
99
- ],
100
- "default": "⚡San Francisco Hy2"
101
- },
102
- {
103
- "type": "direct",
104
- "tag": "direct"
105
- },
106
- {
107
- "type": "vless",
108
- "tag": "🌟San Francisco WS",
109
- "tcp_fast_open": true,
110
- "udp_fragment": true,
111
- "server": "104.19.255.210",
112
- "server_port": 2053,
113
- "uuid": "6a5f528d-1641-406f-95b8-ee9c574d79b3",
114
- "tls": {
115
- "enabled": true,
116
- "server_name": "cdn.atticux.me",
117
- "min_version": "1.3",
118
- "alpn": "h3"
119
- },
120
- "transport": {
121
- "type": "ws",
122
- "path": "/ws",
123
- "max_early_data": 2048,
124
- "headers": {
125
- "Host": "cdn.atticux.me"
126
- }
127
- }
128
- },
129
- {
130
- "type": "vless",
131
- "tag": "🌩️San Francisco WS",
132
- "server": "104.24.13.124",
133
- "server_port": 443,
134
- "uuid": "717f9e5c-9922-49a0-aa12-3fa17d63a7a8",
135
- "tls": {
136
- "enabled": true,
137
- "server_name": "worker.proxy.atticux.me"
138
- },
139
- "transport": {
140
- "type": "ws",
141
- "path": "/?ed=2560",
142
- "headers": {
143
- "Host": "worker.proxy.atticux.me"
144
- }
145
- }
146
- },
147
- {
148
- "type": "hysteria2",
149
- "tag": "⚡San Francisco Hy2",
150
- "tcp_fast_open": true,
151
- "tcp_multi_path": false,
152
- "udp_fragment": true,
153
- "server": "magic.atticux.me",
154
- "server_ports": [
155
- "40000:60000"
156
- ],
157
- "hop_interval": "300s",
158
- "up_mbps": 150,
159
- "down_mbps": 400,
160
- "password": "UptVghIUI1djt/K2wwfrYQ==",
161
- "tls": {
162
- "enabled": true,
163
- "server_name": "magic.atticux.me",
164
- "min_version": "1.3",
165
- "alpn": "h3"
166
- }
167
- }
168
- ],
169
- "route": {
170
- "rules": [
171
- {
172
- "inbound": "tun-in",
173
- "action": "sniff"
174
- },
175
- {
176
- "protocol": "dns",
177
- "action": "hijack-dns"
178
- },
179
- {
180
- "ip_is_private": true,
181
- "outbound": "direct"
182
- },
183
- {
184
- "rule_set": "proxy-rule",
185
- "outbound": "proxy"
186
- },
187
- {
188
- "protocol": "ssh",
189
- "outbound": "direct"
190
- },
191
- {
192
- "rule_set": "direct-rule",
193
- "outbound": "direct"
194
- },
195
- {
196
- "rule_set": "geoip-cn",
197
- "outbound": "direct"
198
- }
199
- ],
200
- "rule_set": [
201
- {
202
- "type": "remote",
203
- "tag": "proxy-rule",
204
- "format": "binary",
205
- "url": "https://raw.gh.atticux.me/AtticusZeller/rule-sets/main/binary/proxy.srs",
206
- "download_detour": "direct",
207
- "update_interval": "1d"
208
- },
209
- {
210
- "type": "remote",
211
- "tag": "direct-rule",
212
- "format": "binary",
213
- "url": "https://raw.gh.atticux.me/AtticusZeller/rule-sets/main/binary/direct.srs",
214
- "download_detour": "direct",
215
- "update_interval": "1d"
216
- },
217
- {
218
- "type": "remote",
219
- "tag": "geoip-cn",
220
- "format": "binary",
221
- "url": "https://raw.gh.atticux.me/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
222
- "download_detour": "direct",
223
- "update_interval": "1d"
224
- },
225
- {
226
- "type": "remote",
227
- "tag": "dns-filter",
228
- "format": "binary",
229
- "url": "https://raw.gh.atticux.me/REIJI007/AdBlock_Rule_For_Sing-box/main/adblock_reject.srs",
230
- "download_detour": "direct",
231
- "update_interval": "1d"
232
- }
233
- ],
234
- "final": "proxy",
235
- "auto_detect_interface": true
236
- },
237
- "experimental": {
238
- "cache_file": {
239
- "enabled": true,
240
- "path": "cache.db",
241
- "store_fakeip": true,
242
- "store_rdrc": true
243
- },
244
- "clash_api": {
245
- "external_controller": "127.0.0.1:9090",
246
- "default_mode": "Rule",
247
- "access_control_allow_origin": [
248
- "http://127.0.0.1",
249
- "https://metacubexd.atticux.me"
250
- ],
251
- "access_control_allow_private_network": true
252
- }
253
- }
254
- }
@@ -1,177 +0,0 @@
1
- {
2
- "log": {
3
- "level": "info",
4
- "timestamp": true
5
- },
6
- "inbounds": [
7
- {
8
- "type": "hysteria2",
9
- "tag": "hy2-in",
10
- "listen": "::",
11
- "listen_port": 8443,
12
- "tcp_fast_open": true,
13
- "udp_fragment": true,
14
- "users": [
15
- {
16
- "name": "atticux",
17
- "password": "UptVghIUI1djt/K2wwfrYQ=="
18
- }
19
- ],
20
- "tls": {
21
- "enabled": true,
22
- "certificate_path": "/root/cert-CF/magic.atticux.me/fullchain.pem",
23
- "key_path": "/root/cert-CF/magic.atticux.me/privkey.pem",
24
- "min_version": "1.3",
25
- "alpn": "h3"
26
- },
27
- "brutal_debug": true,
28
- "ignore_client_bandwidth": false
29
- },
30
- {
31
- "type": "vless",
32
- "tag": "vless-in",
33
- "listen": "::",
34
- "listen_port": 2053,
35
- "users": [
36
- {
37
- "name": "7zfzp3n5",
38
- "uuid": "6a5f528d-1641-406f-95b8-ee9c574d79b3",
39
- "flow": ""
40
- }
41
- ],
42
- "tls": {
43
- "enabled": true,
44
- "certificate_path": "/root/cert-CF/cdn.atticux.me/fullchain.pem",
45
- "key_path": "/root/cert-CF/cdn.atticux.me/privkey.pem",
46
- "min_version": "1.3",
47
- "alpn": [
48
- "h3",
49
- "h2"
50
- ]
51
- },
52
- "transport": {
53
- "type": "ws",
54
- "path": "/ws",
55
- "max_early_data": 2048
56
- }
57
- }
58
- ],
59
- "outbounds": [
60
- {
61
- "type": "direct",
62
- "tag": "direct"
63
- }
64
- ],
65
- "endpoints": [
66
- {
67
- "type": "wireguard",
68
- "tag": "warp-out",
69
- "mtu": 1280,
70
- "address": [
71
- "104.23.96.99/32",
72
- "104.23.99.59/32"
73
- ],
74
- "private_key": "eMMwlJQ94C9Fv9punQqY3/cglivO0g5SwPOruAulJHI=",
75
- "peers": [
76
- {
77
- "address": "engage.cloudflareclient.com",
78
- "port": 2408,
79
- "public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
80
- "allowed_ips": [
81
- "0.0.0.0/0",
82
- "::/0"
83
- ]
84
- }
85
- ]
86
- }
87
- ],
88
- "route": {
89
- "rules": [
90
- {
91
- "action": "sniff"
92
- },
93
- {
94
- "domain_suffix": [
95
- "kaggle.com",
96
- "scholar.google.com"
97
- ],
98
- "outbound": "direct"
99
- },
100
- {
101
- "rule_set": [
102
- "geosite-google",
103
- "geosite-youtube",
104
- "geosite-openai",
105
- "geosite-instagram",
106
- "geosite-microsoft"
107
- ],
108
- "outbound": "warp-out"
109
- },
110
- {
111
- "ip_is_private": true,
112
- "action": "reject",
113
- "method": "default"
114
- },
115
- {
116
- "rule_set": [
117
- "geoip-cn",
118
- "geosite-cn"
119
- ],
120
- "action": "reject",
121
- "method": "default"
122
- }
123
- ],
124
- "rule_set": [
125
- {
126
- "type": "remote",
127
- "tag": "geoip-cn",
128
- "format": "binary",
129
- "url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
130
- "download_detour": "direct"
131
- },
132
- {
133
- "type": "remote",
134
- "tag": "geosite-cn",
135
- "format": "binary",
136
- "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs",
137
- "download_detour": "direct"
138
- },
139
- {
140
- "type": "remote",
141
- "tag": "geosite-google",
142
- "format": "binary",
143
- "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-google.srs",
144
- "download_detour": "direct"
145
- },
146
- {
147
- "type": "remote",
148
- "tag": "geosite-youtube",
149
- "format": "binary",
150
- "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-youtube.srs",
151
- "download_detour": "direct"
152
- },
153
- {
154
- "type": "remote",
155
- "tag": "geosite-openai",
156
- "format": "binary",
157
- "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-openai.srs",
158
- "download_detour": "direct"
159
- },
160
- {
161
- "type": "remote",
162
- "tag": "geosite-instagram",
163
- "format": "binary",
164
- "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-instagram.srs",
165
- "download_detour": "direct"
166
- },
167
- {
168
- "type": "remote",
169
- "tag": "geosite-microsoft",
170
- "format": "binary",
171
- "url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-microsoft.srs",
172
- "download_detour": "direct"
173
- }
174
- ],
175
- "final": "direct"
176
- }
177
- }
File without changes
File without changes
File without changes