Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/hehehai/headless-try
- Owner: hehehai
- Created: 2024-01-15T07:15:55.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-17T00:23:17.000Z (6 months ago)
- Last Synced: 2024-05-30T02:10:54.922Z (6 months ago)
- Topics: headless, nextjs, screenshot, vercel
- Language: JavaScript
- Homepage: https://headless-try.vercel.app
- Size: 39.1 KB
- Stars: 14
- Watchers: 1
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)