{"id":15080661,"url":"https://github.com/joshdk/chromatic","last_synced_at":"2026-01-18T18:33:27.281Z","repository":{"id":51326058,"uuid":"140370436","full_name":"joshdk/chromatic","owner":"joshdk","description":"🍪 Configurable human assisted Chrome automation","archived":false,"fork":false,"pushed_at":"2021-05-15T04:57:06.000Z","size":345,"stargazers_count":3,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T08:14:06.869Z","etag":null,"topics":["automation","chrome","chrome-debugger-protocol","chrome-devtools","go","golang","google-chrome"],"latest_commit_sha":null,"homepage":"","language":"Go","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/joshdk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-10T03:11:25.000Z","updated_at":"2021-05-15T08:42:16.000Z","dependencies_parsed_at":"2022-09-24T19:02:45.463Z","dependency_job_id":null,"html_url":"https://github.com/joshdk/chromatic","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/joshdk/chromatic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fchromatic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fchromatic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fchromatic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fchromatic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshdk","download_url":"https://codeload.github.com/joshdk/chromatic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshdk%2Fchromatic/sbom","scorecard":{"id":533922,"data":{"date":"2025-08-11","repo":{"name":"github.com/joshdk/chromatic","commit":"88ee3f88496a6aea035b0039b1037667dfacda10"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"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":"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/26 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":"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":"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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.1.0-rc1 not signed: https://api.github.com/repos/joshdk/chromatic/releases/12493163","Warn: release artifact 0.1.0-rc1 does not have provenance: https://api.github.com/repos/joshdk/chromatic/releases/12493163"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0061 / GHSA-r88r-gmrh-7j83","Warn: Project is vulnerable to: GO-2022-0956 / GHSA-6q6q-88xp-6f2r","Warn: Project is vulnerable to: GO-2020-0036 / GHSA-wxc4-f4m6-wwqv"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T06:26:37.467Z","repository_id":51326058,"created_at":"2025-08-20T06:26:37.467Z","updated_at":"2025-08-20T06:26:37.467Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28547269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T14:59:57.589Z","status":"ssl_error","status_checked_at":"2026-01-18T14:59:46.540Z","response_time":98,"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":["automation","chrome","chrome-debugger-protocol","chrome-devtools","go","golang","google-chrome"],"created_at":"2024-09-25T05:05:00.432Z","updated_at":"2026-01-18T18:33:27.264Z","avatar_url":"https://github.com/joshdk.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI][circleci-badge]][circleci-link]\n[![Go Report Card][go-report-card-badge]][go-report-card-link]\n[![License][license-badge]][license-link]\n\n# Chromatic\n\n🍪 Configurable human assisted Chrome automation\n\n![chromatic-demo](https://user-images.githubusercontent.com/307183/43058824-72d6681e-8dfe-11e8-94d2-2e71d847d425.gif)\n\n## Installing\n\n### From source\n\nYou can use `go get` to install this tool by running:\n\n```bash\n$ go get -u github.com/joshdk/chromatic\n```\n\n## Motivations\n\nThere are certain services that require programmatic interaction, but otherwise make it difficult. Web-only APIs, [CAPTCHAs](https://en.wikipedia.org/wiki/CAPTCHA), and MFA are a few examples of things that might not work well with typical automation.\n\nThis tool, `chromatic`, implements an escape-hatch around these difficulties. It can be configured to open up a Chrome window to a given starting URL, and will continue to be interactive until a given set of ending conditions are met, at which time the Chrome window will close. This user interaction is typically a login flow.\n\nWhen `chromatic` exits, it will dump details about the last visited page as json. This json (and the session data contained within) is meant to be consumed by additional automation.\n\n## Usage\n\nIn this example we will use `chromatic` to extract and consume a web session for CircleCI.\n\n### Configuration\n\nThe following [`examples/circleci.yml`](https://github.com/joshdk/chromatic/blob/master/examples/circleci.yml) will launch Chrome to CircleCI's Github/Bitbucket authorization page.\n\n```yaml\nstart:\n  url: https://circleci.com/vcs-authorize/\n\nend:\n  timeout: 60\n  url: https://circleci.com/dashboard\n  cookie:\n    name: ring-session\n    domain: circleci.com\n  title: CircleCI\n```\n\n### Interaction\n\nYou can then login to Github using your username, password, \u0026 maybe an MFA code. When you eventually login and are redirected to your CircleCI dashboard, `chromatic` will check if the desired URL, title, \u0026 cookie match the current page.\n\n### Output\n\nOnce a match is found, Chrome will exit successfully and `chromatic` will dump details about the last page as json.\n\n```\n$ chromatic examples/circleci.yml | tee page.json\n{\n  \"url\": \"https://circleci.com/dashboard\",\n  \"title\": \"CircleCI\",\n  \"cookies\": [\n    {\n      \"name\": \"ring-session\",\n      \"domain\": \"circleci.com\",\n      \"value\": \"vKAm...72Af\"\n    }\n    ...\n  ]\n}\n```\n\n### Consumption\n\nUsing this output, the session value can be stored and later used with the web API.\n\n```\n$ SESSION=\"$(cat page.json | jq -r '.cookies[] | select(.name==\"ring-session\") | .value')\"\n\n$ echo $SESSION\nvKAm...72Af\n\n$ curl -H \"Cookie: ring-session=$SESSION\" https://circleci.com/api/v1/me\n{\n  \"name\" : \"...\",\n  \"selected_email\" : \"...\",\n  ...\n}\n```\n\n## License\n\nThis library is distributed under the [MIT License][license-link], see [LICENSE.txt][license-file] for more information.\n\n[circleci-badge]:         https://circleci.com/gh/joshdk/chromatic.svg?\u0026style=shield\n[circleci-link]:          https://circleci.com/gh/joshdk/chromatic/tree/master\n[go-report-card-badge]:   https://goreportcard.com/badge/github.com/joshdk/chromatic\n[go-report-card-link]:    https://goreportcard.com/report/github.com/joshdk/chromatic\n[license-badge]:          https://img.shields.io/badge/license-MIT-green.svg\n[license-file]:           https://github.com/joshdk/chromatic/blob/master/LICENSE.txt\n[license-link]:           https://opensource.org/licenses/MIT\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdk%2Fchromatic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshdk%2Fchromatic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshdk%2Fchromatic/lists"}