web2屏幕
一个用express和phantomjs编写的简单网站API,用于创建网站的屏幕截图!
如何安装?
在SSH中运行:
git clone https://github.com/mdobes/web2screen.git
转到文件夹web2screen
cd web2screen
安装Chromium
apt install chromium-browser -y
安装库
npm install
打开config.json并对其进行编辑
{
"port": 3000, // the port to listen to
"token": "token", // security token
"defaults":{
"size": "1920,1080", // default resolution of screensho
评论0
最新资源