This app generates Screens (rendered HTML) from natural language prompts, where every screen is composed of reusable Components.
- Install dependencies:
bun install # you should also be able to use other package managers- Set environment variables:
ANTHROPIC_API_KEY=anthropic-api-key
BRAINTRUST_API_KEY=braintrust-api-key
BRAINTRUST_PROMPT_SLUG=braintrust-prompt-slug
BRAINTRUST_PROJECT_NAME=braintrust-project-name- Run the dev server:
bun devOpen http://localhost:3000