chaibuilder/chaibuilder.com ? reverse-engineered prompt
Reverse engineered prompt
Build me a ChaiBuilder starter site with Next.js and Supabase that I can deploy and use right away.
I want a clean app with an editor at /editor, simple login with Supabase auth, and the basic setup for saving site content, assets, and user access in Supabase. It should support multiple sites on the same database, and it should be ready for a logged in admin to open the editor, manage pages, and see their changes without needing a separate backend.
Please wire up the usual environment variables, make it work nicely on Vercel, and include the Supabase storage bucket setup for uploaded assets. If it makes sense, add support for realtime page locking so more than one person does not overwrite edits at the same time. Also leave room for AI features like UI generation, SEO, and translation if I add a Vercel AI Gateway key later.
Keep the UI simple and polished, and make sure the setup instructions are easy enough for someone non technical to follow.
Are you gonna build this?
make sure you review the code using coderabbit