{"id":14962671,"url":"https://github.com/fe-pirl/svere","last_synced_at":"2025-09-08T14:31:40.902Z","repository":{"id":44781348,"uuid":"358456052","full_name":"FE-PIRL/svere","owner":"FE-PIRL","description":"🔱  Svelte component runs everywhere, adapter for react/vue2/vue3/svelte.","archived":false,"fork":false,"pushed_at":"2022-01-25T07:20:52.000Z","size":319,"stargazers_count":88,"open_issues_count":0,"forks_count":15,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-29T02:33:13.145Z","etag":null,"topics":["cfc","cross-frameworks","react","shareable-components","svelte3","vue","vue3"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/FE-PIRL.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}},"created_at":"2021-04-16T02:46:47.000Z","updated_at":"2025-05-01T12:38:09.000Z","dependencies_parsed_at":"2022-08-25T11:02:06.771Z","dependency_job_id":null,"html_url":"https://github.com/FE-PIRL/svere","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/FE-PIRL/svere","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FE-PIRL%2Fsvere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FE-PIRL%2Fsvere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FE-PIRL%2Fsvere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FE-PIRL%2Fsvere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FE-PIRL","download_url":"https://codeload.github.com/FE-PIRL/svere/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FE-PIRL%2Fsvere/sbom","scorecard":{"id":48267,"data":{"date":"2025-08-11","repo":{"name":"github.com/FE-PIRL/svere","commit":"8ac07b33fce134a0d37fc2e404a4799a78acf9d1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 2/27 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":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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":"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 5 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-14T23:12:37.141Z","repository_id":44781348,"created_at":"2025-08-14T23:12:37.141Z","updated_at":"2025-08-14T23:12:37.141Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274198311,"owners_count":25239607,"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-09-08T02:00:09.813Z","response_time":121,"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":["cfc","cross-frameworks","react","shareable-components","svelte3","vue","vue3"],"created_at":"2024-09-24T13:30:20.698Z","updated_at":"2025-09-08T14:31:40.480Z","avatar_url":"https://github.com/FE-PIRL.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg width=\"200\" alt=\"svere\" src=\"https://user-images.githubusercontent.com/1866848/118639391-7100e580-b80a-11eb-88e1-4a2b547ad475.png\"\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Write components once, run everywhere. Make svelte components run inside React or Vue applications.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/FE-PIRL/svere/pulls\"\u003e\u003cimg alt=\"PRs Welcome\" src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/FE-PIRL/svere/blob/master/LICENSE\"\u003e\u003cimg alt=\"License\" src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=flat-square\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@svere/core\"\u003e\u003cimg alt=\"Downloads\" src=\"https://img.shields.io/npm/dm/@svere/core\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@svere/core\" rel=\"nofollow\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@svere/core.svg?sanitize=true\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nManaging support for libraries that provide UI components across frameworks is a pain,\nespecially when [Web Component](https://developer.mozilla.org/en-US/docs/Web/Web_Components) are not an option (e.g. for server side rendering, best performance, etc).\n\nAt present, the [svelte](https://svelte.dev/) framework is developing rapidly.\nIt is a good backward compatibility solution to make svelte components run in the old `react` or `vue` project,\nespecially when the team's technology stack is not unified, this provides an idea of cross-framework sharing component.\n\n\n# [CORE](https://github.com/FE-PIRL/svere/blob/master/packages/core/README.md)\n\n\u003e #### Adapters for react、vue2 and vue3\n\n# [CLI](https://github.com/FE-PIRL/svere/blob/master/packages/cli/README.md)\n\n\u003e #### An all-in-one cli for quickly create svelte components\n\n\n## How does it work\n\n\u003cp align=\"center\"\u003e\n\u003cimg style=\"width: 300px\" src=\"https://user-images.githubusercontent.com/1866848/120882896-f0fdbc80-c60c-11eb-9992-764f3a3f4310.png\"\u003e\n\u003c/p\u003e\n\n`Svere` contains several `adapters` for `React/Vue2/Vue3` which allows you to pass props and respond to events in a way that makes sense for that library.\nAlso, it provides a [cli](https://github.com/FE-PIRL/svere/blob/master/packages/cli/README.md) to quickly create svelte components that can be shared across components.\n\n\u003cp align=\"center\"\u003e\n\u003cimg style=\"width: 300px\" src=\"https://user-images.githubusercontent.com/1866848/120759562-b5e48600-c545-11eb-8ae4-95c901581f7c.png\"\u003e\n\u003c/p\u003e\n\nSvere use the life cycle hooks of each framework to complete the mounting, updating and uninstalling of svelte components.\n\n## Value and efficacy\n\n1. Increased efficiency\n   \n\u003e   Focus on the writing of business components without caring about the user, which greatly improves the development efficiency\n\n2. Cross-stack reuse\n   \n\u003e Solve the problem of sharing a single component between different technology stacks, and achieve a certain sense of environment independence\n\n3. Visual Unity\n   \n\u003e Only one piece of code is maintained, and the performance of components under different technology stacks can be guaranteed to be consistent","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffe-pirl%2Fsvere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffe-pirl%2Fsvere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffe-pirl%2Fsvere/lists"}