Skip to content

Commit 9d58f16

Browse files
committed
feat: 添加多个工作模块以支持 WeatherKit 功能
1 parent 4232d15 commit 9d58f16

5 files changed

Lines changed: 143 additions & 0 deletions
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!name =  iRingo: 🌤 WeatherKit (Rewrite)
2+
#!desc = iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据\n4.添加天气数据
3+
#!openUrl = http://boxjs.com/#/app/iRingo.WeatherKit
4+
#!author = VirgilClyne[https://github.com/VirgilClyne],WordlessEcho[https://github.com/WordlessEcho],001[https://github.com/001ProMax]
5+
#!homepage = https://NSRingo.github.io/guide/Weather/weather-kit
6+
#!icon = https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png
7+
#!tag =  iRingo
8+
#!system = iOS,iPadOS,macOS,watchOS
9+
#!date = 2026-03-12 09:39:04
10+
#!system_version = 18
11+
12+
[Rule]
13+
DOMAIN,weather-analytics-events.apple.com,REJECT-DROP
14+
DOMAIN-SUFFIX,tthr.apple.com,REJECT-DROP
15+
DOMAIN,tether.edge.apple,REJECT-DROP
16+
AND,((OR,((IP-ASN,714,no-resolve),(IP-ASN,6185,no-resolve))),(PROTOCOL,QUIC)),REJECT-DROP
17+
18+
[URL Rewrite]
19+
# 🌤 WeatherKit.api.v1.availability.response
20+
^https?:\/\/weatherkit\.apple\.com\/api\/v1\/availability\/ https://weatherkit.nanocat.cloud/api/v1/availability/ header
21+
# 🌤 WeatherKit.api.v2.weather.response
22+
^https?:\/\/weatherkit\.apple\.com\/api\/v2\/weather\/ https://weatherkit.nanocat.cloud/api/v2/weather/ header
23+
24+
[MITM]
25+
hostname = weatherkit.apple.com
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!name =  iRingo: 🌤 WeatherKit (Rewrite)
2+
#!desc = iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据\n4.添加天气数据
3+
#!openUrl = http://boxjs.com/#/app/iRingo.WeatherKit
4+
#!author = VirgilClyne[https://github.com/VirgilClyne],WordlessEcho[https://github.com/WordlessEcho],001[https://github.com/001ProMax]
5+
#!homepage = https://NSRingo.github.io/guide/Weather/weather-kit
6+
#!icon = https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png
7+
#!category =  iRingo
8+
#!date = 2026-03-12 09:39:04
9+
10+
[Rule]
11+
DOMAIN,weather-analytics-events.apple.com,REJECT-DROP
12+
DOMAIN-SUFFIX,tthr.apple.com,REJECT-DROP
13+
DOMAIN,tether.edge.apple,REJECT-DROP
14+
AND,((OR,((IP-ASN,714,no-resolve),(IP-ASN,6185,no-resolve))),(PROTOCOL,QUIC)),REJECT-DROP
15+
16+
[URL Rewrite]
17+
# 🌤 WeatherKit.api.v1.availability.response
18+
^https?:\/\/weatherkit\.apple\.com\/api\/v1\/availability\/ https://weatherkit.nanocat.cloud/api/v1/availability/ header
19+
# 🌤 WeatherKit.api.v2.weather.response
20+
^https?:\/\/weatherkit\.apple\.com\/api\/v2\/weather\/ https://weatherkit.nanocat.cloud/api/v2/weather/ header
21+
22+
[MITM]
23+
hostname = %APPEND% weatherkit.apple.com
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!name =  iRingo: 🌤 WeatherKit (Rewrite)
2+
#!desc = iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据\n4.添加天气数据
3+
#!openUrl = http://boxjs.com/#/app/iRingo.WeatherKit
4+
#!author = VirgilClyne[https://github.com/VirgilClyne],WordlessEcho[https://github.com/WordlessEcho],001[https://github.com/001ProMax]
5+
#!homepage = https://NSRingo.github.io/guide/Weather/weather-kit
6+
#!icon = https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png
7+
#!category =  iRingo
8+
#!date = 2026-03-12 09:39:04
9+
10+
[Rule]
11+
DOMAIN,weather-analytics-events.apple.com,REJECT-DROP
12+
DOMAIN-SUFFIX,tthr.apple.com,REJECT-DROP
13+
DOMAIN,tether.edge.apple,REJECT-DROP
14+
AND,((OR,((IP-ASN,714,no-resolve),(IP-ASN,6185,no-resolve))),(PROTOCOL,QUIC)),REJECT-DROP
15+
16+
[URL Rewrite]
17+
# 🌤 WeatherKit.api.v1.availability.response
18+
^https?:\/\/weatherkit\.apple\.com\/api\/v1\/availability\/ https://weatherkit.nanocat.cloud/api/v1/availability/ header
19+
# 🌤 WeatherKit.api.v2.weather.response
20+
^https?:\/\/weatherkit\.apple\.com\/api\/v2\/weather\/ https://weatherkit.nanocat.cloud/api/v2/weather/ header
21+
22+
[MITM]
23+
hostname = %APPEND% weatherkit.apple.com
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: " iRingo: 🌤 WeatherKit" (Rewrite)
2+
desc: |-
3+
iOS 18 & macOS 15 & watchOS 11
4+
1.解锁全部天气功能
5+
2.替换空气质量数据
6+
3.添加下一小时降水数据
7+
4.添加天气数据
8+
openUrl: "http://boxjs.com/#/app/iRingo.WeatherKit"
9+
author: |-
10+
VirgilClyne[https://github.com/VirgilClyne]
11+
WordlessEcho[https://github.com/WordlessEcho]
12+
001[https://github.com/001ProMax]
13+
homepage: "https://NSRingo.github.io/guide/Weather/weather-kit"
14+
icon: "https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png"
15+
category: " iRingo"
16+
date: "2026-03-12 09:39:04"
17+
18+
rules:
19+
- DOMAIN,weather-analytics-events.apple.com,REJECT-DROP
20+
- DOMAIN-SUFFIX,tthr.apple.com,REJECT-DROP
21+
- DOMAIN,tether.edge.apple,REJECT-DROP
22+
- AND,((OR,((IP-ASN,714,no-resolve),(IP-ASN,6185,no-resolve))),(PROTOCOL,QUIC)),REJECT-DROP
23+
24+
http:
25+
mitm:
26+
- "weatherkit.apple.com"
27+
url-rewrite:
28+
# 🌤 WeatherKit.api.v1.availability.response
29+
- ^https?:\/\/weatherkit\.apple\.com\/api\/v1\/availability\/ https://weatherkit.nanocat.cloud/api/v1/availability/ transparent
30+
# 🌤 WeatherKit.api.v2.weather.response
31+
- ^https?:\/\/weatherkit\.apple\.com\/api\/v2\/weather\/ https://weatherkit.nanocat.cloud/api/v2/weather/ transparent
32+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: ' iRingo: 🌤 WeatherKit (Rewrite)'
2+
description: iOS 18 & macOS 15 & watchOS 11\n1.解锁全部天气功能\n2.替换空气质量数据\n3.添加下一小时降水数据\n4.添加天气数据
3+
open_url: http://boxjs.com/#/app/iRingo.WeatherKit
4+
author: VirgilClyne[https://github.com/VirgilClyne],WordlessEcho[https://github.com/WordlessEcho],001[https://github.com/001ProMax]
5+
homepage: https://NSRingo.github.io/guide/Weather/weather-kit
6+
icon: https://developer.apple.com/assets/elements/icons/weatherkit/weatherkit-128x128.png
7+
rules:
8+
- domain:
9+
match: weather-analytics-events.apple.com
10+
policy: REJECT
11+
- domain_suffix:
12+
match: tthr.apple.com
13+
policy: REJECT
14+
- domain:
15+
match: tether.edge.apple
16+
policy: REJECT
17+
- and:
18+
match:
19+
- or:
20+
match:
21+
- asn:
22+
match: '714'
23+
no_resolve: true
24+
- asn:
25+
match: '6185'
26+
no_resolve: true
27+
- protocol:
28+
match: QUIC
29+
policy: REJECT-DROP
30+
url_rewrites:
31+
- match: ^https?:\/\/weatherkit\.apple\.com\/api\/v1\/availability\/
32+
location: https://weatherkit.nanocat.cloud/api/v1/availability/
33+
status_code: 307
34+
- match: ^https?:\/\/weatherkit\.apple\.com\/api\/v2\/weather\/
35+
location: https://weatherkit.nanocat.cloud/api/v2/weather/
36+
status_code: 307
37+
mitm:
38+
hostnames:
39+
includes:
40+
- weatherkit.apple.com

0 commit comments

Comments
 (0)