Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

25 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

VercelGL

VercelGL is a simple, lightweight API to use serverless chrome. It is designed to be used with the Vercel platform, but can be used anywhere.

Usage

currently there is only one route implemented

POST /api/screenshot

Body

Bear in mind that this app is more like template so fill free to bend for your use case (mine is looking for <canvas> the web)

{
 "url": "https://bafybeigsw7gagsmvxxivt5kvrl6ueld7yszzef2aylxbzzafez6ybxscca.ipfs.nftstorage.link"
}
Screenshot 2024年01月22日 at 11 56 56

⚠️ Caveats

Seems that many users have problem with paths etc. Using pnpm as package manager seemed to make a difference.

Reference

https://gist.github.com/kettanaito/56861aff96e6debc575d522dd03e5725

About

Use serverless chrome on your vercel

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /