
Create Browser App
https://github.com/browserbase/create-browser-app- Category
- Developer Tools
- Rank
- No. 1494Tools index
- Pricing
- Open Source
- Type
- TOOL
- Builder
- browserbase
- GitHub
- 26 stars
- Latest release
- v3.0.0
- Date
About
CLI scaffolder for browser automation apps from Browserbase.
What it does
Create Browser App produces a ready-to-run TypeScript project for building Stagehand browser agents. You choose a project name and either the bundled starter or a named example fetched from GitHub. It creates the directory, updates project metadata and documentation, then prints setup steps for dependencies and credentials.
Why it's ranked here
It is a focused starting point with unusually useful starter behavior: structured extraction, action discovery, validated execution, and explicit resource cleanup. Dynamic examples broaden its reach without bloating the package. The narrow Browserbase and Stagehand commitment makes it less useful as a general browser automation starter.
What's good
The bundled project demonstrates the complete browser lifecycle, checks required credentials, validates extracted data with a schema, verifies observed actions before execution, and closes both Stagehand and the browser in nested cleanup blocks. Generated projects also include strict TypeScript settings and coding guidance for agents.
Tradeoffs
The generated starter requires a Browserbase API key, Node.js 22.18 or newer, pnpm, and the Stagehand ecosystem. Named templates depend on live GitHub access. Missing templates fall back to the basic starter, while partially downloaded templates can be layered over bundled files. Existing destination directories cause an immediate exit.
How to use it well
Use it when a TypeScript team wants a small, opinionated Stagehand proof of concept or a quick base for extraction and interaction workflows. Start with the bundled example to learn the lifecycle, then select a remote template for a closer use case. It does not provide a general automation framework, deployment system, or hosted agent runtime.
Technical notes+
src/cli.ts uses Commander, fs-extra, Chalk, and Boxen to sanitize the directory name, reject existing targets, copy template/, optionally overlay remote files, rewrite package metadata and the README heading, and print pnpm setup steps. src/templateFetcher.ts queries GitHub’s contents API, recursively walks directories with Promise.all, downloads file buffers in parallel, and returns empty results on HTTP, parsing, or network errors. template/index.ts launches Browserbase, creates Stagehand, exercises extract, observe, and act, checks result envelopes, and closes resources in nested finally blocks. package.json builds the ESM CLI with tsup and publishes dist, template, and examples.
Observed
- License
- ISC
- Primary language
- TypeScript
- Interface
- Command-line tool exposed as create-browser-app
- Install surface
- Public npm package designed to run through npx without prior installation
- Packaging
- ES module package built with tsup; published files include dist, template, and examples
- Starter runtime
- Generated projects require Node.js 22.18 or newer and use pnpm
- Template sources
- Includes a bundled basic template and fetches additional TypeScript templates from GitHub
Read from README.md, package.json, src/cli.ts, src/templateFetcher.ts, template/index.ts, CHANGELOG.md, tsconfig.json, template/README.md, template/claude.md, .changeset/README.md, template/.cursorrules, template/.env.example, template/package.json, .changeset/config.json, template/tsconfig.json.
What it can do
Generate browser automation app scaffold
CLI command with app configuration parameters → Complete browser automation application structure
Create project boilerplate code
App name and configuration options → Source code files and project structure
Set up Browserbase integration
Browserbase API credentials and configuration → Pre-configured browser automation setup
Generate dependency configuration
Project requirements and target platform → Package.json or equivalent dependency files
Create browser automation templates
Automation type selection → Template code for common browser operations
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.