프로젝트
GitHub에서 보기
as-a-service/screenshot
소개
Screenshot as a service: take screenshot of the given URL
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTakes 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
관련 프로젝트 살펴보기
불러오는 중…