{"id":37443362,"url":"https://github.com/winter-cardinal/winter-cardinal-ui","last_synced_at":"2026-01-16T06:46:44.242Z","repository":{"id":37431101,"uuid":"216957654","full_name":"winter-cardinal/winter-cardinal-ui","owner":"winter-cardinal","description":"WebGL-based UI library","archived":false,"fork":false,"pushed_at":"2025-12-31T04:59:08.000Z","size":335143,"stargazers_count":67,"open_issues_count":7,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-04T06:53:07.908Z","etag":null,"topics":["ui","webapp","webgl"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/winter-cardinal.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-10-23T03:11:53.000Z","updated_at":"2025-12-23T03:18:05.000Z","dependencies_parsed_at":"2022-07-08T18:44:15.156Z","dependency_job_id":"49235a4e-3217-4b6b-8d8d-1812679e0205","html_url":"https://github.com/winter-cardinal/winter-cardinal-ui","commit_stats":null,"previous_names":[],"tags_count":581,"template":false,"template_full_name":null,"purl":"pkg:github/winter-cardinal/winter-cardinal-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winter-cardinal%2Fwinter-cardinal-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winter-cardinal%2Fwinter-cardinal-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winter-cardinal%2Fwinter-cardinal-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winter-cardinal%2Fwinter-cardinal-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winter-cardinal","download_url":"https://codeload.github.com/winter-cardinal/winter-cardinal-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winter-cardinal%2Fwinter-cardinal-ui/sbom","scorecard":{"id":1237623,"data":{"date":"2025-07-07","repo":{"name":"github.com/winter-cardinal/winter-cardinal-ui","commit":"74d3309a98893a85112ccd7988b46e8980fd07df"},"scorecard":{"version":"v5.2.1-18-gbb9c347d","commit":"bb9c347dff6349d986baab6578a46d68a5524c62"},"score":1.9,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-593f-38f6-jp5m","Warn: Project is vulnerable to: GHSA-x2rg-q646-7m2v","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-6fx8-h7jm-663j","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm","Warn: Project is vulnerable to: GHSA-4wf5-vphf-c2xc","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/bb9c347dff6349d986baab6578a46d68a5524c62/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-09-14T05:39:30.932Z","repository_id":37431101,"created_at":"2025-09-14T05:39:30.932Z","updated_at":"2025-09-14T05:39:30.932Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28477951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","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":["ui","webapp","webgl"],"created_at":"2026-01-16T06:46:44.162Z","updated_at":"2026-01-16T06:46:44.230Z","avatar_url":"https://github.com/winter-cardinal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### WinterCardinal UI\n\nWebGL-based UI library\n\n### Installation\n\n#### NPM\n\n```\nnpm i @wcardinal/wcardinal-ui\n```\n\nPlease note that this package has no default exports.\n\n```javascript\nimport { loadAll, loadThemeWhiteEnUsAll, DApplication, DButtonCheck } from \"@wcardinal/wcardinal-ui\";\n\n// Loads all the optional modules and the white theme.\n// This is required for the tree shaking.\nloadAll();\nloadThemeWhiteEnUsAll();\n\n// Make a new application\nconst application = new DApplication();\n\n// Make a new check button\nnew DButtonCheck({\n\tparent: application.stage,\n\ttext: {\n\t\tvalue: \"Check\"\n\t}\n});\n```\n\n#### CDN\n\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/pixi.js@5.3.12/dist/pixi.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/@wcardinal/wcardinal-ui/dist/wcardinal-ui.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/@wcardinal/wcardinal-ui/dist/wcardinal-ui-theme-white.min.js\"\u003e\u003c/script\u003e\n\u003cscript\u003e\n(() =\u003e {\n\t\"use strict\";\n\n\t// Make a new application\n\tconst application = new wcardinal.ui.DApplication();\n\n\t// Make a new check button\n\tnew wcardinal.ui.DButtonCheck({\n\t\tparent: application.stage,\n\t\ttext: {\n\t\t\tvalue: \"Check\"\n\t\t}\n\t});\n})();\n\u003c/script\u003e\n```\n\nAll the classes are in `wcardinal.ui`.\nPlease note that `loadAll` and `loadThemeWhiteEnUsAll` is not required in this case.\nPrebuild files `wcardinal-ui.min.js` and `wcardinal-ui-theme-white.min.js` call `loadAll` and `loadThemeWhiteEnUsAll` for you.\n\nSee [sample/cdn](https://winter-cardinal.github.io/winter-cardinal-ui/sample/white/other/cdn.html) for a complete example.\n\n### Tree shaking\n\nThe NPM package `@wcardinal/wcardinal-ui` is large in its size\nbecause all the UI classes and their themes are included.\nThis is why the tree shaking is important for this library.\n\n`loadAll` loads all the optional modules (e.g., `DMenuItemCheck`).\nAnd `loadThemeWhiteEnUsAll` loads the white theme (e.g., `DThemeWhite`).\nTo remove unnecessary modules from your build, pick `load*` functions you need.\n\n```javascript\nimport { loadThemeWhiteEnUsAll } from \"@wcardinal/wcardinal-ui\";\n\n// Loads the white theme only.\n// `DMenuItemCheck` will not be in your compiled package, for instance.\nloadThemeWhiteEnUsAll();\n```\n\n### Documentation\n\n* [API document](https://winter-cardinal.github.io/winter-cardinal-ui/api/)\n* Samples\n\t* [White theme](https://winter-cardinal.github.io/winter-cardinal-ui/sample/white/)\n\t* [Dark theme](https://winter-cardinal.github.io/winter-cardinal-ui/sample/dark/)\n* [Starter](https://github.com/winter-cardinal/winter-cardinal-starter)\n\n### Requirements\n\n* WebGL 1.0 support\n* ES2017 support\n* Base64-encoded SVG support for textures\n\t* IE11 does not support this.\n\t* Not required if your theme doesn't use it\n* Stencil support\n\n### How to Build\n\nThe following commands are for building `@wcardinal/wcardinal-ui` itself.\n\n#### JS for Release\n\n```shell\nnpm run build\n```\n\n#### JS for Development\n\n```shell\nnpm run watch:ts\n```\n\nand then in an another terminal\n\n```shell\nnpm run watch:rollup\n```\n\n#### Development Server\n\n```shell\nnpm start\n```\n\n#### API Document\n\nUpdate `gitRevision` in `typedoc.json` and then do\n\n```shell\nnpm run build:api\n```\n\n#### Sample Index Page\n\n```shell\nnpm run build:sample:index\n```\n\n#### Dark Samples\n\n```shell\nnpm run build:sample:index\nnpm run build:sample:dark\n```\n\n#### Samples for GitHub Pages\n\n```shell\nnpm run build\nnpm run build:sample:dark\nnpm run build:sample\n```\n\n#### Linting\n\n```shell\nnpm run lint\n```\n\nTo fix all the auto-fixable lint errors, do the following:\n\n```shell\nnpm run lint:fix\n```\n\n### License\n\nApache License Version 2.0.\n\nThe default theme uses Material design icons developed by Google and licensed under Apache license version 2.0.\\\nhttps://github.com/google/material-design-icons\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinter-cardinal%2Fwinter-cardinal-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinter-cardinal%2Fwinter-cardinal-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinter-cardinal%2Fwinter-cardinal-ui/lists"}