This project manages a list of domains, to be used as geosites for routing purpose in Project V.
This project contains only lists of domains. It is not opinionated, such as a domain should be blocked, or a domain should be proxied. This list can be used to generate routing rules on demand.
All data are under data/ directory. Each file in the directory represents a sub-list of domains, named by the file name. File content is in the following format.
# comments
include:another-file
domain:google.com @attr1 @att2
keyword:google
regex:www\.google\.com
full:www.google.com
Syntax:
#. It may begin anywhere in the file. The content in the line after # is treated as comment and ignored in production.include:, followed by the file name of an existing file in the same directory.domain:, followed by a valid domain name. The prefix domain: may be omitted.keyword:, followed by a string.regex:, followed by a valid regular expression (per Golang's standard).full:, followed by a domain.domain, keyword, regex and full) may have one or more attributes. Each attribute begins with @ and followed by the name of the attribute.The entire data directory will be built into an external geosite file for Project V. Each file in the directory represents a section in the generated file.
To generate a section:
include: lines with the actual content of the file.domain: line into a sub-domain routing rule.keyword: line into a plain domain routing rule.regex: line into a regex domain routing rulefull: line into a full domain routing ruleTheoretically any string can be used as the name, as long as it is a valid file name. In practice, we prefer names for determinic group of domains, such as the owner (usually a company name) of the domains, e.g., "google", "netflix". Names with unclear scope are generally unrecommended, such as "evil", or "local".
Attribute is useful for sub-group of domains, especially for filtering purpose. For example, the list of "google" domains may contains its main domains, as well as domains that serve ads. The ads domains may be marked by attribute "@ads", and can be used as "geosite:google@ads" in V2Ray routing.
$ claude mcp add domain-list-community \
-- python -m otcore.mcp_server <graph>