项目
在 GitHub 查看
as-a-service/screenshot
关于
Screenshot as a service: take screenshot of the given URL
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 正在收集历史
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Takes a screenshot of the given page
[!WARNING] This code is provided as is and has not been reviewed for security issues. Do not expose these services publicly and do not use in production.
A simple web service that takes screenshot of the given URL.
Run with docker run -p 8080:8080 gcr.io/as-a-service-dev/screenshot
API
URL parameters:
url: The URL of the website to screenshot- (
width): The viewport width (in pixels), defaults to 1280 - (
height): The viewport height (in pixels), defaults to 800
Example: /?url=https://steren.fr
Running the server locally
- Build with
docker build . -t screenshot - Start with
docker run -p 8080:8080 screenshot - Open in your browser at
http://localhost:8080/?url=https://steren.fr
探索相关项目
加载中…