$ account XIU2
XIU2/TrackersListCollection is a curated, daily-updated collection of BitTorrent tracker URLs. It provides several pre-filtered lists (best, all, HTTP-only, no-HTTP) in both plain text and Aria2-compatible formats, served via CDN. The core of the repository is a GitHub Actions workflow (`update-trackers.yml`) that automatically fetches trackers from multiple public sources, normalizes and deduplicates them, applies a blacklist, validates DNS resolution, and performs TCP connectivity checks on HTTP/HTTPS trackers. The resulting lists are committed back to the repository and mirrored to Bitbucket. While the repo is essentially a static data repository with no application logic, the CI pipeline demonstrates a clean, modular ETL pattern using bash and standard Unix tools. The primary value is the curated tracker data itself, which is widely used in BitTorrent clients to improve download speeds.
CloudflareSpeedTest is a CLI tool written in Go that measures latency and download speed of Cloudflare CDN IP addresses to find the fastest ones for users in China, where many Cloudflare IPs are suboptimal. It reads IP ranges from files (ip.txt/ipv6.txt) or command-line arguments, performs concurrent TCP or HTTP ping tests, filters results by latency/loss rate, then conducts HTTP download speed tests on the lowest-latency IPs. The final output is a sorted list of the best IPs displayed in the console and saved to a CSV file. The tool supports extensive customization: thread count, ping count, port, download test duration, speed/latency thresholds, colocation filtering via HTTP headers, and debug logging. It also includes helper scripts for automatically updating system hosts files, 3proxy configurations, or Cloudflare DNS records with the optimal IP. The architecture is a single binary with modular task files (tcping, httping, download, ip parsing) and utility modules (color output, CSV export, progress bar). External dependencies are minimal: ewma for moving average, pb for progress bars, and color for terminal colors. The codebase is well-structured with clear separation of concerns, though it lacks automated tests and CI pipelines. It is a practical, community-driven tool with over 29k stars, actively maintained with recent commits and responsive issue triage.
This repository is a collection of over 20 user scripts (Tampermonkey/Greasemonkey) that enhance the browsing experience on various websites. The scripts provide site-specific beautifications, functional enhancements (e.g., removing login popups, blocking users/keywords, restoring original images), and general utilities like dark mode, auto-pagination, and high-speed download acceleration for GitHub. The architecture is monolithic: each script is a single, self-contained JavaScript file that runs in the browser via the userscript manager. The code heavily relies on DOM manipulation, MutationObserver, and GM_* APIs for storage, notifications, and cross-origin requests. The most notable component is the Autopage engine, a generic infinite-scroll and pagination system that uses an external rules JSON to support hundreds of sites. While functional and popular (10k+ stars), the codebase suffers from code duplication across scripts, tight coupling to specific website DOM structures, and lack of modularization or testing. The repository is actively maintained with issue templates and regular updates, but the reliance on external rules and site-specific selectors introduces ongoing maintenance risk.