Skip to content

BB function template for serverless screenshot API#35

Closed
aq17 wants to merge 2 commits intodevfrom
aqiu17/bb-function-screenshot-template
Closed

BB function template for serverless screenshot API#35
aq17 wants to merge 2 commits intodevfrom
aqiu17/bb-function-screenshot-template

Conversation

@aq17
Copy link
Copy Markdown
Contributor

@aq17 aq17 commented Jan 13, 2026

Goal: Demonstrate Browserbase Functions by creating a serverless screenshot API that captures web pages on-demand.

  • Shows how to define, test, and deploy browser automation as serverless functions.

@aq17
Copy link
Copy Markdown
Contributor Author

aq17 commented Jan 13, 2026

First template PR, all feedback appreciated 🙇🏼

@shubh24
Copy link
Copy Markdown

shubh24 commented Jan 13, 2026

Missing files that need to be added?

  1. package.json - Required for pnpm install to work. I had to create one with:
    - @browserbasehq/sdk-functions
    - dotenv
    - playwright-core
  2. .env.example - Referenced in README but not included

@aq17 aq17 closed this Mar 24, 2026
@aq17 aq17 deleted the aqiu17/bb-function-screenshot-template branch March 24, 2026 22:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants