{"slug": "show-hn-i-built-an-ai-website-generator-with-38-minutes-of-human-input", "title": "Show HN: I built an AI website generator with 38 minutes of human input", "summary": "A developer built SiteForge, an AI website generator that takes a business questionnaire and produces three design concepts, a full visual identity kit, a multilingual site with copy and images, a CMS, and an automatic deployment to Cloudflare Pages with a live URL. The developer reported spending roughly 38-40 minutes of human input on the project, mostly on the spec and environment setup, while Claude handled about 5 hours and 25 minutes of agent work. Domain search is implemented, but automated registration and payments were left out of scope.", "body_md": "### The concept of the project\n\nI had an idea – landing page generation. It’s super easy nowadays with AI, but why not go a bit further and have it do everything? From filling in a questionnaire to creating your branding, designing the website, writing the copy and actually putting the whole thing live on the internet.\n\nThere are already quite a few providers doing this, or something similar – Wix AI, Squarespace Blueprint AI, Durable, Framer and GoDaddy Airo, to name a few. I’m not trying to reinvent the wheel here. The question is, how far can I get with up to 60 Dev Minutes?\n\nQuite far, apparently.\n\nThis time, I actually spent a bit less than 60 minutes, simply because the next steps would have exploded the scope of the project, and I felt I’d reached far enough in terms of functionality.\n\nThe application, which AI named **SiteForge**, currently allows you to:\n\n- Sign in and fill in a questionnaire about your business.\n- Get 3 different website design concepts to choose from.\n- Generate a corporate visual identity (CVI) kit, including logos, colours, typography, business cards and an email signature.\n- Generate a fully functional, multilingual website with copy and images.\n- Edit the content through a CMS.\n- Automatically deploy the website to Cloudflare Pages and get an actual working URL.\n- Search for domain names, with the infrastructure in place for automated domain registration and custom domain configuration.\n\nThe latter is roughly where I drew the line. Once you start registering actual domains, taking people’s money and providing hosting as a commercial service, there are quite a few other things to consider beyond just engineering.\n\nFrom my subjective perspective, I was about 90% done with what I wanted to achieve. The Stripe test integration was already working, but there are still things to sort out before accepting actual payments. Image generation could be done a bit more neatly (I’d like to experiment with OpenAI’s image generation, for example), and there are definitely some design elements that could be improved.\n\nHence the roughly 40-minute time commitment to this. Still crazy to see.\n\nI spent approximately 12 minutes on the spec, another 12 minutes setting up environment variables, API keys and answering questions, and the rest was essentially testing the app and telling Claude that this or that could be better.\n\nClaude did the heavy lifting – about 5 hours and 25 minutes of agent work.\n\nThis time, of course, I also asked it to do some marketing for me. So here’s an actual promotional video of how the application works. That, too, was part of the experiment.\n\nCloudflare currently has a default limit of 100 Pages projects per account, which is roughly where I’m going to draw the line with this experiment as well, subject to the capacity I have available. I’m not necessarily looking to turn every episode into a business, although some of these projects might have the potential to become one or might excite me more than others.\n\nBelow, I’m going to expand a bit more on how the sausage is made and why certain decisions were taken. Otherwise, I hope you enjoy playing around with it.\n\nAnd if you have any ideas for future episodes, please leave them in the comments. The more complicated, the better.\n\n### How the sausage is made\n\n#### 1. The specification\n\nAs with the first episode, I started with a specification rather than just telling Claude to build me a website generator.\n\nI think this is quite an important distinction. It’s fairly easy to get an LLM to generate something that looks like an application. Getting it to build something that actually works across multiple integrations, handles errors and is reasonably secure is a different story.\n\nThe specification covered the customer journey, technical architecture, branding, website generation, hosting, domain registration, billing, security and testing.\n\nThere were 20 acceptance criteria, 17 of which were considered critical – love the approach, to be honest.\n\nI generated two versions of the specification – an internal one with the implementation details and a public one with some of the more sensitive security and operational information removed.\n\nThe public version and the code are available in the  [GitHub repository](https://github.com/60-Dev-Minutes/ep002-webgenerator).\n\n#### 2. How the time was actually spent\n\nOne thing I want to make increasingly clear with this series is that 60 Dev Minutes doesn’t mean that the application gets built within 60 minutes. It’s my time that’s being measured. The agents can take as long as they need.\n\nInitially, I spent approximately 24 minutes of my time on the project. The rest was largely short feedback loops and reviewing the outcomes, bringing my total to an estimated 38 minutes.\n\nAn example of a prompt from the latter stage was:\n\n“User progress is unclear, please make it modal for clearer UX.”\n\nAnother one was asking whether the AI could use established design guidelines rather than simply generating whatever it thought looked good.\n\nIt’s interesting how much of my role in these experiments is starting to resemble product and project management rather than actual software development.\n\n#### 3. The technical architecture\n\nOne of the more interesting decisions in this project was not to allow the AI to generate arbitrary HTML, CSS and JavaScript for every customer’s website.\n\nAs tempting as that sounds, imagine having to maintain thousands of websites, all individually coded by an AI, with potentially different implementations of pretty much everything.\n\nHow would you make a single CMS work reliably across all of them? How would you guarantee reasonable security, accessibility or performance?\n\nInstead, SiteForge uses AI to generate structured data, which is then passed through a deterministic rendering engine.\n\nThe AI decides what the website should contain, how it should be structured, what colours and typography to use, and what content goes where. The renderer is responsible for turning that into an actual website using predefined components and design rules.\n\nThere is some creative freedom lost in doing this, but for the type of websites I’m targeting, I think it’s a reasonable trade-off.\n\nAs for the tech stack, I decided to stick with Cloudflare this time as well:\n\n- Frontend – React, TypeScript, Tailwind CSS, Vite\n- Backend – Cloudflare Workers, Hono\n- Database – Cloudflare D1 (SQLite)\n- File storage – Cloudflare R2\n- Background processing – Cloudflare Workflows\n- Website hosting – Cloudflare Pages\n- Domain registration – Cloudflare Registrar API\n- Text generation – Claude Opus 5.5\n- Image generation – FLUX.1[schnell] via Workers AI\n- Authentication – Better Auth\n- Payments – Stripe\n- Testing – Vitest, Playwright, Lighthouse\n- CI/CD – GitHub Actions\n\nOne of the nice things about this setup is that I don’t actually have to provision or maintain individual servers for the generated websites.\n\n#### 4. It works locally. Great. Does it actually work?\n\nThis is probably one of the more important parts of AI engineering at the moment.\n\nThe initial implementation worked locally with simulated external providers. That doesn’t necessarily mean it works in the real world, though.\n\nOnce Claude started deploying the application and using actual APIs, it identified nine defects that the local implementation hadn’t caught.\n\nOne example was the schema being sent to the AI provider. The schema was technically valid but too complicated for the actual API to process, resulting in a rather straightforward error:\n\ncompiled grammar is too large\n\nThe solution was to simplify the structure of the schema.\n\nI also asked for an independent security review, conducted by a separate AI agent. It identified 12 findings, two of which were classified as high severity. All 12 were subsequently reported as fixed, with regression tests added.\n\nThis doesn’t mean the application is guaranteed to be secure. The independent reviewer was still an AI, after all. But it’s certainly a better approach than asking the same agent that wrote the code whether it thinks its own code is good.\n\nBy the end of the experiment, 19 of the 20 acceptance criteria had passed, including all 17 critical ones. (No trace of ML-KEM was found. =))\n\n#### 5. Can AI actually design good-looking websites?\n\nThe initial websites were functional, but I wasn’t entirely happy with how they looked.\n\nI started wondering whether, instead of repeatedly telling Claude to make the designs look better, we could establish actual design guidelines and measure the improvement.\n\nClaude put together a general design playbook and eight industry-specific playbooks. These established rules around typography, spacing, colour usage, content hierarchy and the types of website sections appropriate for different businesses.\n\nIt then generated websites using the old and new approaches and ran a blind A/B evaluation.\n\nThe results:\n\n- Initial design playbook – 6/8 wins.\n- Revised design playbook – 8/8 wins.\n\nThe revised approach scored an average of 21 out of 25, compared with 18.5 for the original approach.\n\nNow, this was an AI judging the output of another AI, not eight actual customers, so I’d take the absolute numbers with a grain of salt. Still, it gives us a somewhat more measurable way of iterating on something that is otherwise quite subjective.\n\n#### 6. Image generation and performance\n\nAnother thing that became apparent was that good-looking websites need decent imagery.\n\nFor this experiment, Claude opted to use FLUX through Cloudflare Workers AI. The cost of generating an individual image was approximately US$0.001, which is ridiculously cheap.\n\nHowever, introducing generated images caused the Lighthouse performance score to drop from 99 to 80, with the page size increasing to about 2.6 MB.\n\nClaude subsequently implemented WebP conversion, which reduced the page size to approximately 345 KB.\n\nThe final Lighthouse mobile results for the demo website were:\n\n- Performance: **100/100**\n- Accessibility: **100/100**\n\nNot too bad.\n\nOne thing I also wanted to avoid was generating images of, say, completed construction projects and presenting them as actual projects completed by the company.\n\nThe generated images are marked as example images and are intended to be replaced before commercial publication. The same principle applies to customer reviews, credentials and other factual claims. There is no reason to invent them just to make the website look more complete.\n\n#### 7. What does it cost to generate a website?\n\nThis is where things get particularly interesting from a business perspective.\n\nThe actual cost of generating the three design concepts, a website, its content and five generated images was approximately **US$0.43** in AI usage.\n\nObviously, this doesn’t account for hosting, maintenance, customer support, domain registration or the cost of acquiring customers.\n\nBut the cost of generating the actual product is surprisingly low.\n\nThe total AI expenditure reported for testing the application’s generation capabilities and running the design evaluations was approximately **US$6.65**. That’s separate from the cost of developing the application itself using Claude Code.\n\n### Final thoughts\n\nWhat I find increasingly interesting about these experiments is how the bottleneck in software development is changing.\n\nI spent very little time thinking about how to implement any of these features. Most of my time was spent thinking about what the application should do, what it shouldn’t do, how it should behave and whether the outcome was actually good enough.\n\nThese are all things that have always been part of software engineering, but traditionally they’ve represented a relatively small proportion of the time spent on a project.\n\nI’m not entirely sure what the correct balance will be going forward, but it’s quite interesting to see it changing in front of us.\n\nAnyway, that’s episode two of 60 Dev Minutes.", "url": "https://wpnews.pro/news/show-hn-i-built-an-ai-website-generator-with-38-minutes-of-human-input", "canonical_source": "https://60devminutes.substack.com/p/can-ai-build-a-one-stop-shop-for", "published_at": "2026-12-03 04:17:24+00:00", "updated_at": "2026-12-03 04:47:19.619952+00:00", "lang": "en", "topics": ["ai-agents", "generative-ai", "ai-tools", "developer-tools"], "entities": ["SiteForge", "Claude", "Cloudflare Pages", "Stripe", "OpenAI", "Wix", "Squarespace", "Framer"], "also_reported_by": [], "takeaway": "Writing a detailed spec with 20 acceptance criteria (17 critical) before prompting let Claude build a multi-integration app in about 5.5 hours of agent time against roughly 38 minutes of human input.", "recommendation": {"advice": "Write a full spec with explicit acceptance criteria before prompting your coding agent, then spend your own time on setup and iterative review rather than on generation.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/show-hn-i-built-an-ai-website-generator-with-38-minutes-of-human-input", "markdown": "https://wpnews.pro/news/show-hn-i-built-an-ai-website-generator-with-38-minutes-of-human-input.md", "text": "https://wpnews.pro/news/show-hn-i-built-an-ai-website-generator-with-38-minutes-of-human-input.txt", "jsonld": "https://wpnews.pro/news/show-hn-i-built-an-ai-website-generator-with-38-minutes-of-human-input.jsonld"}}