$ account MhdiTaheri
This repository is a small PHP automation script, with large generated data artifacts, that aggregates free proxy configurations from public Telegram channels. bot.php, triggered by a GitHub Actions cron every 60 minutes, fetches Telegram channel pages, extracts vless, vmess, ss, trojan, hysteria2, and tuic URIs using regexes, and writes plain-text and base64-encoded subscription files under sub/. It also prepends a marker trojan config and appends a date signature. channel.php supplies the hardcoded list of roughly 80 Telegram channel URLs. The core architecture is a single PHP script plus a scheduled workflow; there is no framework, no API, no UI, and no tests. The data flow is Telegram HTML -> cURL -> regex extraction -> flat files -> git commit. The resulting sub/* files serve as subscription endpoints for V2Ray-compatible clients. The repository is hybrid in nature: the value it provides is partly the generated proxy dataset and partly the scraping automation. The code is functional but fragile: there is no deduplication, so duplicate configs accumulate; failed fetches are silently ignored; the channel list requires manual maintenance; and the workflow targets EOL PHP 7.4. For reuse, only the generic fetch/extraction pattern in bot.php is potentially salvageable, not the repository as a whole.