Guide
Pre-launch checklist for a vibe-coded app
Before you post the URL: secrets, env vars, spend caps, auth, error pages, analytics, the domain, the README, and the legal pages.
Updated
The link is the product
A vibe-coded app is still a public URL. People will open it, view source, and read the repository if you linked one. Do this list before the launch post. A post does not remove a key from the client.
The code path does not change the list. An app you typed by hand and an app an agent drafted both leak the same way if the secret is in the bundle.
Secrets and API keys
A key in client code, in a committed .env, or in a variable the browser is meant to see is a key you have already published. Search the repo for the provider name and for api_key before you push.
If a key was committed, rotate it. Deleting the file in a later commit does not take it out of history. The browser can read anything you ship to it. The model key stays on the server.
Some frameworks copy variables into the client on purpose. In Next.js that prefix is NEXT_PUBLIC_. In Vite it is VITE_. A secret does not get that prefix.
Environment variables
Keep a .env.example with the names and no values. The README should say which names the app needs to boot.
Set those same names on the host you deploy to. A .env on your laptop does not travel with the deploy. If a name is missing in production, the page that calls it should fail in a way you have already seen, not in front of the first visitor.
Rate limits and cost caps
If a button calls a model, one visitor can run up a bill. Put a limit on how often one person or one IP can call it, and enforce that limit on the server. Do not call the model from the browser with the key.
Set a spend cap or a budget alert in the provider account before you share the URL. Pick a limit you can pay if someone sits on the button. A key with no cap is not a launch plan. When the cap is hit, the server should refuse the call instead of letting it through.
Auth and row-level security
If the app stores data per person, check that one signed-in user cannot read another user's rows by changing an id in the request. Do not trust the client to filter those rows.
On Supabase the client key is public. Turn row level security on for tables that hold user data, and add a policy that checks the signed-in user. Then open a second account and try to read the first account's row. If that read succeeds, you are not done.
If the app stores nothing per person, say so. Do not add accounts on launch day just so the app looks finished.
Error pages
A missing URL should be a page you wrote, with a way back home, and a 404 status. A failed request should not print an API key, a SQL string, a stack trace, or the model prompt.
Open a URL that does not exist, and trigger one real failure, before you send the link to anyone. If the screen shows a file path from your machine, fix that first.
Analytics
If you added a script that records visits, know what it sends. If the privacy page says you do not track people, take the script out.
The page should still load when that host is blocked. A launch post that depends on a third-party script to render is a launch post that fails for some of the people who click it.
Domain and email DNS
If you post a custom domain, add the DNS records your host shows you, then open the exact URL you plan to share. Check it on a phone. A domain that still shows the registrar's parking page wastes the click.
If the app sends email, sign-in links or receipts, add the SPF and DKIM records your email host gives you before the first message goes out. SPF is a DNS record that lists which servers may send mail for the domain. DKIM is a DNS record with a public key so a receiver can check the message was signed. Do not invent the values. Copy the ones the host shows you. Do not send mail from a domain you do not control.
Title, description, and the preview image
Set the page title, the meta description, and an og:image. Paste the URL into a chat with yourself and look at the card. A blank card, or the host's default image, is what people will forward.
The title in the head should match the headline on the page, not an older pitch. Turn the README into a page if the only explanation is still a file tree.
A README that explains the product
A stranger should be able to open the README and answer three questions: what it is, who it is for, and how to try it. Link the live URL. If the repository is public, people from the launch post will open it.
The README and the page should describe the same product. If the page is clearer, fix the README. The repository is still the source. How to launch starts from those three answers.
Legal pages
If you collect an email, run accounts, or take payment, link a privacy page that says what you collect and why. If you charge money, say how a refund works. Put the links in the footer. A link that exists only inside a signup form is easy to miss.
If you collect nothing and you charge nothing, say that in one sentence. Do not paste a policy you have not read. Generating the app does not skip this. The footer on your app is your footer.
Then write the launch copy
When the list above is true, write the sentence you will post: what it is, who it is for, and the link that loads. Paste the public repository into Repo2Launch for a draft of the X thread, the Product Hunt listing, and a landing page from that README. The free preview is that copy and a watermarked page. Nothing is deployed, and it does not post for you.
The kit is $19 once, not a subscription. Pricing is the short version. Read the draft before you paste it anywhere. The README omits the caveat you would have said in person.
How to launch is the order of posts after this list. Show HN is the Hacker News version, and you write that post yourself.