{"id":22340225,"url":"https://github.com/marvinschopf/react-highfive","last_synced_at":"2026-05-08T10:34:57.932Z","repository":{"id":48314599,"uuid":"334764984","full_name":"marvinschopf/react-highfive","owner":"marvinschopf","description":"👋 react-highfive is a simple React ⚛️ component that can be used to integrate an animated high-five counter into a website.","archived":false,"fork":false,"pushed_at":"2021-08-02T05:07:20.000Z","size":322,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-09T14:29:50.655Z","etag":null,"topics":["highfive","react","reactjs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/marvinschopf.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-01-31T21:54:25.000Z","updated_at":"2021-02-10T12:03:45.000Z","dependencies_parsed_at":"2022-08-19T01:31:44.394Z","dependency_job_id":null,"html_url":"https://github.com/marvinschopf/react-highfive","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/marvinschopf/react-highfive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinschopf%2Freact-highfive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinschopf%2Freact-highfive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinschopf%2Freact-highfive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinschopf%2Freact-highfive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marvinschopf","download_url":"https://codeload.github.com/marvinschopf/react-highfive/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinschopf%2Freact-highfive/sbom","scorecard":{"id":622407,"data":{"date":"2025-08-11","repo":{"name":"github.com/marvinschopf/react-highfive","commit":"d41de56cf575e89f637751a03b09890fd2a31fa8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.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":"Code-Review","score":0,"reason":"Found 0/20 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":"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/node.js.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/marvinschopf/react-highfive/node.js.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/marvinschopf/react-highfive/node.js.yml/main?enable=pin","Info:   0 out of   2 GitHub-owned 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":"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":"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":"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":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/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 'main'"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 10 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"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"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-21T05:29:13.651Z","repository_id":48314599,"created_at":"2025-08-21T05:29:13.651Z","updated_at":"2025-08-21T05:29:13.651Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32776898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"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":["highfive","react","reactjs"],"created_at":"2024-12-04T07:10:56.349Z","updated_at":"2026-05-08T10:34:57.914Z","avatar_url":"https://github.com/marvinschopf.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React High Five 👋 ![Node.js CI](https://github.com/marvinschopf/react-highfive/workflows/Node.js%20CI/badge.svg?branch=main)\n`react-highfive` is a simple React ⚛️ component that can be used to integrate an animated high-five counter into a website.  \n\nThe counter is synchronised, so the number goes up for all users on the website at the same time when someone gives a high five! 👋\n\n## Installation\nUsing npm:\n\n```bash\nnpm install react-highfive\n```\n\nUsing yarn:\n\n```bash\nyarn add react-highfive\n```\n\n## Usage\n### Basic example\n\nThe following is a simple example that is **not synchronised** with any server.\n```JSX\nimport React from \"react\";\nimport HighFive from \"react-highfive\";\n\nexport default function App() {\n    return(\n        \u003cdiv className=\"App\"\u003e\n            \u003cHighFive /\u003e\n        \u003c/div\u003e\n    )\n}\n```\n\n###  Example with synchronisation\n\n```JSX\nimport React from \"react\";\nimport HighFive from \"react-highfive\";\n\nexport default function App() {\n    return(\n        \u003cdiv className=\"App\"\u003e\n            \u003cHighFive fetchUrl=\"http://localhost/get\" updateUrl=\"http://localhost/update\" /\u003e\n        \u003c/div\u003e\n    )\n}\n```\n\n### Example with custom position\n\n```JSX\nimport React from \"react\";\nimport HighFive from \"react-highfive\";\n\nexport default function App() {\n    return(\n        \u003cdiv className=\"App\"\u003e\n            \u003cHighFive position={{horizontal: \"right\", vertical: \"top\"}} /\u003e\n        \u003c/div\u003e\n    )\n}\n```\n\n## Options\nThe following options can be passed as parameters to the HighFive object:\n\n| Option                | Description                                              | Default  |\n|-----------------------|----------------------------------------------------------|----------|\n| `fetchUrl`            | URL to retrieve the current counter value                | `false`  |\n| `updateUrl`           | URL to increase the counter value                        | `false`  |\n| `refreshRate`         | Frequency in miliseconds at which the counter is updated | `1000`   |\n| `position`            | Determines the position of the snack bar                 | `-`      |\n| `position.horizontal` | `\"right\" \\| \"left\" \\| \"center\"`                          | `right`  |\n| `position.vertical`   | `\"bottom\" \\| \"top\"`                                      | `bottom` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarvinschopf%2Freact-highfive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarvinschopf%2Freact-highfive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarvinschopf%2Freact-highfive/lists"}