Skip to content
View RuleSetConfig's full-sized avatar

Block or report RuleSetConfig

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
RuleSetConfig/README.md

Personal sing-box & Surge Configurations

This repository contains my personal configurations for sing-box and Surge.

About

These files are maintained for my own use across multiple devices. They may include custom proxy setups, routing rules, and other settings tailored to my personal needs, and are not intended as a general-purpose or production-ready solution.

Disclaimer

This repository is provided for personal learning and use only. The configurations may change at any time without notice, and their availability, functionality, and security are not guaranteed. The rule sets are generated automatically from the upstream projects listed below and may contain errors or omissions. Please comply with all applicable local laws and the terms of service of any related providers. Use at your own risk.

Sources & Credits

All credit for the underlying data belongs to the upstream projects below. See LICENSE for the license of this repository.

File Upstream License
filter.list, filter.srs AdGuard DNS filter, AdGuard DNS Popup Hosts filter, AdAway default blocklist, Peter Lowe's Blocklist, AWAvenue Ads Rule and OISD Blocklist Big published through the AdGuard Hostlists Registry; only the domestic entries of the OISD list are kept, see source/china-brands.txt. Plus the anti-AD auto number verification list GPL-3.0, GPL-3.0, CC BY 3.0, McRae GPL, GPL-3.0, GPL-3.0, MIT
direct-ip.list, direct-ip.srs mayaxcn/china-ip-list, plus AS132203 prefixes from RouteViews GPL-3.0 / CC BY 4.0
proxy-ip.list, proxy-ip.srs Cloudflare IP ranges, Telegram CIDR, Google goog.json, GitHub meta, plus ASN prefixes from RouteViews Upstream terms / CC BY 4.0
source/china-brands.txt, source/proxy-ip.asn, source/proxy-ip.local.list maintained here —

Automatic updates

The rule sets are regenerated every day by GitHub Actions (times are UTC+8):

File Workflow Upstream and local input Time
filter.list / filter.srs .github/workflows/sync-filter.yml AdGuard DNS filter, AdGuard DNS Popup Hosts filter, AdAway default blocklist, Peter Lowe's Blocklist, AWAvenue Ads Rule, the domestic entries of OISD Blocklist Big, anti-AD auto number verification list 05:13
direct-ip.list / direct-ip.srs .github/workflows/sync-direct-ip.yml chnroute / chnroute_v6 from mayaxcn/china-ip-list plus AS132203 from RouteViews 06:23
proxy-ip.list / proxy-ip.srs .github/workflows/sync-proxy-ip.yml Official Cloudflare / Telegram / Google / GitHub lists plus the ASNs in source/proxy-ip.asn expanded via RouteViews; source/proxy-ip.local.list only steers the priority and the pruning 06:53

Maintained by hand and never regenerated: the input files under source/.

Rules applied while generating: merge every source, deduplicate, drop entries already covered by a wider prefix or a parent domain, and let a proxy match win over a direct one when the same rule appears in both. The local rules under source/ are the highest priority layer and decide that pruning, but they are not copied into the generated files: proxy-ip contains upstream entries only and never repeats an entry the local layer already carries. .list files use Surge rule syntax, .srs files are the equivalent sing-box rule sets.

AS132203 prefix data is provided by the RouteViews project under CC BY 4.0.

License

Copyright (C) 2026 RuleSetConfig

This repository is distributed under the terms of the GNU General Public License v3.0, except for the upstream data listed above, which stays under the license of its respective project.

Pinned Loading

  1. RuleSetConfig RuleSetConfig Public

    Personal sing-box / Surge rule sets: ad blocking plus proxy and direct domains and IPs, synced from upstream every day.

    Python