• Stars
    star
    583
  • Rank 76,663 (Top 2 %)
  • Language
    JavaScript
  • License
    GNU Affero Genera...
  • Created almost 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

由 Sukka 搜集、整理、维护的、个人自用的、仅适用于 Surge 的 Rule Snippet

Surge

Sukka 搜集、整理、维护的、个人自用的、仅适用于 Surge 的 Rule Snippet。

条款和协议

本项目除 List/ip/china_ip.conf 文件使用 CC BY-SA 2.0 协议分享以外,均使用 AGPL-3.0 协议开源,不提供任何担保,即:本项目的作者和所有贡献者不会提供任何技术支持,也不会对你的任何损失负责,包括但不限于:你的软件无法启动和正常工作、Kernel Panic、设备无法开机或正常使用、硬盘损坏或数据丢失、原子弹爆炸、第三次世界大战、SCP 基金会 无法阻止的全球 CK 级现实重构等。

如果你正在使用商业性质的公共代理服务,请务必先仔细阅读相关服务商的 服务条款与条件(ToS)。部分公共代理服务商的服务条款与条件规定,如果用户使用任何第三方规则文件将会被视为自动放弃 SLA 和技术支持服务。

如果你从 Sukka 提供的 Surge Ruleset Server(https://ruleset.skk.moe)获取本项目中的规则组文件,则意味着你已知晓并同意 隐私政策 中的所有条款。如果你不同意,请通过 GitHub 获取本项目中的源码、自行构建规则组文件。

规则组列表

请按照 non_ipip,和 README 中的顺序 将规则组添加到你的配置文件中。

Surge 和 Clash 会按照规则在配置中的顺序、从上到下逐一匹配,当且仅当进行 IP 规则的匹配、FINAL、或 direct 策略时,才会进行 DNS 解析。按照一定的顺序添加规则组,可以避免不必要的 DNS 解析。

广告拦截 / 隐私保护 / Malware 拦截 / Phiishing 拦截

RULE-SET,https://ruleset.skk.moe/List/non_ip/reject.conf,REJECT
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject.conf,REJECT-TINYGIF
DOMAIN-SET,https://ruleset.skk.moe/List/domainset/reject_phishing.conf,REJECT
RULE-SET,https://ruleset.skk.moe/List/ip/reject.conf,REJECT-DROP
  • 自动生成
  • 数据来源、白名单域名列表和生成方式,请参考 build-reject-domainset.js
  • 仅建议在 Surge for Mac 上使用,移动平台请使用专门的工具(如 ADGuard for Android/iOS)以获得更好的性能
  • 不能替代浏览器广告屏蔽扩展(如 uBlock Origin)

搜狗输入法

RULE-SET,https://ruleset.skk.moe/List/non_ip/sogouinput.conf,
  • 人工维护
  • 该规则组用于避免搜狗输入法将你输入的每一个字符自动收集并通过 get.sogou.com/q 等域名回传
  • 影响搜狗输入法账号同步、词库更新、问题反馈

常见静态 CDN

DOMAIN-SET,https://ruleset.skk.moe/List/domainset/cdn.conf,[Replace with your policy]
RULE-SET,https://ruleset.skk.moe/List/non_ip/cdn.conf,[Replace with your policy]
  • 自动生成 + 人工维护
  • 包含所有常见静态资源 CDN 域名、对象存储域名
  • 如果你正在使用商业性质的公共代理服务、且你的服务商提供按低倍率结算流量消耗的节点,可使用上述规则组将流量分配给这部分节点

流媒体

RULE-SET,https://ruleset.skk.moe/List/non_ip/stream.conf,[Replace with your policy]
RULE-SET,https://ruleset.skk.moe/List/ip/stream.conf,[Replace with your policy]
  • 人工维护
  • 包含 4gtv、AbemaTV、All4、Amazon Prime Video、Apple TV、Apple Music TV、Bahamut、BBC、Bilibili Intl、DAZN、Deezer、Disney+、Discovery+、DMM、encoreTVB、Fox Now、Fox+、HBO GO/Now/Max/Asia、Hulu、HWTV、JOOX、Jwplayer、KKBOX、KKTV、Line TV、Naver TV、myTV Super、Netflix、niconico、Now E、Paramount+、PBS、Peacock、Pandora、PBS、Pornhub、SoundCloud、PBS、Spotify、TaiwanGood、Tiktok Intl、Twitch、ViuTV、ShowTime、iQiYi Global、Himalaya Podcast、Overcast、WeTV 的规则组

Telegram

RULE-SET,https://ruleset.skk.moe/List/non_ip/telegram.conf,[Replace with your policy]
RULE-SET,https://ruleset.skk.moe/List/ip/telegram.conf,[Replace with your policy]

Apple CDN

DOMAIN-SET,https://ruleset.skk.moe/List/domainset/apple_cdn.conf,[Replace with your policy]
  • 自动生成
  • 规则组包含 Apple, Inc. 在中华人民共和国完成工信部 ICP 备案和公安网备、且在中华人民共和国境内提供 HTTP 服务的域名,如果由于某些原因需要代理其中部分域名,请自行针对域名编写规则、并添加到当前规则组之前。
  • 数据来源 felixonmars/dnsmasq-china-list

Apple Service

RULE-SET,https://ruleset.skk.moe/List/non_ip/apple_services.conf,[Replace with your policy]
  • 人工维护

网易云音乐

RULE-SET,https://ruleset.skk.moe/List/non_ip/neteasemusic.conf,[Replace with your policy]
RULE-SET,https://ruleset.skk.moe/List/ip/neteasemusic.conf,[Replace with your policy]
  • 人工维护

Misc

RULE-SET,https://ruleset.skk.moe/List/non_ip/domestic.conf,[Replace with your policy]
RULE-SET,https://ruleset.skk.moe/List/non_ip/direct.conf,[Replace with your policy]
RULE-SET,https://ruleset.skk.moe/List/non_ip/global_plus.conf,[Replace with your policy]
RULE-SET,https://ruleset.skk.moe/List/non_ip/global.conf,PROXY
RULE-SET,https://ruleset.skk.moe/List/ip/domestic.conf,[Replace with your policy]
  • 人工维护

chnroute CIDR

RULE-SET,https://ruleset.skk.moe/List/ip/china_ip.conf,[Replace with your policy]
  • 自动生成
  • 原始数据 由 Misaka Network, Inc.、DMIT, Inc.、NEROCLOUD Ltd.、Rainbow network Ltd.、MOACK Co., Ltd. 提供,由 Misaka Network, Inc. 整理,以 CC BY-SA 2.0 协议发布

Surge 模块列表

  • Sukka URL Rewrite: https://ruleset.skk.moe/Modules/sukka_url_rewrite.sgmodule
  • Sukka Surge Network Test Domain: https://ruleset.skk.moe/Modules/sukka_surge_network_test_domain.sgmodule
  • Sukka MITM Hostnames: https://ruleset.skk.moe/Modules/sukka_mitm_hostnames.sgmodule
  • Sukka MITM All Hostnames: https://ruleset.skk.moe/Modules/sukka_mitm_all_hostnames.sgmodule
  • Fix No Network Alert Plus: https://ruleset.skk.moe/Modules/sukka_fix_network_alert.sgmodule
  • Exclude Reserved IP from Surge VIF: https://ruleset.skk.moe/Modules/sukka_exclude_reservered_ip.sgmodule
  • Common Always Real IP Hostnames: https://ruleset.skk.moe/Modules/sukka_common_always_realip.sgmodule
  • Hide iOS VPN Icon: https://ruleset.skk.moe/Modules/ios_hide_vpn_icon.sgmodule
  • Redirect Google CN to Google: https://ruleset.skk.moe/Modules/google_cn_307.sgmodule

FAQ

这是什么?

我也不知道。

有适用于 Clash 的规则组吗?

没有。如果 Clash Premium 提供了对 DOMAIN-SET 格式的支持,未来可能会有。

有适用于 Shadowrocket、Quantumult X、Loon、V2RayNG 的规则组吗?

没有。而且未来 一定 不会有。

这些规则组可被用于 Surfboard 吗?

如果 Surfboard 能够完整解析 Surge 的所有 Syntax,且在导入 / 处理规则组时、不被支持的 Syntax(如涉及到 MITM 的 URL-REGEX、仅适用于 HTTP/HTTPS 请求的 USER-AGENT、仅支持 PC/Mac 平台的 PROCESS-NAME)在处理时仅 Silent Error,则可用于 Surfboard,反之则不适用。

我使用你的规则组,结果出了问题,我该如何反馈?

不,你不能。

那我能参与维护项目、修复问题吗?

如果你的 Pull Request 出现在了我 GitHub Notification Inbox 中、然后被我看到了的话,我会 Review 的。

License

The List/ip/china_ip.conf file is licensed under CC BY-SA 2.0. The rest of the files are licensed under AGPL-3.0.


Surge © Sukka, Authored and maintained by Sukka with help from contributors (list).

Personal Website · Blog · GitHub @SukkaW · Telegram Channel @SukkaChannel · Twitter @isukkaw · Keybase @sukka

More Repositories

1

Koolshare-Clash

🐱 Run Clash Tunnel on Koolshare OpenWrt
ASP
1,279
star
2

nolyfill

Speed up your package installation process, reduce your disk usage, and extend the lifespan of your precious SSD.
TypeScript
1,097
star
3

DisqusJS

💬 Render Disqus comments in Mainland China using Disqus API
TypeScript
591
star
4

hexo-theme-suka

🎨Modern, powerful and simple theme for Hexo.
CSS
580
star
5

nali-cli

⚓ Parse geoinfo of IP Address without leaving your terminal
JavaScript
393
star
6

zsh-proxy

🔩 An oh-my-zsh plugin to configure proxy
Shell
369
star
7

foxact

React Hooks/Utils done right. For Browser, SSR, and React Server Components.
TypeScript
302
star
8

OpenCore-Document-zh_Hans

[非官方/Unofficial] OpenCore Bootloader 参考手册简体中文翻译
JavaScript
238
star
9

cloudflare-workers-async-google-analytics

☁️ The Cloudflare Workers implementation of an async Google Analytics
JavaScript
205
star
10

ClashEditor

📐 An editor for writing Clash config
HTML
192
star
11

cloudflare-block-bad-bot-ruleset

🚦 Block malicious crawlers with Cloudflare Firewall Rules
175
star
12

hexo-theme-doku

📜 Doku, a Hexo theme designed for writing documents.
HTML
145
star
13

rollup-plugin-swc

Use SWC with Rollup to transform / minify ESNext and TypeScript code.
TypeScript
139
star
14

zsh-osx-autoproxy

An oh-my-zsh plugin that configures proxy environment variables based on macOS's system preferences automatically
Shell
87
star
15

dotfiles

🔧 My development environment and config
Shell
82
star
16

Lenovo-Y9000X-Hackintosh

Lenovo LEGION Y9000X 2020 (Lenovo LEGION S740-15IRH) Hackintosh
ASL
71
star
17

ThinkPad-E480-Hackintosh

macOS Catalina & Big Sur on ThinkPad E480 (Hackintosh)
ASL
62
star
18

dashflare

An unofficial Cloudflare dashboard built on top of Cloudflare API.
TypeScript
55
star
19

bring-github-old-feed-back

Throw away the GitHub's useless "For You" feed and replace with the old good "Following" feed
TypeScript
53
star
20

forgetti-loader

A webpack/rspack loader and a Next.js plugin that brings an auto-memoization compiler to solves your hook spaghetti. Powered by forgetti which is inspired by React Forget.
TypeScript
52
star
21

CheckSSL

🔒Check your site's SSL status using curl & bash
Shell
41
star
22

vercel-dns-console

An unofficial implementation of Vercel DNS Dashboard
TypeScript
37
star
23

Friends

♥️ Friends of @SukkaW
JavaScript
33
star
24

react-compiler-webpack

The webpack/rspack loader for React Compiler
TypeScript
22
star
25

style9-webpack

The another Webpack Plugin for Atomic CSS-in-JS implementation style9
TypeScript
19
star
26

eslint-config-sukka

ESLint configuration of Sukka
TypeScript
17
star
27

stylex-webpack

The another webpack/Next.js Plugin for Facebook StyleX
TypeScript
17
star
28

markdown.css

📝 The simple CSS to replicate the GitHub Markdown style (Sukka Ver.)
CSS
14
star
29

disqusjs-proxy-example

Using Now as Disqus API Proxy
13
star
30

theme-doku-docs

📜 The documents & demo of hexo-theme-doku
13
star
31

CheckLatency

🌏 (WIP) A tool that check your latency to cloud provider every regions
JavaScript
13
star
32

memdisk

A library and a CLI to create RAM disk on macOS and Linux.
TypeScript
13
star
33

recipage

📃 Reci(pe)page: Turn a markdown file into one simple page
JavaScript
12
star
34

pure-svg-countdown

HTML
12
star
35

xbits

Convert bytes to a human readable string
TypeScript
12
star
36

SukkaW

My GitHub Profile
11
star
37

Cloudflare-WAF-to-AbuseIPDB

JavaScript
10
star
38

hexo-lute

A markdown renderer for Hexo based on Lute
JavaScript
8
star
39

consolas-powerline

Consolas Nerd Font (Consolas 7.0)
Python
8
star
40

busuanzi

The mirror of busuanzi js
8
star
41

hv-monsterdb-userscript

M-M-M-MONSTER DATABASE!
TypeScript
7
star
42

fast-cidr-tools

cidr-tools but up to 20x faster
TypeScript
7
star
43

eslint-config-sukka-archive

JavaScript
7
star
44

openconnect-snell

Allow Surge to connect to OpenConnect using Docker + Snell Server V4
Shell
6
star
45

suka.css

✨The most useless css framework.
CSS
6
star
46

telegram-reply-image-to-messsage-bot

TypeScript
6
star
47

kv4cf

A Modified version of cloudflare/kv-asset-handler, with Non-ASCII URL supported.
JavaScript
6
star
48

hentaiverse-monster-database

M-M-M-MONSTER DATABASE SERVER!
TypeScript
5
star
49

hentaiverse-util-api-userscript

A userscript provided API for other HentaiVerse userscripts
TypeScript
5
star
50

monsterbation-linter

TypeScript
5
star
51

bundled-open-cli

Open stuff like URLs, files, executables, with installation size reduced by 78%. Cross-platform.
TypeScript
5
star
52

bili-mcdn

HTML
4
star
53

Koolshare-OpenWrt-API-Documents

The API documents (unofficial) for Koolshare OpenWrt httpdb
4
star
54

tor-exit-page

An alternative "This is a Tor Exit Router" page
HTML
4
star
55

rcpy

Lightweight, fast, simple and flexible file copy utility for Node.js
TypeScript
4
star
56

teacup.js

🍵 Cache javascript & css files in localStorage
JavaScript
3
star
57

zsh-gitcd

🔩 An oh-my-zsh plugin for git clone && cd
Shell
3
star
58

nodelistparser

Surge / Mihomo (Clash.Meta) nodelist / proxy provider parser and generator
TypeScript
2
star
59

sponsors

TypeScript
2
star
60

Hackintosh-Kext-Builder

Shell
1
star
61

BadgeKit

🚩 Get every badge you need for your README
JavaScript
1
star
62

hexo-renderer-pejs

EJS(based on PEJS) renderer for Hexo
JavaScript
1
star
63

untyped-javascript-serialization-benchmark

TypeScript
1
star
64

cidr-tools-wasm

TypeScript
1
star