kshitijsubedi / supabase-screenshot-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supabase Screenshot API Starter Kit

This project will help you create a Screenshot API using Supabase Edge Functions.

What is included inside?

  • Skeleton for building a Screenshot API with Puppeteer & Browserless
  • CI/CD template, which handles deployment, database migrations and secrets.

How to setup:

You can setup this API in 4 steps:

  1. Fork this repository

  2. Create a Supabase project if you don't have one

  3. 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
  1. Trigger the deployment workflow

Feedback

Found a bug or have a suggestion? Please contact me on X @rokasdam.

About


Languages

Language:TypeScript 100.0%