Developer Builds First Working Version of SiteGen AI Using FastAPI and Gemini API
A developer has shared the process of building the first functional version of SiteGen AI, a tool designed to generate complete websites — including HTML, CSS, and JavaScript — from a simple text prompt. The initial stack used Python, FastAPI, SQLite, and Google's Gemini API, with a straightforward workflow routing user prompts through the backend to the AI and rendering results directly in the browser. Early testing revealed recurring issues such as generic designs, near-identical outputs, and the AI partially ignoring prompts, which the developer attributed not to the AI itself but to poor prompt engineering and system architecture. The experience led to a key insight: quality AI output depends heavily on structured, context-rich prompts and thoughtful system design. The developer plans to detail a more ambitious second version, SiteGen AI v2, aimed at functioning as a full AI software engineer capable of generating complete applications.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in