{"id":13630740,"url":"https://github.com/asyne/mindless","last_synced_at":"2025-04-17T17:31:40.233Z","repository":{"id":217086480,"uuid":"90205293","full_name":"asyne/mindless","owner":"asyne","description":"Headless Chrome screenshot capturing via Node.js API","archived":false,"fork":false,"pushed_at":"2020-01-07T12:44:46.000Z","size":5,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-08T22:36:47.420Z","etag":null,"topics":["chrome","docker","headless","nodejs"],"latest_commit_sha":null,"homepage":"","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/asyne.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-04T00:34:46.000Z","updated_at":"2024-08-12T14:01:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"7353475f-0fba-4366-aacb-a0f463bef2c0","html_url":"https://github.com/asyne/mindless","commit_stats":null,"previous_names":["asyne/mindless"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyne%2Fmindless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyne%2Fmindless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyne%2Fmindless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asyne%2Fmindless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asyne","download_url":"https://codeload.github.com/asyne/mindless/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249360004,"owners_count":21257148,"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":["chrome","docker","headless","nodejs"],"created_at":"2024-08-01T22:01:57.993Z","updated_at":"2025-04-17T17:31:39.989Z","avatar_url":"https://github.com/asyne.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"## Getting started with Headless Chrome\n\nChrome 59 gets cross-platform Headless mode support. Chrome Headless is already available on Linux so you could start hacking with it right now, even if you're not on Linux. The only thing you will need is [Docker](https://www.docker.com/).\n\nFor now, there is one example of use in this repository – capturing screenshots for different platforms (Desktop, Mobile \u0026 Tablet) using Headless Chrome. But more may appear later, contributions are always welcome.\n\nYou could [read Chrome announcement post](https://developers.google.com/web/updates/2017/04/headless-chrome) for more generic use cases on Headless mode.\n\n### Running with Docker\n\n```sh\n# Clone Github repository\n$ git clone git@github.com:asyne/mindless.git\n\n# Build Docker image\n$ cd mindless/\n$ docker build -t mindless .\n\n# Run Docker container and take screenshots of Github's main page\n# «output» folder will be created in the current directory\n$ docker run -it --cap-add=SYS_ADMIN -v $(pwd)/output:/output mindless --url https://github.com/\n```\n\n### Reference\n\n- [Chrome Debugging Protocol](https://chromedevtools.github.io/devtools-protocol/)\n- [Chrome Remote Interface (CDP client)](https://github.com/cyrus-and/chrome-remote-interface/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyne%2Fmindless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasyne%2Fmindless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasyne%2Fmindless/lists"}