Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 891 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 891 Bytes

Shot

Grab a screenshot of any site.

image

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.

Roadmap

  • Run any script in the browser

Dev

  1. Run bun i in the api and web folders.
  2. Populate env vars in both folders: cp .env.example .env.
  3. Populate BROWSER_URL with a headless browser websocket URL eg. browserless.
  4. Populate BLOB_READ_WRITE_TOKEN with a bucket URL eg. Vercel Blob.
  5. Run bun dev in both folders.