The repository is a data pipeline that generates Shadowrocket configuration files for selective traffic routing, particularly targeting users in Russia who need to bypass censorship while maintaining access to local services. It automates the collection, processing, and formatting of domain and IP lists from various sources into Shadowrocket-compatible rule sets and configuration files. The pipeline fetches data from diverse sources including GitHub repositories, websites (like the Central Bank of Russia), and manually curated lists. It then processes this data through a series of transformations: filtering, formatting, IDN conversion, section-based processing, and DNS resolution, to produce standardized output files that adhere to Shadowrocket's rule syntax. The processed data is used to generate configuration files that define which traffic should go through proxies and which should connect directly. Key reusable components within the pipeline include an IDN decoding script that properly handles internationalized domain names by detecting non-ASCII characters and converting to punycode while preserving original formatting, and a section-based list processor that applies different transformations to file segments based on markers. These components demonstrate non-obvious skill in handling specific data challenges and follow patterns that could be extracted for use in other data processing projects. The pipeline is executed on a daily schedule via GitHub Actions, ensuring the generated configuration files remain up-to-date with the latest domain and IP information from the source feeds. This automation allows users to benefit from continuously improved routing rules without manual intervention.
This repository provides a Windows-based tool for bypassing Deep Packet Inspection (DPI) blocking of services like Discord, YouTube, and others. It is primarily a collection of Batch scripts that launch the zapret utility (winws.exe) with various parameter combinations (called 'strategies') to evade network censorship. A service manager script (service.bat) allows installing/uninstalling the bypass as a Windows service, toggling game/ipset filters, updating host files, and running diagnostics. The repository also includes a PowerShell-based test harness that can systematically evaluate different strategies against a set of targets and record results. The core technical mechanism relies on WinDivert, a kernel-level packet interception driver. The project is heavily configurable and aimed at end-users in regions with internet restrictions, and it does not contain application code in a traditional senseβit wraps existing binaries with configuration logic.