logoalt Hacker News

manlymuppetlast Sunday at 11:13 PM4 repliesview on HN

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

blkslast Sunday at 11:32 PM

What do you mean? Raw html is the original website source code.

Modern web development completely poisoned young generation

show 1 reply
personjerrylast Sunday at 11:25 PM

If you have the raw HTML why would you need to do this at all?

show 1 reply
manlymuppetlast Monday at 12:36 AM

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.

show 1 reply
literalAardvarklast Monday at 12:05 AM

The space jam website used HTML tables for formatting and split images in each cell.

CSS didn't exist.