{"id":21710309,"url":"https://github.com/cloudinary-devs/color-accessibility-upload","last_synced_at":"2026-04-18T10:35:08.305Z","repository":{"id":209847014,"uuid":"725063174","full_name":"cloudinary-devs/color-accessibility-upload","owner":"cloudinary-devs","description":"Example of accessibility analysis on upload","archived":false,"fork":false,"pushed_at":"2023-12-06T14:46:36.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T03:12:21.730Z","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/cloudinary-devs.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":"2023-11-29T11:09:04.000Z","updated_at":"2023-11-29T12:18:56.000Z","dependencies_parsed_at":"2023-12-06T15:50:15.788Z","dependency_job_id":null,"html_url":"https://github.com/cloudinary-devs/color-accessibility-upload","commit_stats":null,"previous_names":["cloudinary-devs/color-accessibility-upload"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudinary-devs/color-accessibility-upload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary-devs%2Fcolor-accessibility-upload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary-devs%2Fcolor-accessibility-upload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary-devs%2Fcolor-accessibility-upload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary-devs%2Fcolor-accessibility-upload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudinary-devs","download_url":"https://codeload.github.com/cloudinary-devs/color-accessibility-upload/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudinary-devs%2Fcolor-accessibility-upload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31950895,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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-11-25T23:14:39.809Z","updated_at":"2026-04-18T10:35:08.288Z","avatar_url":"https://github.com/cloudinary-devs.png","language":"JavaScript","readme":"# color-accessibility-upload\nExample of accessibility analysis on upload.  Three images are uploaded to your product environment with `accessibility_analysis` requested.  The `eval` feature is used to tag the uploaded image according to the result of the accessibility analysis. If the image has a low score for `distinct_edges`, the asset is tagged 'distinct_edges_issue'. If it has a low score for `distinct_colors`, the asset is tagged 'distinct_colors_issue'.\n\nNote: You may need to contact Cloudinary support to enable accessibility analysis on your product environment.\n\n## Running the script\n\nTo run the script:\n\n1. Clone this repo.\n1. Open a terminal in the `color-accessibility-upload` folder.\n1. Set your Cloudinary API Environment variable:\n   ```\n   export CLOUDINARY_URL=cloudinary://\u003capi_key\u003e:\u003capi_secret\u003e@\u003ccloud_name\u003e\n   ```\n   You can find your API Environment variable in the Account Details section of your Cloudinary console.\n1. Install Cloudinary:\n   ```\n   npm i\n   ```\n1. Run the script:\n   ```\n   node index.js\n   ```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudinary-devs%2Fcolor-accessibility-upload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudinary-devs%2Fcolor-accessibility-upload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudinary-devs%2Fcolor-accessibility-upload/lists"}