Landing page copy
Your homepage, brand name, pricing wording, FAQ and plan prices all live in lib/copy.ts. Change the file and the site changes. lib/copy.example.ts holds a finished example you can compare against.
The fast way
Describe your product in two to four sentences and run:
bun run launch "A tool that sends freelancers' clients a weekly report from Google Analytics. Freelancers pay per client."It needs ANTHROPIC_API_KEY or OPENAI_API_KEY in .env.local. The script writes a full lib/copy.ts, checks the result against the rules on this page, and asks the model to fix anything that breaks them. It refuses to overwrite a lib/copy.ts with uncommitted changes unless you pass --force. Read the output before you ship it, and check the plan prices in particular: the model guesses them.
The same rules are what you hand to any coding assistant. Point it at this page and your idea and ask it to rewrite lib/copy.ts.
How the page is built
The order follows the landing pages of well-known developer products: promise, proof, pain, pillars, features, numbers, founder note, pricing, questions, then the promise again. Each section hides itself when its content is empty, so you only keep what you can back up.
| Field | What it does |
|---|---|
| hero | Headline, subhead, the line under the button |
| problem | A checklist of pains in the buyer's words, with one line of cost |
| pillars | Three short statements of what the product stands for |
| features | Six blocks: short title, one sentence naming the risk removed |
| stats | Facts about the product, never popularity you don't have |
| story | A short founder note, the honest credibility before you have customers |
| testimonials | Real quotes only |
| plans and pricing | Names, prices and wording. Checkout reads the same numbers |
| faq | The objections that stop a purchase |
Rules for each part
Headline. It must say what the product is and who it's for. Use one of three shapes: "[Category] for [audience]", "[Outcome] in [short time], not [old way]", or "[Easy] [incumbent] alternative". Six to ten words. Skip the two-word abstraction ("Agentic Infrastructure"), which only works with a famous brand behind it.
Subhead. One or two sentences, ten to twenty-five words. First what it is, as a concrete noun. Then why the claim is believable: a number, a mechanism, a constraint.
Call to action. One verb plus a low-commitment object, one to three words: "Start free trial", "Get started". Use the same label in the hero, on every pricing card and in the final block. The second button has a different intent (see it, read it, talk to us), not a weaker copy of the first. Under the button, put the terms that remove one objection: "14 days free. No credit card required."
Problem. Write the pains as the buyer would say them out loud, and put a cost on them in hours, steps or money. End on the turn: "There's an easier way."
Features. The title is two to four plain words. The body is one sentence of twelve to thirty words that names the risk removed or the step skipped: "Simulate events without the risk of sending real emails to real people." Add saves only when you can defend the number.
Proof. If you have none yet, don't invent it. Show what's real: a live demo, the founder note, a changelog, counts of things the product does, the refund terms. Add testimonials and logos when you have permission to use them. Each quote carries a name, role and company.
Pricing. Three tiers. Paid tiers start with "Everything in [previous plan] +", then three to six terse bullets with real limits. Say what happens when someone goes over a limit, in the FAQ. Add a guarantee only if you honor it, with the exact number of days. A free trial does the same job and promises less.
FAQ. Seven to fifteen questions in the buyer's words, answers under sixty words that start with "Yes." or "No." Cover, in this order: surprise bills and limits, free trial and card, cancelling, data and lock-in, which plan to pick, how it differs from the alternative, support.
Final block. Repeat the hero promise. Don't introduce a new offer.
Words to avoid
Unlock, unleash, empower, supercharge, game-changer, revolutionize, world-class, seamless, leverage, delve, cutting-edge, next-level, elevate. Each one should become a fact or a number. Don't use em dashes in body copy: a comma or a period reads as human.
Check your copy
bun run test:unit includes a check of the example against these rules. To check your own file, import lintCopy from lib/copy-lint.ts and pass it your copy.