{"id":13547992,"url":"https://github.com/as-a-service/screenshot","last_synced_at":"2025-04-02T20:31:22.242Z","repository":{"id":50813412,"uuid":"158633966","full_name":"as-a-service/screenshot","owner":"as-a-service","description":"Screenshot as a service: take screenshot of the given URL","archived":false,"fork":false,"pushed_at":"2022-12-10T16:35:02.000Z","size":49,"stargazers_count":103,"open_issues_count":6,"forks_count":25,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-22T06:08:41.575Z","etag":null,"topics":["cloud-run-button","container","docker","headless-chrome","microservice","nodejs"],"latest_commit_sha":null,"homepage":"https://screenshot.as-a-service.dev/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/as-a-service.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-22T02:50:55.000Z","updated_at":"2024-05-09T12:42:37.000Z","dependencies_parsed_at":"2023-01-26T09:31:33.722Z","dependency_job_id":null,"html_url":"https://github.com/as-a-service/screenshot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as-a-service%2Fscreenshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as-a-service%2Fscreenshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as-a-service%2Fscreenshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/as-a-service%2Fscreenshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/as-a-service","download_url":"https://codeload.github.com/as-a-service/screenshot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246887991,"owners_count":20850181,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-run-button","container","docker","headless-chrome","microservice","nodejs"],"created_at":"2024-08-01T12:01:04.249Z","updated_at":"2025-04-02T20:31:17.233Z","avatar_url":"https://github.com/as-a-service.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Samples and microservices"],"sub_categories":["Useful"],"readme":"# Takes a screenshot of the given page\n\nA simple web service that takes screenshot of the given URL.\n\nRun with `docker run -p 8080:8080 gcr.io/as-a-service-dev/screenshot`\n\n[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://deploy.cloud.run)\n\n## API\n\n### URL parameters:\n\n* `url`: The URL of the website to screenshot\n* (`width`): The viewport width (in pixels), defaults to 1280\n* (`height`): The viewport height (in pixels), defaults to 800\n\nExample: `/?url=https://steren.fr`\n\n## Running the server locally\n\n* Build with `docker build . -t screenshot`\n* Start with `docker run -p 8080:8080 screenshot`\n* Open in your browser at `http://localhost:8080/?url=https://steren.fr`\n\n![CloudBuild](https://badger-l7zawt5jsq-uw.a.run.app/build/status?project=as-a-service-dev\u0026id=55d8abca-3a3c-428e-a608-2c4caa10df58)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fas-a-service%2Fscreenshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fas-a-service%2Fscreenshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fas-a-service%2Fscreenshot/lists"}