No description
  • Python 92.9%
  • Shell 7.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-06 14:38:37 +00:00
.github/workflows Initial commit: country-filtered VLESS subscription and sync scripts 2026-07-05 12:36:30 +00:00
example.txt Upload files to "example.txt" 2026-07-05 12:56:59 +00:00
.gitignore Rewrite README: working scripts, sources, English only. Add free-v2ray-public-list/ to .gitignore 2026-07-06 13:40:14 +00:00
dns_cache.json Recover lost files from WIP stash 2026-07-06 14:38:37 +00:00
ip-to-country.csv Initial commit: country-filtered VLESS subscription and sync scripts 2026-07-05 12:36:30 +00:00
README.md Rewrite README: working scripts, sources, English only. Add free-v2ray-public-list/ to .gitignore 2026-07-06 13:40:14 +00:00
search_vless_by_country.py Initial commit: country-filtered VLESS subscription and sync scripts 2026-07-05 12:36:30 +00:00
search_vless_by_country_freelist.py Recover lost files from WIP stash 2026-07-06 14:38:37 +00:00
sync_and_filter.sh Initial commit: country-filtered VLESS subscription and sync scripts 2026-07-05 12:36:30 +00:00
vless_id.txt Recover lost files from WIP stash 2026-07-06 14:38:37 +00:00
vless_id_sg.txt Recover lost files from WIP stash 2026-07-06 14:38:37 +00:00
vless_sg.txt Recover lost files from WIP stash 2026-07-06 14:38:37 +00:00

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.