This is a PHP library that implements a personal WeChat bot using the web WeChat protocol. It allows users to log in via QR code, monitor incoming messages, and respond automatically through a plugin system. The architecture uses a Laravel-inspired service container with service providers, observers, and a custom extension mechanism. The library provides a CLI entry point and optionally runs as a Swoole-based server for REST API interaction. The code is well-structured but relies on outdated dependencies (Illuminate 5.4, Symfony 3, Guzzle 6.2, PHP 7.0+) and lacks automated tests. The web WeChat protocol is unstable and may be deprecated, limiting production use. The project appears to be maintained minimally, with no recent commits addressing dependency updates or modern PHP practices.
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.