Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hehehai/headless-try

Nextjs use headless deploy with vercel.com
https://github.com/hehehai/headless-try

headless nextjs screenshot vercel

Last synced: about 20 hours ago
JSON representation

Nextjs use headless deploy with vercel.com

Awesome Lists containing this project

README

        

Deploy puppeteer headless api in vercel



![image](https://github.com/hehehai/h-blog/assets/12692552/712824de-8b97-44f3-a402-bd213def7c63)

## Getting Started

First, run the development server:

```bash
npm install
npm run dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

## Features

- Support webpage screenshots
- Support cloudflare [nopecha](https://nopecha.com/demo)

![image](https://github.com/hehehai/h-blog/assets/12692552/bd4cc26c-2bd4-476f-a7ab-d2b5e3d0ae74)
![image](https://github.com/hehehai/h-blog/assets/12692552/02a65b4a-2f9b-421a-ba26-0f790b0951be)

## Refs

- [在 Vercel 部署无头浏览器实现网页截图](https://www.hehehai.cn/posts/vercel-deploy-headless)