{"id":15502020,"url":"https://github.com/sungwoncho/pixel-explorer","last_synced_at":"2026-01-28T20:39:09.726Z","repository":{"id":57325007,"uuid":"43301162","full_name":"sungwoncho/pixel-explorer","owner":"sungwoncho","description":"Explore the screen and look for the pixels with the desired color.","archived":false,"fork":false,"pushed_at":"2015-12-25T22:00:56.000Z","size":11,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-10T02:58:19.039Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sungwoncho.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":"2015-09-28T13:02:33.000Z","updated_at":"2015-10-25T06:08:55.000Z","dependencies_parsed_at":"2022-09-06T09:20:47.266Z","dependency_job_id":null,"html_url":"https://github.com/sungwoncho/pixel-explorer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/sungwoncho/pixel-explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungwoncho%2Fpixel-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungwoncho%2Fpixel-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungwoncho%2Fpixel-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungwoncho%2Fpixel-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sungwoncho","download_url":"https://codeload.github.com/sungwoncho/pixel-explorer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sungwoncho%2Fpixel-explorer/sbom","scorecard":{"id":858657,"data":{"date":"2025-08-11","repo":{"name":"github.com/sungwoncho/pixel-explorer","commit":"b691fe384bf1a19e234ad9701ce10493e39594e6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-24T00:37:25.409Z","repository_id":57325007,"created_at":"2025-08-24T00:37:25.409Z","updated_at":"2025-08-24T00:37:25.409Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28851086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-02T09:07:07.760Z","updated_at":"2026-01-28T20:39:09.708Z","avatar_url":"https://github.com/sungwoncho.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pixel Explorer\n\n[![Build Status](https://travis-ci.org/sungwoncho/pixel-explorer.svg?branch=master)](https://travis-ci.org/sungwoncho/pixel-explorer)\n\nExplore the screen and look for the pixels with the desired color. Optionally draw the output.\n\n## Installation\n\n    npm install pixel-explorer\n\n## API\n\n### find(x, y, size, color)\n\nFinds the pixels with the desired `color`. Search through all pixels in a\nrectangle whose sides are of length `size`. The rectangle begins at `x` and `y`\nof the screen.\n\nReturns an array of objects containing x and y coordinates of the\npixels.\n\n```javascript\nvar pixelExplorer = require('pixel-explorer');\n\npixelExplorer.find(350, 400, 6, '423c42');\n// =\u003e [{x: 351, y: 400}, {x: 351, y: 401}, {x: 355, y: 400},\n//     {x: 352, y: 409}, {x: 352, y: 403}]\n```\n\n### explore(x, y, size)\n\nExplores the rectangle from `x` and `y` whose sides are of length `size`.\n\nReturns an array of objects containing x and y coordinates, and the colors\nof the pixels.\n\n```javascript\nvar pixelExplorer = require('pixel-explorer');\n\npixelExplorer.explore(350, 400, 6);\n// =\u003e [{x: 350, y: 406, color: '423c42'}, {x: 351, y: 402, color: 'fafafa'},\n//     {x: 355, y: 403, color: '0f840f'}, {x: 352, y: 409, color: '000000'},\n//     {x: 354, y: 400, color: 'fafafa'}]\n```\n\n### draw(x, y, size, color)\n\nFind the specific color in the rectangle specified by the arguments and draws\nthe result in the console.\n\n*Limitation: the output may not fit in the console depending on the size*\n\n```javascript\nvar pixelExplorer = require('pixel-explorer');\n\npixelExplorer.draw(350, 400, 6, '423c42');\n\n// =\u003e Output\n//  ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┐\n//  │     │ 350 │ 351 │ 352 │ 353 │ 354 │ 355 │\n//  ├─────┼─────┼─────┼─────┼─────┼─────┼─────┤\n//  │ 400 │     │ X   │     │     │     │ X   │\n//  ├─────┼─────┼─────┼─────┼─────┼─────┼─────┤\n//  │ 401 │     │ X   │     │     │     │     │\n//  ├─────┼─────┼─────┼─────┼─────┼─────┼─────┤\n//  │ 402 │     │     │ X   │     │     │     │\n//  ├─────┼─────┼─────┼─────┼─────┼─────┼─────┤\n//  │ 403 │     │     │ x   │     │     │     │\n//  ├─────┼─────┼─────┼─────┼─────┼─────┼─────┤\n//  │ 404 │     │     │     │     │     │     │\n//  ├─────┼─────┼─────┼─────┼─────┼─────┼─────┤\n//  │ 405 │     │     │     │     │     │     │\n//  └─────┴─────┴─────┴─────┴─────┴─────┴─────┘\n```\n\n## Contributing\n\nOpen issues with bugs or feature requests.\n\n### Run test\n\n    npm test\n\n### Roadmap\n\n* Better draw using node-canvas and png output\n* Compare the explored output with pre-set values\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsungwoncho%2Fpixel-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsungwoncho%2Fpixel-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsungwoncho%2Fpixel-explorer/lists"}