{"id":20317433,"url":"https://github.com/thimc/palette","last_synced_at":"2025-10-27T11:11:09.679Z","repository":{"id":200181060,"uuid":"705008004","full_name":"thimc/palette","owner":"thimc","description":"non-interactive cli tool that extracts colors from images","archived":false,"fork":false,"pushed_at":"2023-10-14T23:21:26.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T13:16:47.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/thimc.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}},"created_at":"2023-10-14T19:10:12.000Z","updated_at":"2023-10-14T23:23:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"273c66ae-d853-4277-9e42-1875430f2528","html_url":"https://github.com/thimc/palette","commit_stats":null,"previous_names":["thimc/palette"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Fpalette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Fpalette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Fpalette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thimc%2Fpalette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thimc","download_url":"https://codeload.github.com/thimc/palette/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241818898,"owners_count":20025212,"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":[],"created_at":"2024-11-14T18:31:59.651Z","updated_at":"2025-10-27T11:11:09.577Z","avatar_url":"https://github.com/thimc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# palette\n\nSimple color extractor CLI tool that either reads from standard input, or from a\nfile passed as an argument and dumps the colors in hexadecimal values.\n\nThe colors are sorted by their occurrence and printed out to the console with a\n`#RRGGBB` format.\n\n## Example usage\n\n\t./palette /path/to/my/image.png\n\n\t./palette \u003cimage.png\n\n\tcat my_image.png | palette\n\n\tmaim -s | palette\n\n## TODOs\n\n* add support for multiple files. There are two ways this could be handled.\nFirst, the files are processed separately and `palette` will dump the `n * amount\nof files` most dominant colors.  The second alternative to this is to process\nthe files in a similar manner but merging their results and ultimately only\nprinting `n` amount of colors.\n* find a suck less way to exclude colors that look to similar, using an\nalgorithm such as Euclidean distance could perhaps be of use here.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthimc%2Fpalette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthimc%2Fpalette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthimc%2Fpalette/lists"}