{"id":15678195,"url":"https://github.com/bradmartin/nativescript-twitterbang","last_synced_at":"2025-10-05T07:58:57.247Z","repository":{"id":57308809,"uuid":"51320958","full_name":"bradmartin/nativescript-twitterbang","owner":"bradmartin","description":":heartbeat: NativeScript plugin for Twitter's exploding heart animation.","archived":false,"fork":false,"pushed_at":"2018-04-16T04:40:30.000Z","size":2506,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-01T20:15:23.786Z","etag":null,"topics":["android","animation","nativescript-plugin","twitter","typescript"],"latest_commit_sha":null,"homepage":"","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/bradmartin.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}},"created_at":"2016-02-08T19:26:52.000Z","updated_at":"2018-10-24T04:56:19.000Z","dependencies_parsed_at":"2022-08-29T07:42:09.605Z","dependency_job_id":null,"html_url":"https://github.com/bradmartin/nativescript-twitterbang","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bradmartin/nativescript-twitterbang","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-twitterbang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-twitterbang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-twitterbang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-twitterbang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradmartin","download_url":"https://codeload.github.com/bradmartin/nativescript-twitterbang/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmartin%2Fnativescript-twitterbang/sbom","scorecard":{"id":250418,"data":{"date":"2025-08-11","repo":{"name":"github.com/bradmartin/nativescript-twitterbang","commit":"d3e032faed28249c84cd997747356eacf7941903"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 1/22 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":-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":"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":"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":"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":"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 '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 2 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-17T08:20:27.858Z","repository_id":57308809,"created_at":"2025-08-17T08:20:27.858Z","updated_at":"2025-08-17T08:20:27.858Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278425490,"owners_count":25984687,"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-10-05T02:00:06.059Z","response_time":54,"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":["android","animation","nativescript-plugin","twitter","typescript"],"created_at":"2024-10-03T16:19:14.314Z","updated_at":"2025-10-05T07:58:57.230Z","avatar_url":"https://github.com/bradmartin.png","language":"TypeScript","readme":"\u003ca align=\"center\" href=\"https://www.npmjs.com/package/nativescript-twitterbang\"\u003e\n    \u003ch3 align=\"center\"\u003eNativeScript-TwitterBang\u003c/h3\u003e\n\u003c/a\u003e\n\u003ch4 align=\"center\"\u003eNativeScript plugin for Android to use native Twitter animation for the exploding heart. This library uses \u003ca href=\"https://github.com/hanks-zyh/SmallBang\"\u003eSmallBang by hanks-zyh\u003c/a\u003e for the native animation.\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/nativescript-twitterbang\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/v/nativescript-twitterbang.svg\" alt=\"npm\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.npmjs.com/package/nativescript-twitterbang\"\u003e\n        \u003cimg src=\"https://img.shields.io/npm/dt/nativescript-twitterbang.svg?label=npm%20downloads\" alt=\"npm\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/bradmartin/nativescript-twitterbang/stargazers\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/stars/bradmartin/nativescript-twitterbang.svg\" alt=\"stars\"\u003e\n    \u003c/a\u003e\n     \u003ca href=\"https://github.com/bradmartin/nativescript-twitterbang/network\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/forks/bradmartin/nativescript-twitterbang.svg\" alt=\"forks\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/bradmartin/nativescript-twitterbang/blob/master/LICENSE\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/bradmartin/nativescript-twitterbang.svg\" alt=\"license\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://paypal.me/bradwayne88\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Donate-PayPal-green.svg\" alt=\"donate\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"http://nstudio.io\"\u003e\n      \u003cimg src=\"./images/nstudio-banner.png\" alt=\"nStudio banner\"\u003e\n    \u003c/a\u003e\n    \u003ch5 align=\"center\"\u003eDo you need assistance on your project or plugin? Contact the nStudio team anytime at \u003ca href=\"mailto:team@nstudio.io\"\u003eteam@nstudio.io\u003c/a\u003e to get up to speed with the best practices in mobile and web app development.\n    \u003c/h5\u003e\n\u003c/p\u003e\n\n---\n\n### TwitterBang Usage\n\n![TwitterBang](images/twitterBang.gif)\n\n## Installation\n\n`tns plugin add nativescript-twitterbang`\n\n## Notice\n\nAs of version 2.0.0, the native library has been updated and the plugin, the API is brand new and breaking.\nThe `TwitterBang` is not a layout container, similar to `StackLayout, GridLayout` so you can place some UI inside the `TwitterBang` layout. You have to be careful with the layout sizing/position or the animation will be 'jumpy' because of the actual layout size. See the demo markup, usually some alignment of the inner content will solve any 'jumpy' animation by centering the inner content.\n\n## Usage\n\n### XML:\n\n```XML\n\u003cGridLayout rows=\"auto\" columns=\"*, auto\"\u003e\n    \u003cLabel col=\"0\" text=\"Tap the heart \u003e\u003e\u003e\" textWrap=\"true\" /\u003e\n    \u003cTB:TwitterBang col=\"1\" tap=\"{{ bangThis }}\" dotColors=\"#ff4801,#ff3493,#ff4081,#ff9927\"\u003e\n        \u003cimage src=\"~/images/greyHeart.png\" class=\"center\" stretch=\"none\" /\u003e\n    \u003c/TB:TwitterBang\u003e\n\u003c/GridLayout\u003e\n```\n\n### TS:\n\n```typescript\nimport { TwitterBang } from 'nativescript-twitterbang';\n\n// args.object is the View/component that triggered the tap event\npublic bangThis(args) {\n    const tb = args.object as TwitterBang;\n    tb.bang().then(() =\u003e {\n        console.log('do something after the effect');\n    })\n}\n```\n\n### JS:\n\n```javascript\n// args.object is the View/component that triggered the tap event\nexport function bangThis(args) {\n  const x = args.object;\n  x.bang().then(function() {\n    console.log('after the bang');\n  });\n}\n```\n","funding_links":["https://paypal.me/bradwayne88"],"categories":["Awesome {N} [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)"],"sub_categories":["Table of Contents"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmartin%2Fnativescript-twitterbang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradmartin%2Fnativescript-twitterbang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmartin%2Fnativescript-twitterbang/lists"}