{"id":17053497,"url":"https://github.com/yeemachine/screenshot-api","last_synced_at":"2026-04-28T21:05:22.842Z","repository":{"id":52188656,"uuid":"147449044","full_name":"yeemachine/screenshot-api","owner":"yeemachine","description":null,"archived":false,"fork":false,"pushed_at":"2018-09-15T18:48:31.000Z","size":23119,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T11:49:08.840Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yeemachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-05T02:36:34.000Z","updated_at":"2024-12-26T10:50:05.000Z","dependencies_parsed_at":"2022-08-24T02:11:17.963Z","dependency_job_id":null,"html_url":"https://github.com/yeemachine/screenshot-api","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/yeemachine%2Fscreenshot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeemachine%2Fscreenshot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeemachine%2Fscreenshot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yeemachine%2Fscreenshot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yeemachine","download_url":"https://codeload.github.com/yeemachine/screenshot-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245059712,"owners_count":20554344,"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":[],"created_at":"2024-10-14T10:12:27.660Z","updated_at":"2026-04-28T21:05:17.821Z","avatar_url":"https://github.com/yeemachine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Node Webshot to Base64 API\n==========================\n\nThis simple API uses [Node-Webshot](https://github.com/brenden/node-webshot) to take a screenshot of a given URL and then converts it into a Base64 Data URI. It also uses [Node-Vibrant](https://github.com/akfish/node-vibrant/) to give back dominant colors. Created for [VR-Browser](https://github.com/yeemachine/vr-browser).\n\n**Options**\n\nThis simplified version takes 2 parameters: a URL and a screen width (optional).\n\n```\nhttps://screenshot-api.herokuapp.com/webshot?url=google.com\u0026width=1440\n```\n\n\u003ctable\u003e\n  \u003cthead\u003e\n    \u003ctr\u003e\n      \u003cth\u003eOption\u003c/th\u003e\n      \u003cth\u003eDefault Value\u003c/th\u003e\n      \u003cth\u003eDescription\u003c/th\u003e\n    \u003c/tr\u003e\n  \u003c/thead\u003e\n  \u003ctbody\u003e\n   \u003ctr\u003e\n      \u003cth\u003eurl\u003c/th\u003e\n      \u003ctd\u003e\n'google.com'\n      \u003c/td\u003e\n      \u003ctd\u003eThe website URL. No need for headers. Takes a string. If given an invalid URL, it will return a screenshot of a Google image search of the string.\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr\u003e\n      \u003cth\u003ewidth\u003c/th\u003e\n      \u003ctd\u003e\n1000\n      \u003c/td\u003e\n      \u003ctd\u003eThe dimension of the browser window width. Takes a value.\u003c/td\u003e\n    \u003c/tr\u003e\n  \n  \u003c/tbody\u003e\n\u003c/table\u003e\n\n**Example Response**\n\n```\ncolor:{\n  DarkMuted: {_rgb: Array(3), _population: 1, _hsl: Array(3)}\n  DarkVibrant: {_rgb: Array(3), _population: 0}\n  LightMuted: {_rgb: Array(3), _population: 89, _hsl: Array(3)}\n  LightVibrant: {_rgb: Array(3), _population: 15, _hsl: Array(3)}\n  Muted: {_rgb: Array(3), _population: 59, _hsl: Array(3)}\n  Vibrant: {_rgb: Array(3), _population: 27, _hsl: Array(3)}\n},\ndimensions: {\n  width: 1440, \n  height: 768, \n  type: \"png\"\n},\nimage: \"data:image/jpg;base64\"\n```\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeemachine%2Fscreenshot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyeemachine%2Fscreenshot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyeemachine%2Fscreenshot-api/lists"}