{"id":16131338,"url":"https://github.com/nitrogenez/prism","last_synced_at":"2026-02-17T22:31:08.203Z","repository":{"id":189750906,"uuid":"681099565","full_name":"nitrogenez/prism","owner":"nitrogenez","description":"All about colors","archived":false,"fork":false,"pushed_at":"2025-01-23T19:23:49.000Z","size":91,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T16:49:42.069Z","etag":null,"topics":["color","colors","colorspace","utility","utility-library","zig","zig-lib","zig-library","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nitrogenez.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":"2023-08-21T09:05:40.000Z","updated_at":"2025-01-23T19:21:33.000Z","dependencies_parsed_at":"2024-08-29T00:24:53.777Z","dependency_job_id":"a8c4a8f0-673e-4521-a7c3-77d7a242c3f9","html_url":"https://github.com/nitrogenez/prism","commit_stats":null,"previous_names":["nitrogenez/prism-zig","nitrogenez/prism"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nitrogenez/prism","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrogenez%2Fprism","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrogenez%2Fprism/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrogenez%2Fprism/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrogenez%2Fprism/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nitrogenez","download_url":"https://codeload.github.com/nitrogenez/prism/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nitrogenez%2Fprism/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29560702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"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":["color","colors","colorspace","utility","utility-library","zig","zig-lib","zig-library","ziglang"],"created_at":"2024-10-09T22:24:52.303Z","updated_at":"2026-02-17T22:31:08.184Z","avatar_url":"https://github.com/nitrogenez.png","language":"Zig","readme":"![Build Status][proj-build-status]\n\n# Table of Contents\n- [Table of Contents](#table-of-contents)\n- [Description](#description)\n- [Why Prism?](#why-prism)\n- [Usage](#usage)\n- [Building](#building)\n- [Contributing](#contributing)\n- [Colorspace Support](#colorspace-support)\n    - [Meaning](#meaning)\n- [License](#license)\n\n# Description\n\nPrism is a utility library for managing colors and colorspaces written in Zig.\n\n# Why Prism?\nPrism is a lightweight and performant piece of software powered by math. Zig's\ncomptime optimizations coupled with static typing allows for a huge performance\ngain compared to other languages like C++, C#, Java, etc.\n\n# Usage\nPrism requires zig `0.14.0-dev.2577+271452d22` to compile.\nFirst, fetch the library into your project using:\n\n```bash\n$ zig fetch --save https://github.com/nitrogenez/prism\n```\n\nThis will fetch the latest commit from the master branch. Next, you should add the following to your build.zig:\n\n```zig\nconst prism = b.dependency(\"prism\", .{});\nmy_mod.addImport(\"prism\", prism.module(\"prism\"));\n```\n\n# Contributing\nAll the files must be formatted and linted with `zig fmt`. The code must be\nconsistent and clean. If needed, use `// zig fmt: off` and `// zig fmt: on`.\n\nIf you are willing to make Prism better (or worse),\nyou may follow the instructions:\n\n1. [Fork Prism](https://github.com/nitrogenez/prism/fork)\n2. Create a new branch using git, e.g `git checkout -b feat/myfeat`\n3. Write your dream code\n4. Add your changes and make a commit:\n   + `git add src/my_cool_change.zig`\n   + `git commit -m \"me code\"`\n5. [Open a merge request](https://github.com/nitrogenez/prism/compare)\n6. Wait for any contributor to review your code\n7. Go get some tea, because the review may take a while\n8. Make changes if requested by a reviewer as described previousely\n9. You're GTG, enjoy your profile pic in a contributors list :)\n\n# Colorspace Support\n| NAME | STATE       |\n| ---- | ----------- |\n| CMYK | **FULL**    |\n| HSI  | **FULL**    |\n| HSL  | **FULL**    |\n| LAB  | **FULL**    |\n| YIQ  | **FULL**    |\n| HSV  | **FULL**    |\n| RGB  | **FULL**    |\n| XYZ  | **FULL**    |\n| LUV  | **FULL**    |\n\n### Legend\n+ **NAME** - Name of the colorspace\n+ **STATE** - Colorspace support state\n  + **FULL** - A full-featured colorspace support (conversion to and from RGB or anything else)\n  + **PARTIAL** - It kinda works, but is lacking functionality (only data type / acknowledged)\n  + **NO** - No support at all\n  + **TODO** - Planned and is yet to be implemented\n\n# License\nPrism is licensed under a 3-clause BSD (\"New\" or \"Revised\") License. See [LICENSE](LICENSE) to learn more.\n\n[proj-license]: https://img.shields.io/github/license/nitrogenez/prism?style=flat-square\u0026logo=freebsd\u0026labelColor=1f2335\u0026color=7dcfff\n[proj-build-status]: https://img.shields.io/github/actions/workflow/status/nitrogenez/prism/ci.yml?style=flat-square\u0026logo=github\u0026labelColor=1f2335\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitrogenez%2Fprism","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnitrogenez%2Fprism","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnitrogenez%2Fprism/lists"}