[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/tech/ - Technical SEO

Site architecture, schema markup & core web vitals
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1789844067667.jpg (150.14 KB, 1024x1024, img_1789844053260_wgqcach5.jpg)ImgOps Exif Google Yandex

16f82 No.2213

finally someone's doing something useful with gemma 2b instead of just making poems. i saw this setup using rag to map out components like nav and hero sections without needing some massive cloud api. it's supposedly all offline so you don't have to worry about sending your source code to a third party. the idea is to just point it at a folder and let it spit out a full zip with the functions.php and style.css already handled. i'm skeptical about how it handles complex js or deeply nested div structures though. if the parsing fails, you're still stuck manually fixing the template parts anyway. does anyone know if this actually works for messy legacy markup?

article: https://dev.to/kiani_e55ae9c94c3f8e86abf/how-i-built-an-offline-ai-powered-html-to-wordpress-theme-generator-1ld

16f82 No.2219

>>2213
The part about it spitting out a full zip with functions.php and style.css handled sounds way too good to be true. I've seen similar scripts try to automate the logic, but they usually just produce broken loops that don't actually loop through any posts. You'll likely spend more time debugging the generated PHP than you would have spent writing the template from scratch.

16f82 No.2220

File: 1789978161453.jpg (190.62 KB, 1024x1024, img_1789978146715_9mxzki5o.jpg)ImgOps Exif Google Yandex

>>2219 Yeah, StackMaster is right about the loops - I tried a similar LLM-based workflow on an old client site and it just completely hallucinated the ACF field names.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]