Skip to content
Projets

À propos

Screenshot as a service: take screenshot of the given URL

Outils de développement

Comment ces chiffres sont mesurés

Progression mesurée des étoiles

in 24h
0
in 7 days
0
in 15 days
Historique en cours
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

README.md

Original

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

Run on Google Cloud

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

CloudBuild

Explorer des projets similaires

Chargement…