chatgpt-source-watch
chatgpt-source-watch copied to clipboard
Integrate wakaru and/or webcrack JS unminimisers (and maybe humanify too)
- https://github.com/pionxzh/wakaru
-
Javascript decompiler for modern frontend
-
- https://github.com/j4k0xb/webcrack
-
Deobfuscate obfuscator.io, unminify and unpack bundled javascript
-
- https://github.com/jehna/humanify
-
Deobfuscate Javascript code using ChatGPT
-
Some work has been done to integrate these so far:
- https://github.com/0xdevalias/chatgpt-source-watch/commit/28c6d87f5cf38f858fa437782b81fc431f9d8716
[package] add devDep: @wakaru/cli (v0.0.5), add scripts: wakaru / wakaru:unminify-chunk / wakaru:clean-chunk - https://github.com/0xdevalias/chatgpt-source-watch/commit/de3c0916805dd2b79ffc1de4c13175bff362e44d
[package] add devDep: webcrack (v2.12.0), add scripts: webcrack / webcrack:unminify-chunk / webcrack:clean-chunk - https://github.com/0xdevalias/chatgpt-source-watch/commit/9c1001ddaf283a566ee2b115b8cd8b202239e4a6
[package] allow extra args to be passed to wakaru:unminify-chunk / webcrack:unminify-chunk - https://github.com/0xdevalias/chatgpt-source-watch/commit/d263d4595c07a3110efeebeeb99d719a54f1c730
[package] devDeps: bump @wakaru/cli from 0.0.5 to 0.0.6
Eventually I will probably integrate these more directly, and probably commit the output of them; but before I get to that stage, I think it's important to figure out a better way of stabilising the minified variable names between builds, and also to figure out how to properly/easily handle chunk/module ID changes between builds to reduce the noise in the outputs.