{"id":22325850,"url":"https://github.com/mdobes/web2screen","last_synced_at":"2025-08-18T16:04:36.742Z","repository":{"id":54509524,"uuid":"302445210","full_name":"mdobes/web2screen","owner":"mdobes","description":"A simple website API written in express and phantomjs to creating a screenshots of websites!","archived":false,"fork":false,"pushed_at":"2021-02-14T18:27:42.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-24T17:54:48.842Z","etag":null,"topics":["api","hacktoberfest","screenshot","web","webscreenshot"],"latest_commit_sha":null,"homepage":"","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/mdobes.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":"2020-10-08T19:43:18.000Z","updated_at":"2021-10-19T19:44:32.000Z","dependencies_parsed_at":"2022-08-13T18:10:40.725Z","dependency_job_id":null,"html_url":"https://github.com/mdobes/web2screen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdobes/web2screen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdobes%2Fweb2screen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdobes%2Fweb2screen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdobes%2Fweb2screen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdobes%2Fweb2screen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdobes","download_url":"https://codeload.github.com/mdobes/web2screen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdobes%2Fweb2screen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271019344,"owners_count":24685677,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","hacktoberfest","screenshot","web","webscreenshot"],"created_at":"2024-12-04T02:14:08.095Z","updated_at":"2025-08-18T16:04:36.690Z","avatar_url":"https://github.com/mdobes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# web2screen\nA simple website API written in express and phantomjs to creating a screenshots of websites!\n\n\n### How to install?\nRun in SSH:\n```\ngit clone https://github.com/mdobes/web2screen.git\n```\nGo to folder web2screen\n```\ncd web2screen\n```\nInstall Chromium\n```\napt install chromium-browser -y\n```\nInstall libs\n```\nnpm install\n```\nOpen ```config.json``` and edit it\n```\n{\n    \"port\": 3000, // the port to listen to\n    \"token\": \"token\", // security token\n    \"defaults\":{\n        \"size\": \"1920,1080\", // default resolution of screenshot\n        \"sleep\": 2000 // waiting time to load page\n    }\n}\n```\nInstall PM2\n```\nnpm install pm2 -g\n```\nRun it in PM2\n```\npm2 start index.js --name web2screen\n```\nSave PM2 and start it on startup\n```\npm2 startup \u0026\u0026 pm2 save\n```\n\n\n### How to use?\n```\nGET ipadress.com:port/screenshot\n```\n\n| Parameter | Description                | Example             | Required      |\n|-----------|----------------------------|---------------------|---------------|\n| url       | A valid URL                | https://example.com | Yes           |\n| token     | Security token from config | token               | Yes           |\n| size      | Size of screenshot         | 1920,1080           | No (optional) |\n| sleep     | Miliseconds to load a page | 1000                | No (optional) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdobes%2Fweb2screen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdobes%2Fweb2screen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdobes%2Fweb2screen/lists"}