I’m building a desktop-side utility that can sit between the Chinese version of WeChat and the network, automatically capturing every request a Mini Program makes, parsing the traffic, and then replaying or altering that traffic on demand. The workflow must be almost hands-free: once the script is started, it should watch the connection, log what it sees, and let me feed back custom payloads for instant, programmatic re-submission. Target environment — The first release has to run on Windows. If you can keep the code portable enough for a later macOS or Linux build, that is a plus, but Windows support is non-negotiable. — Headless execution is preferred: I want to trigger everything from a command or a small configuration file, with no GUI pop-ups. Core capabilities • Packet capture: hook or proxy traffic generated by WeChat Mini Programs, decrypt HTTPS where possible, and extract endpoint, headers, raw body, and parsed JSON. • Intelligent parsing: identify common internal API patterns, separate request and response fields, and save them in clear, structured logs. • Replay & mutation: let me take any captured call, modify parameters or the body, and re-submit it so the Mini Program backend treats it as genuine. • Response handling: return the server’s reply to the script, parse it the same way, and expose it in an object or JSON file so follow-up automation is easy. Deliverables – Full source code (Python, Node.js, Go, or another well-documented language of your choice) – An example script that captures, edits, and replays at least one live Mini Program request, proving that the response is successfully retrieved – Setup instructions for Windows (install steps, certificates, environment variables) – Brief developer notes explaining where in the code I can extend parsers for new API signatures If something in the WeChat protocol requires special handling—TLS pinning, dynamic signatures, or WebSocket frames—please outline how you intend to bypass or emulate it before starting. Once everything above works smoothly, we can talk about extending support to Android or additional operating systems, but the Windows command-line tool is the first milestone.