Grab a screenshot of any site.

Try it here.
Try the API like this: shot.api.rubric.sh?url=x.com. It returns a stream of an image.
Inspired by 2 weeks of pain from this project.
Made for future usage with gpt-4-vision.
- Run any script in the browser
- Run
bun i
in the api and web folders. - Populate env vars in both folders:
cp .env.example .env
. - Populate
BROWSER_URL
with a headless browser websocket URL eg. browserless. - Populate
BLOB_READ_WRITE_TOKEN
with a bucket URL eg. Vercel Blob. - Run
bun dev
in both folders.