This project will help you create a Screenshot API using Supabase Edge Functions.
- Skeleton for building a Screenshot API with Puppeteer & Browserless
- CI/CD template, which handles deployment, database migrations and secrets.
You can setup this API in 4 steps:
-
Fork this repository
-
Create a Supabase project if you don't have one
-
Add secrets:
In order for this API to be deployed automatically we need to set these secrets in our repository:
SUPABASE_ACCESS_TOKEN
SUPABASE_DB_PASSWORD
SUPABASE_PROJECT_ID
BROWSERLESS_API_KEY // Visit browserless.io to get your free API token
- Trigger the deployment workflow
Found a bug or have a suggestion? Please contact me on X @rokasdam.