{"id":33091155,"url":"https://github.com/RSamaium/CanvasEngine","last_synced_at":"2025-11-16T14:00:41.357Z","repository":{"id":4489355,"uuid":"5628569","full_name":"RSamaium/CanvasEngine","owner":"RSamaium","description":"Framework for HTML5 Canvas oriented 2D video games","archived":false,"fork":false,"pushed_at":"2025-09-04T08:05:19.000Z","size":23436,"stargazers_count":395,"open_issues_count":7,"forks_count":110,"subscribers_count":58,"default_branch":"v2","last_synced_at":"2025-11-11T03:39:11.659Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/RSamaium.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,"zenodo":null}},"created_at":"2012-08-31T12:41:30.000Z","updated_at":"2025-11-11T02:00:57.000Z","dependencies_parsed_at":"2024-06-21T12:51:48.476Z","dependency_job_id":"4c1bcc8e-5b1e-420b-9870-a694aeda6de1","html_url":"https://github.com/RSamaium/CanvasEngine","commit_stats":{"total_commits":104,"total_committers":6,"mean_commits":"17.333333333333332","dds":0.05769230769230771,"last_synced_commit":"82e6fdfac366346e04fe3788a301b3e0feb73e0f"},"previous_names":[],"tags_count":115,"template":false,"template_full_name":null,"purl":"pkg:github/RSamaium/CanvasEngine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSamaium%2FCanvasEngine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSamaium%2FCanvasEngine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSamaium%2FCanvasEngine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSamaium%2FCanvasEngine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RSamaium","download_url":"https://codeload.github.com/RSamaium/CanvasEngine/tar.gz/refs/heads/v2","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RSamaium%2FCanvasEngine/sbom","scorecard":{"id":116951,"data":{"date":"2025-08-11","repo":{"name":"github.com/RSamaium/CanvasEngine","commit":"76aea15b9723a74e4704e0f4f83bf91055e07dfc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.1,"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'v2'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/RSamaium/CanvasEngine/ci.yml/v2?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/RSamaium/CanvasEngine/ci.yml/v2?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/RSamaium/CanvasEngine/ci.yml/v2?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/RSamaium/CanvasEngine/ci.yml/v2?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/RSamaium/CanvasEngine/ci.yml/v2?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/RSamaium/CanvasEngine/ci.yml/v2?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:60: update your workflow using https://app.stepsecurity.io/secureworkflow/RSamaium/CanvasEngine/ci.yml/v2?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":0,"reason":"13 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq","Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T01:34:02.943Z","repository_id":4489355,"created_at":"2025-08-16T01:34:02.943Z","updated_at":"2025-08-16T01:34:02.943Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284719042,"owners_count":27052182,"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","status":"online","status_checked_at":"2025-11-16T02:00:05.974Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-11-14T18:00:23.163Z","updated_at":"2025-11-16T14:00:41.351Z","avatar_url":"https://github.com/RSamaium.png","language":"TypeScript","readme":"# CanvasEngine - A reactive HTML5 Canvas management library built on top of PixiJS and Vite\n\n![CanvasEngine](docs/public/logo.png)\n\nCanvasEngine is a reactive HTML5 Canvas management library built on top of PixiJS and Vite. It provides a component-oriented approach to canvas rendering, similar to modern frontend frameworks.\n\nFeatures:\n- Reactive components\n- Use flex in Canvas !\n- Easy Animation system \n- Keyboard, Gamepad et Virtual Joystick\n- Tiled Map Editor integration\n- Particle Emitter\n- Audio System\n\n## Installation\n\n```bash\nnpx degit RSamaium/CanvasEngine/starter my-project\ncd my-project\nnpm install\nnpm run dev # and go to localhost:5173\n```\n\n## Documentation\n\nhttps://canvasengine.net\n\n## Example:\n\n```html\n\u003cContainer flexDirection=\"row\" width={500}\u003e\n    \u003cSprite \n        image=\"/assets/logo.png\" \n        anchor={0.5}\n        rotation\n        scale\n        @pointerenter={onEnter} \n        @pointerleave={onLeave}\n    /\u003e\n    \u003cText text size={70} fontFamily=\"Helvetica\" x={90} y={-30} /\u003e\n\u003c/Container\u003e\n\n\u003cscript\u003e\nimport { signal, tick, animatedSignal, Easing } from \"canvasengine\";\n\nconst { text } = defineProps();\nconst rotation = signal(0);\nconst scale = animatedSignal(1, {\n    duration: 300,\n    ease: Easing.easeInOut,\n});\n\ntick(() =\u003e {\n    rotation.update(rotation =\u003e rotation + 0.01);\n});\n\nconst onEnter = () =\u003e {\n    scale.set(1.5);\n};\n\nconst onLeave = () =\u003e {\n    scale.set(1);\n};\n\u003c/script\u003e\n```\n\n## Contributing\n\nBefore, install `pnpm` and run the following command:\n\n```bash\ngit clone https://github.com/RSamaium/CanvasEngine.git\ncd CanvasEngine\npnpm install\npnpm run dev # to build the libraries\n```\n\nTo run the sample project:\n\n```bash\npnpm run dev:sample\n```\n\n### Build Documentation/Website\n\n```\ncd docs\npnpm install\npnpm run dev\n```\n\n### Release\n\n```bash\npnpm run release\n```\n\n\u003e Choose the version you want to release\n\nPush the release branch to the remote repository\n\n```bash\ngit push origin v2\n```\n\n","funding_links":[],"categories":["3. 前端游戏框架"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRSamaium%2FCanvasEngine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRSamaium%2FCanvasEngine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRSamaium%2FCanvasEngine/lists"}