{"id":21404200,"url":"https://github.com/supportclass/lfg-streamtip","last_synced_at":"2026-01-02T20:57:30.444Z","repository":{"id":32004668,"uuid":"35575628","full_name":"SupportClass/lfg-streamtip","owner":"SupportClass","description":"Easy StreamTip integration for NodeCG","archived":false,"fork":false,"pushed_at":"2017-09-09T15:02:10.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T03:30:26.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/SupportClass.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-05-13T21:41:55.000Z","updated_at":"2021-07-03T15:33:58.000Z","dependencies_parsed_at":"2022-09-02T15:52:29.341Z","dependency_job_id":null,"html_url":"https://github.com/SupportClass/lfg-streamtip","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Flfg-streamtip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Flfg-streamtip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Flfg-streamtip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SupportClass%2Flfg-streamtip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SupportClass","download_url":"https://codeload.github.com/SupportClass/lfg-streamtip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243902240,"owners_count":20366258,"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","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":"2024-11-22T16:13:28.491Z","updated_at":"2026-01-02T20:57:30.403Z","avatar_url":"https://github.com/SupportClass.png","language":"JavaScript","readme":"# lfg-streamtip [![Build Status](https://travis-ci.org/SupportClass/lfg-streamtip.svg?branch=master)](https://travis-ci.org/SupportClass/lfg-streamtip)\nThis is a [NodeCG](http://github.com/nodecg/nodecg) bundle.\n\nListens for tips to a given account on [StreamTip](https://streamtip.com/) and emits API events for other bundles to use.\nAlso displays stats on the dashboard and easily allows the user to reset said stats.\n\nThis bundle integrates with [`lfg-nucleus`](https://github.com/SupportClass/lfg-nucleus).\n\n## Installation\n- Install to `nodecg/bundles/lfg-streamtip`\n- Create `nodecg/cfg/lfg-streamtip.json` with the `clientId` and `accessToken` of the \n[StreamTip](https://streamtip.com/) account that you wish to listen to:\n```json\n{\n  \"clientId\": \"xxxxx\",\n  \"accessToken\": \"yyyyy\"\n}\n```\n\n## Usage\n### As a dashboard panel\nIf you simply want to see top tips for the `daily` and `monthly` periods on your dashboard, you are done.\n\n### In other bundles' view pages and dashboard panels\nIf you would like to use this data in another bundle, add the following code to your view/panel:\n```javascript\nnodecg.listenFor('tip', 'lfg-streamtip', callback);\n```\n... where 'callback' is the name of a function with the signature `function callback(data)`\n\n### In other bundles' extensions\nIf you want to use tip events in another bundle's extension,\nadd `lfg-streamtip` as a `bundleDependency` in your bundle's [`nodecg.json`](http://nodecg.com/guide/nodecg.json.html)\n\nThen add the following code:\n```javascript\nvar streamTip = nodecg.extensions['lfg-streamtip'];\nstreamTip.on('tip', function(tip) {\n     // Do your thing.\n});\n```\n\n### License\nlfg-streamtip is provided under the MIT license, which is available to read in the [LICENSE][] file.\n[license]: LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupportclass%2Flfg-streamtip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsupportclass%2Flfg-streamtip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsupportclass%2Flfg-streamtip/lists"}