{"id":18497693,"url":"https://github.com/schadokar/colorcli","last_synced_at":"2025-05-14T05:16:26.903Z","repository":{"id":113982643,"uuid":"248213031","full_name":"schadokar/colorcli","owner":"schadokar","description":"the `colorcli` is to return the name of the hexcode of the color. If the hexcode doesn't exist then `colorcli` can add the color.","archived":false,"fork":false,"pushed_at":"2020-03-18T11:35:39.000Z","size":193,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-25T17:42:15.976Z","etag":null,"topics":["cli","cobra","golang","tutorial"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/schadokar.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-18T11:27:48.000Z","updated_at":"2021-01-27T13:12:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"83f76168-f952-483c-8870-2b7e19251f28","html_url":"https://github.com/schadokar/colorcli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schadokar%2Fcolorcli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schadokar%2Fcolorcli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schadokar%2Fcolorcli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/schadokar%2Fcolorcli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/schadokar","download_url":"https://codeload.github.com/schadokar/colorcli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239213674,"owners_count":19601018,"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":["cli","cobra","golang","tutorial"],"created_at":"2024-11-06T13:35:23.393Z","updated_at":"2025-02-17T00:20:24.861Z","avatar_url":"https://github.com/schadokar.png","language":"Go","readme":"# colorcli\r\n\r\nThe `colorcli` is to return the name of the hexcode of the color. If the hexcode doesn't exist then `colorcli` can add the color.\r\n\r\nThe complete tutorial is published on [codesource.io]().\r\n\r\n## Instruction to run the cli\r\n\r\n1. Download the `colornames.min.json` from the [color-name](https://github.com/meodai/color-names#cdn-) git repo.\r\n\r\n```\r\ncurl -O https://github.com/meodai/color-names#cdn-\r\n```\r\n2. go install colorcli\r\n3. get the color name\r\n\r\n```\r\n$ colorcli name ffffff\r\nName: White, Hex: ffffff\r\n```\r\n4. add the color to the colornames file.\r\n\r\n```\r\n$ colorcli addcolor fffeee lightcream\r\nHex to color added successfully!\r\n```\r\n\r\n## Author\r\n\r\nHi there, I am Shubham Chadokar. I write articles and tutorials on Blockchain, golang, nodejs and reactjs. You can read my other articles and tutorials on my [blog](https://schadokar.dev).\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschadokar%2Fcolorcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fschadokar%2Fcolorcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fschadokar%2Fcolorcli/lists"}