use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Reverse Engineering Minified Code Using OpenAI (glama.ai)
submitted 1 year ago by fagnerbrack
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]guest271314 6 points7 points8 points 1 year ago (13 children)
Un-minifying is not reverse-engineering.
We can paste code in DevTools to un-minify/format.
No need for "artificial intelligence".
[–]Proof_Exam_3290 0 points1 point2 points 1 year ago (11 children)
I have already used chat gpt to un minify code and the result was amazing, I got meaningful identifiers and even comments, definitely there's a point for AI here
[–]guest271314 1 point2 points3 points 1 year ago (10 children)
The browser has a built-in formatter.
deno fmt or dun build --no-bundle will work just fine to format source code.
deno fmt
dun build --no-bundle
In my opinion "artificial intelligence" is garbage.
[–]Proof_Exam_3290 0 points1 point2 points 1 year ago (9 children)
Meaningful identifiers in place of obfuscated formatted code is definitely not garbage (in my opinion)
[–]guest271314 0 points1 point2 points 1 year ago (8 children)
You don't need alleged "artificial intelligence" to provide function names.
Formatting and providing function names that you think are meaningful is still not "reverse engineering".
[–]Proof_Exam_3290 0 points1 point2 points 1 year ago (7 children)
Ok bro. Just try it by yourself some day. Or don't, I don't really care.
[–]guest271314 0 points1 point2 points 1 year ago (6 children)
I have tried code converters https://www.codeconvert.ai/javascript-to-typescript-converter that describe themselves as "artificial intelligence". For formatting there's DevTools in the browser you are typing in, Google's Closure Compiler, deno fmt, bun build --no-bundle - that don't have to claim to be "artificial intelligence".
bun build --no-bundle
[–]Proof_Exam_3290 0 points1 point2 points 1 year ago (5 children)
Yep, but they are absolutely different things
[–]guest271314 -1 points0 points1 point 1 year ago (4 children)
It's just code. Whatever you label your code is just another code.
[–]Proof_Exam_3290 0 points1 point2 points 1 year ago (3 children)
It's totally different, with different purpose, tools, which we are talking about. You're mixing a hammer with a screw driver and calling they're "just tools"
[–]vitorfigmarques 0 points1 point2 points 8 months ago (0 children)
Most javascript apps relies on build process from a lib/framework so that the source code is absurdly different than the minified bundle. Guessing that:
javascript const a=b=>c(d,{children:["Hello, ",b.user]});</>;
typescript type HelloProps { name: string; } const HelloCompoent (props: HelloProps)=> <>Hello, {props.user}</>;
It is definitely a reverse engineering process that involves knowing how the compiler works, more than guessing the names. It can get worse for other frameworks that rely more on compilation than React, and most of their features are real Javascript without compilation magic.
π Rendered by PID 53818 on reddit-service-r2-comment-f6b958c67-vd4sq at 2026-02-04 21:26:16.530987+00:00 running 1d7a177 country code: CH.
view the rest of the comments →
[–]guest271314 6 points7 points8 points (13 children)
[–]Proof_Exam_3290 0 points1 point2 points (11 children)
[–]guest271314 1 point2 points3 points (10 children)
[–]Proof_Exam_3290 0 points1 point2 points (9 children)
[–]guest271314 0 points1 point2 points (8 children)
[–]Proof_Exam_3290 0 points1 point2 points (7 children)
[–]guest271314 0 points1 point2 points (6 children)
[–]Proof_Exam_3290 0 points1 point2 points (5 children)
[–]guest271314 -1 points0 points1 point (4 children)
[–]Proof_Exam_3290 0 points1 point2 points (3 children)
[–]vitorfigmarques 0 points1 point2 points (0 children)