This repository is a personal collection of JavaScript scripts primarily targeting iOS proxy tools (Surge, Quantumult X, Loon), Scriptable widgets, and various automation utilities. It serves as an aggregated library of community-sourced and original scripts for ad blocking, premium service unlocking, network status panels, cloud drive mounting (Aliyun, Quark, PikPak via Fileball), automated check-ins (WPS, TestFlight, JD), and JD shopping assistants (price history, rebate links). The codebase is heavily oriented towards proxy tool environments, with scripts modifying HTTP responses and leveraging environment abstractions (Env class) for cross-platform compatibility. A smaller but significant portion consists of Scriptable home screen widgets (weather, GitHub, Weibo, JD balances, cryptocurrency prices) and a standalone IPA downloader tool. While the repository demonstrates practical utility and some well-crafted reusable patterns (e.g., DmYY widget base class, AppleStoreAPI), overall quality is diluted by duplicated functionality, hardcoded API keys, fragile regex patterns, and lack of versioning or tests. It is best suited for users already immersed in the Surge/Quantumult X ecosystem who need ready-made scripts for common tasks.
JD-HAPPY is a Node.js command-line tool designed to automate product purchases on JD.com (a Chinese e-commerce platform) when items become available in stock. The application automates the entire process: launching a headless browser to obtain login parameters, generating and displaying a QR code for user authentication, polling JD's APIs for product price and stock status, adding the item to the cart upon availability, and optionally submitting the order. The codebase exhibits significant technical debt due to outdated dependencies (e.g., puppeteer^0.12.0, axios^0.18.1) and appears unmaintained, with the README noting that JD's interface updates have expired parts of the code. While functional in its specific use case, the implementation is tightly coupled to JD's internal APIs and lacks modularity, making reuse difficult without substantial modification.
This repository is a collection of cron-triggered Node.js and Python scripts that automate JD.com (Jingdong) account activities such as daily check-ins, lottery draws, coupon management, price protection, and bean/point collection. It is designed to run on the Qinglong panel (a self-hosted cron scheduler) and manages multiple JD accounts via environment variables. The scripts rely heavily on reverse-engineered JD internal APIs, custom signature generation (H5st), and slider captcha solving. They also include a multi-channel notification system (Bark, Serverchan, Telegram, DingTalk, etc.) and utilities for converting WSKEY tokens to session cookies. The codebase is notable for its extensive use of obfuscation (jsjiami.com.v7) to protect algorithmic logic, making maintenance and audit difficult. Despite this, the repository is actively maintained and has a large user base, but the technical debt from obfuscation, duplicated code, and reliance on external sign services is significant.
This repository is a collection of heavily obfuscated Node.js scripts designed to automate various JD.com (Jingdong) activities such as check-ins, bean collection, farm tasks, lotteries, and coupon management. The scripts are intended to run on the Qinglong (青龙) panel, a cron-based task scheduler. They rely on environment variables for configuration (cookies, notification settings, proxy) and use custom obfuscated signing algorithms to interact with JD's APIs. The codebase is tightly coupled to the JD ecosystem and the Qinglong platform, with no tests, no dependency pinning, and minimal documentation. The heavy obfuscation makes maintenance and reuse extremely difficult, and the reliance on external JD APIs introduces high technical drift risk. While the scripts are functional for their intended purpose, the overall software quality is low due to obfuscation, duplication, and lack of engineering best practices.