Show HN: Copy any website pixel perfect

(github.com)

7 points | by Harro123 13 hours ago ago

10 comments

  • cure_42 an hour ago ago

    I can't see a real world use case for this.

    If you actually want to make something worth the effort, you'll have to make it responsive and accessible, along with actually implementing whatever functionality your project needs.

    At that point, it seems guaranteed to be more work to try to make all that happen with a visually "perfect" but implementationally soulless clone than to just mimic the design while building out your interface.

  • Harro123 12 hours ago ago

    hi guys I built this tool, its actually working way better than i ever expected. I had the problem a lot that i tried to copy a certain ui but the agent just massively hallucinated. I simply implemented evrything around a single feature.

    The agent renders the actual image of the created web page, and checks the actual diff against the original.

    Thus the agent is literally forced to iterate till its done.

    Right now its still taking some time to be done. So I wish that some smart minds improve the algoirthm and make it quicker and more efficient.

    I also cloned some other websites just for testing purposes with anonymized logos. But i am not sure if i can upload all due to copyright risks. Its literally 1 to 1 so idk.

    • zionsati 11 hours ago ago

      How does it handle dynamic complex sites E.g. webapps.

      • Harro123 3 minutes ago ago

        it copies each page statically. You can input multiple pages and it will copy each page separately.

        e.g. stripe.

        you do one screenshot for dashboard, one capture of billing, settings and so on. Each a separate page.

        it then creates for each page a separate html file pixel perfect of that respective screenshot

    • alexgoodhart 11 hours ago ago

      It doesn’t have any functional preservation though right?

      • Harro123 6 minutes ago ago

        no function exactly, it preserves hover states and just a static screenshot. However you can copy multiple pages as a react project and the sidebar would work. But all would be static.

        I have created a clone of doppler full interactive aswell with multiple pages but idk if i can share that legally

  • mathieudombrock 12 hours ago ago

    What's the intended use case? Porting from framework A->B?

    Does it handle responsive design? Keeping the same breakpoints etc?

    • Harro123 4 minutes ago ago

      no it only copies exactly one resolution. However if one person were smart it could implement 3 screenshots which it would adapt to in parallel and check each screenshot. This would preserve scaling. However i havent impelemtned that yet

    • Linkd 27 minutes ago ago

      This would be great for scammers

      • Harro123 5 minutes ago ago

        Tools can be misused all the time unfortunately. Claude code is also great for scammers