- Python 92.9%
- Shell 7.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github/workflows | ||
| example.txt | ||
| .gitignore | ||
| dns_cache.json | ||
| ip-to-country.csv | ||
| README.md | ||
| search_vless_by_country.py | ||
| search_vless_by_country_freelist.py | ||
| sync_and_filter.sh | ||
| vless_id.txt | ||
| vless_id_sg.txt | ||
| vless_sg.txt | ||
Free V2Ray Public Config List
Source
The public V2Ray config list is cloned from:
https://github.com/ebrasha/free-v2ray-public-list.git
Clone into free-v2ray-public-list/. Filter scripts read VLESS configs from free-v2ray-public-list/separated-protocols-chunks/vless/ (257 chunk files, ~255k configs).
Scripts
search_vless_by_country_freelist.py — Filter VLESS configs by country (primary)
Filters VLESS configs from free-v2ray-public-list/separated-protocols-chunks/vless/ and outputs only those whose IPs resolve to the specified countries.
# Single country
python3 search_vless_by_country_freelist.py id
# Multiple countries
python3 search_vless_by_country_freelist.py sg id
# Output: vless_id.txt, vless_sg.txt, vless_id_sg.txt (combined), plus *_sources.txt manifests
Features:
- GeoIP lookup via dbip-country IPv4 CSV
- Concurrent DNS resolution (up to 300 threads) with persistent
dns_cache.json - One
vless://link per line
search_vless_by_country.py — Filter VLESS configs by country (local chunks)
Same as above, but reads from local chunk directories: tmp_upstream/separated-protocols-chunks/vless/ or separated-protocols-chunks/vless/.
python3 search_vless_by_country.py id
python3 search_vless_by_country.py sg id
filter_sg.sh — Quick Singapore filter
Filters V2Ray configs for Singapore ("sg") nodes by pattern matching @sg. hostnames. Supports -p flag for protocol selection (vless, trojan, ss, ssr, vmess, hysteria2, tuic, all).
./filter_sg.sh # SG vless (default)
./filter_sg.sh -p trojan # SG trojan
./filter_sg.sh -p all -o sg_all.txt # SG all protocols to file
sync_and_filter.sh — Outdated
Located in free-v2ray-public-list/sync_and_filter.sh. Only clones from GitHub — no Forgejo sync. No longer maintained with current repo structure.