{"id":16102388,"url":"https://github.com/sshaw/national_colors","last_synced_at":"2026-05-17T06:39:16.006Z","repository":{"id":136718213,"uuid":"252938660","full_name":"sshaw/national_colors","owner":"sshaw","description":"A JSON file containing each country's national colors, in the proper order","archived":false,"fork":false,"pushed_at":"2020-04-05T21:04:50.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T00:55:06.548Z","etag":null,"topics":["colors","country-data","country-information","json","national","nationality"],"latest_commit_sha":null,"homepage":"https://en.wikipedia.org/wiki/National_colours ","language":"Ruby","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/sshaw.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":"2020-04-04T07:43:16.000Z","updated_at":"2024-12-19T08:42:03.000Z","dependencies_parsed_at":"2023-07-03T09:00:40.619Z","dependency_job_id":null,"html_url":"https://github.com/sshaw/national_colors","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sshaw/national_colors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fnational_colors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fnational_colors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fnational_colors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fnational_colors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshaw","download_url":"https://codeload.github.com/sshaw/national_colors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshaw%2Fnational_colors/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33129390,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T06:27:06.342Z","status":"ssl_error","status_checked_at":"2026-05-17T06:26:59.432Z","response_time":107,"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":["colors","country-data","country-information","json","national","nationality"],"created_at":"2024-10-09T18:53:42.402Z","updated_at":"2026-05-17T06:39:15.991Z","avatar_url":"https://github.com/sshaw.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# National Colors\n\nA JSON file containing each country's national colors, in the proper order.\n\n\nScraped from https://en.wikipedia.org/wiki/National_colours which seems to be the only place\nthat has the **correct colors** in the **correct order**.\n\n## Regenerating\n\nA small [Ruby](https://www.ruby-lang.org/en/) script is used to scrape the Wikipedia page. To run it,\nperform the following commands from this repository's root directory:\n\n    cd src\n    gem install normalize_country nokogiri\n    ruby extract.rb\n\nAlternatively, if you prefer [Bundler](https://bundler.io/):\n\n    cd src\n    bundle install\n    bundle exec ruby extract.rb\n\nThe JSON will be written to `national_colors.json`. To use a different filename:\n\n```\nruby extract.rb my_amaaaaaaaazing_filename.json\n```\n\n## html-colors\n\nMapping of CSS color names to hex values are done via a JSON file stolen from the\n[html-colors](https://github.com/radiovisual/html-colors) node package.\n\n## License\n\nReleased under the MIT License: http://www.opensource.org/licenses/MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fnational_colors","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshaw%2Fnational_colors","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshaw%2Fnational_colors/lists"}