How v2ray/domain-list-community works
This repository builds Project V geosite routing data from domain-list files. The principal workflow is to select a data directory, load its lists, expand inclusions, convert entries to GeoSite protobuf records, and write dlc.dat. The implementation is concentrated in main.go; the README documents the list syntax, attributes, and intended routing use. Source evidence is limited to the excerpted main.go and README.
Main entry points: main.go Generator CLI · data Domain lists
Components 9
Other components
- Operator
- Generator CLI
main.go - Path selection
main.go - Domain lists
data - List loading
main.go - Include expansion
main.go - Protobuf conversion
main.go - dlc.dat
- Project V routing
Connections 8
- Operator → Generator CLI: runs
README.md - Generator CLI → Path selection: selects path
main.go - Generator CLI → List loading: walks and loads
main.go - List loading → Domain lists: reads lists
main.go - Generator CLI → Include expansion: expands lists
main.go - Generator CLI → Protobuf conversion: converts entries
main.go - Generator CLI → dlc.dat: writes output
main.go - dlc.dat → Project V routing: supplies geosite data
README.md