←back to thread

549 points thecr0w | 1 comments | | HN request time: 0.201s | source
Show context
manlymuppet ◴[] No.46186353[source]
Couldn’t you just feed Claude all the raw, inspect element HTML from the website and have it “decrypt” that?

The entire website is fairly small so this seems feasible.

Usually there’s a big difference between a website’s final code and its source code because of post processing but that seems like a totally solvable Claude problem.

Sure LLMs aren’t great with images, but it’s not like the person who originally wrote the Space Jam website was meticulously messing around with positioning from a reference image to create a circular orbit — they just used the tools they had to create an acceptable result. Claude can do the same.

Perhaps the best method is to re-create, rather than replicate the design.

replies(4): >>46186464 #>>46186518 #>>46186769 #>>46186982 #
manlymuppet ◴[] No.46186982[source]
https://pastebin.com/raw/F2jxZTeJ

The HTML I'm referring to, copied from the website.

Only about 7,000 characters or just 2,000 Claude tokens. This is feasible.

replies(1): >>46188121 #
valleyer ◴[] No.46188121[source]
There's actually a language model developed by The Open Group that will transform that back into the original source code.

<https://pubs.opengroup.org/onlinepubs/9799919799/utilities/c...>

replies(2): >>46188193 #>>46188431 #
1. jdironman ◴[] No.46188193[source]
Got a chuckle out of me. lol