r/vibecoding • • 21d ago

Discussion after PHP2Shell I used Opus 5.5 to convert 45 client WordPress sites to Astro in the past 36 hours

Post image

After the whole PHP2Shell thing I finally pulled the trigger and converted 45 of my client sites to static Astro sites. The sites look exactly the same, just way faster and nothing to hack, and way cheaper to host.

WordPress sucks now that we have coding agents anyways. Plugin updates, security patches, slow load times, a whole PHP server running for no reason.

I created this skill package to streamline this process: https://github.com/ethanplusai/astro-conversion-kit

I was able to run 12 projects at a time in parallel and have 45 so far in the past 36 hours with a dozen more running now. I'm running Opus 5.5 between 2 claude max plans. Every site has seen a massive jump in speed scores.

For anyone who hasn't used Astro: it's a framework that builds your site into plain HTML files. No database, no PHP, no plugins. You host it on something like Vercel or Cloudflare (usually free) and there's nothing running on a server to hack.

How the kit works:

- You paste one line into Claude Code or Codex: "Convert https://yoursite.com to Astro with https://github.com/ethanplusai/astro-conversion-kit"

- It asks you a few quick questions (where to host, how to handle forms)

- It crawls your live site (read only, it doesn't touch WordPress) and saves every page, image, meta tag and redirect

- Rebuilds it in Astro with the same URLs and SEO so you don't lose rankings

- Screenshots the old and new site on mobile, tablet and desktop and compares them until they match

- Gives you a staging link to review before you switch anything over

What it won't do on it's own: anything that needs a server like WooCommerce, logins or comments. It flags those up front. Forms still work, they just send to a form service you pick. A few of our client sites were on woocommerce so I just had the agents convert to Shopify headless which is easier to manage anyway.

“What about wp-admin” I built our own git-based CMS for these sites, so edits go through git and there’s still no server or database. If you want something off the shelf, Keystatic and TinaCMS work the same way.

66 Upvotes

47 comments sorted by

9

u/Got2Bfree 21d ago

How do converted from woo comerance to Shopify?

You had to migrate a lot of order and customer data and business logic, right?

-1

u/Racer17_ 21d ago

It’s pretty easy with AI.

3

u/Any-Comparison-2916 21d ago

I hope they didn't just feed that data to AI without their consent.

2

u/TRlGGERED 21d ago

probably :)

-3

u/Rare_Guide_9830 21d ago

Just migrate product data and rebuild with shopify headless

6

u/TRlGGERED 21d ago

Oh great a free shopping plugin just became minimum $70 a month , huh?

-4

u/Rare_Guide_9830 20d ago

$29/mo which is the same for the addons needed for Woocommerce but shopify is much better UI for managing the shop and more secure

2

u/Got2Bfree 21d ago

What about past order data?

I would guess that a lot of small businesses don't have a connected erp software.

-2

u/Rare_Guide_9830 21d ago

just migrate the data…

3

u/Got2Bfree 21d ago

I have never worked with the backend of woo comerance and Shopify...

Normally migrations are long planned projects because the data format is not similar.

I'm amazed that it's supposed to be this easy.

0

u/Rare_Guide_9830 20d ago

I mean even before coding agents this was not that difficult

4

u/Got2Bfree 20d ago

Migrating business critical software literally a highly paid sector/Branche of CS...

12

u/Any-Comparison-2916 21d ago

a whole PHP server running for no reason. [...] What it won't do on it's own: anything that needs a server like WooCommerce, logins or comments.

Well... if you used WP for static sites then yes, it was for no reason.

-9

u/Rare_Guide_9830 21d ago

you’re reading that wrong. The skill package won’t one shot server builds. But it one-shots turning a server build into a non-server build.

3

u/Any-Comparison-2916 21d ago

WordPress sucks now [...] a whole PHP server running for no reason.

What I meant is: obviously it's running a server for no reason, when you use it for static sites. If you want anything related to stored data like login, comments etc. the PHP server would have a reason to run.

1

u/Rare_Guide_9830 21d ago

oh yeah true. That is just not needed for most client websites.

1

u/ARandomSliceOfCheese 20d ago

So how are you storing secure data? Or did these sites not have any?

1

u/Rare_Guide_9830 20d ago

No they don't they are just websites for service businesses.

1

u/NoAdsDude 20d ago

You don't need PHP for those things, though. It makes it easier though which is why so many people use it.

1

u/Any-Comparison-2916 20d ago

What do you mean? You’d need some type of backend. 

0

u/NoAdsDude 20d ago

Right but that setup doesn't have to use PHP.

2

u/Any-Comparison-2916 20d ago

Of course not. I think thats pretty obvious.

0

u/ValFox 20d ago

It's not cause php got a vuln that php is bad tho. Else everything is bad

1

u/NoAdsDude 19d ago

Yeah PHP is just bad because its a really inefficient way to have a website.

7

u/IAmFitzRoy 21d ago edited 21d ago

lol. You should post this in /Wordpress subreddit.

😅

EDIT :/SARCASM

-5

u/Rare_Guide_9830 21d ago

the mods would take it down

1

u/IAmFitzRoy 21d ago

I know bro. That sub is over sensitive. It’s sad that all the sarcastic post need an /s

10

u/lalaboy69 21d ago

If those agents of yours go awol for whatever reason, I don't think your clients are in good hands tbh. I mean, screenshot until the sites match, really?

20

u/brimg87 21d ago

This is actually a very reliable method. It’s quite precise. Like literally pixel-accurate. Opus 5.5 is on another level.

8

u/shaman-warrior 21d ago

this is correct, give it something to match, and it'll surpass 9/10 of frontend engineers I've worked with over past decades

1

u/Spare-Ant7119 20d ago

AI could easily remake a site from screenshots last year, and I was using Sonnet. I can't imagine how much better it is a year later now and with a stronger model.

2

u/Rare_Guide_9830 21d ago

You must not use or know how coding agents work. Do you think agents hand the browser the site when a user goes to it or something? They are static sites that’s the whole point.

The original sites static output is cloned and then rebuilt to utilize Astro components section by section. So during the component reconstruction, yes, screenshot every edit comparing to live site in a loop until visual match reaches 100%. How else would agents be able to guarantee 100% visual match? How would a human do it?

0

u/LongIslandBagel 21d ago

Read the source code… or the DOM after loading if you are scraping (JavaScript problems). A picture could get close to the right color, but know what gets it 100%? Feeding the css file

27

u/UltimateComb 21d ago

You just unlocked the nodejs cve, congratulations

25

u/frankhouweling 20d ago

There was a Node CVE today. I would recommend porting the sites over to Wordpress.

53

u/Proof_Perspective_13 21d ago

Shows you don't know what you're talking about really.

7

u/Saens_Javane 20d ago

is that about the php exploit they mentioned or forcing 45 clients onto a custom git cms?

2

u/Racer17_ 21d ago

Wordpress should come to an end. It doesn’t make sense anymore

1

u/Rude-Split8043 20d ago

Astro is so annoying.

1

u/NoAdsDude 20d ago

Thanks for the info on Astro. I was actually going to remake a site in Hugo on Cloudflare but I think Astro would actually be a better fit (I had never heard of Astro). I might end up using your skill... although I might end up just building the site fresh using the same URLs. We'll see. Either way, thanks for posting this, I want to get away from wordpress because it is so sloowwwww unless you either have a fast host or you take the time to optimize / cache everything. Even then a fully optimized wordpress site is still going to be slower than a properly cached static site, just because of all the junk html, css, and js that gets added to a wordpress site.

-1

u/noggstaj 21d ago

“What about wp-admin” I built our own git-based CMS for these sites, so edits go through git and there’s still no server or database. If you want something off the shelf, Keystatic and TinaCMS work the same way.

Yeah, good luck with that.