{"id":48317557,"url":"https://github.com/slheavner/sams-masters-app","last_synced_at":"2026-04-09T20:00:54.252Z","repository":{"id":348859449,"uuid":"1200113597","full_name":"slheavner/sams-masters-app","owner":"slheavner","description":"A roku app for watching the Masters","archived":false,"fork":false,"pushed_at":"2026-04-04T19:44:05.000Z","size":5941,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-05T00:49:58.482Z","etag":null,"topics":["brighterscript","brightscript","golf","masters","roku","scenegraph"],"latest_commit_sha":null,"homepage":"","language":"BrighterScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/slheavner.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-03T03:45:55.000Z","updated_at":"2026-04-04T23:52:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/slheavner/sams-masters-app","commit_stats":null,"previous_names":["slheavner/sams-masters-app"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/slheavner/sams-masters-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slheavner%2Fsams-masters-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slheavner%2Fsams-masters-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slheavner%2Fsams-masters-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slheavner%2Fsams-masters-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/slheavner","download_url":"https://codeload.github.com/slheavner/sams-masters-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/slheavner%2Fsams-masters-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31569400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["brighterscript","brightscript","golf","masters","roku","scenegraph"],"created_at":"2026-04-05T00:34:14.596Z","updated_at":"2026-04-08T19:01:16.907Z","avatar_url":"https://github.com/slheavner.png","language":"BrighterScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sam's Masters App\n\nRoku app for watching the Masters.com streams and videos with leaderboards.\n\n[**Buy Me A Beer or a Tee Time**](https://account.venmo.com/u/Sam-Heavner)\n\n### Live Stream and Masters Vault\n\n![home](./home-scoreboard.png)\n\n### Live Scoreboard During Playback\n\n![scoreboard](./video-scoreboard.png)\n\n# Installation\n\n1. download the latest release at [Releases](https://github.com/samheavner/sams-masters-app/releases)\n1. side-load the `.zip` file on your Roku device (see [Roku's developer guide](https://developer.roku.com/docs/developer-program/getting-started/developer-setup.md) for instructions)\n1. enjoy\n\nBefore you ask, no private channels will be provided. You must side-load the app yourself with the above instructions.\n\n# For Developers\n\n## Requirements\n- Node.js (for the BrightScript compiler)\n- A Roku device on the same network (set host/password in [`.env`](.env))\n- VS Code (optional, project includes a debug config)\nx\n## Build\nBuild the BrightScript package with the provided NPM script:\n\n```sh\nnpm run build\n```\n\n(package config: [package.json](package.json), BrightScript config: [bsconfig.json](bsconfig.json))\n\nThe build output is assembled into the staging directory `.stage` (used by the VS Code debug config: [.vscode/launch.json](.vscode/launch.json)).\n\n## Run / Debug\n- Use the \"Debug\" launch configuration in VS Code (reads `.env` for `roku_host`/`roku_pass`) to deploy and debug on-device.\n- The app entrypoint is [src/source/main.bs](src/source/main.bs).\n\n## Project layout (important files)\n- App manifest: [src/manifest](src/manifest)\n- App entry: [src/source/main.bs](src/source/main.bs)\n\nUI components and code:\n- Scene root: [src/components/MastersScene.xml](src/components/MastersScene.xml) and logic [src/components/MastersScene.bs](src/components/MastersScene.bs)\n- API client: [src/components/api/MastersApi.bs](src/components/api/MastersApi.bs) (`MastersApi.getScores`, `MastersApi.getLiveStreams`, `MastersApi.getVideoVault`)\n  - Service task: [src/components/api/MastersApiService.xml](src/components/api/MastersApiService.xml) and [src/components/api/MastersApiService.bs](src/components/api/MastersApiService.bs) (`MastersApiService.getScores`, `MastersApiService.getLiveStreams`, `MastersApiService.getVideoVault`)\n- Video + leaderboard view: [src/components/views/VideoLeaderboard.xml](src/components/views/VideoLeaderboard.xml) and [src/components/views/VideoLeaderboard.bs](src/components/views/VideoLeaderboard.bs)\n- Small leaderboard: [src/components/views/SmallLeaderboard.xml](src/components/views/SmallLeaderboard.xml) and [src/components/views/SmallLeaderboard.bs](src/components/views/SmallLeaderboard.bs)\n- Row components:\n  - [src/components/views/VideoLeaderboardRow.xml](src/components/views/VideoLeaderboardRow.xml) / [src/components/views/VideoLeaderboardRow.bs](src/components/views/VideoLeaderboardRow.bs)\n  - [src/components/views/SmallLeaderboardRow.xml](src/components/views/SmallLeaderboardRow.xml) / [src/components/views/SmallLeaderboardRow.bs](src/components/views/SmallLeaderboardRow.bs)\n- Player card: [src/components/views/PlayerCard.xml](src/components/views/PlayerCard.xml) and logic [src/components/views/PlayerCard.bs](src/components/views/PlayerCard.bs) (`PlayerCard.onContent`)\n- Item component for feeds: [src/components/items/SimpleItem.xml](src/components/items/SimpleItem.xml) / [src/components/items/SimpleItem.bs](src/components/items/SimpleItem.bs)\n- UI primitives:\n  - [src/components/views/SimpleLabel.xml](src/components/views/SimpleLabel.xml) / [src/components/views/SimpleLabel.bs](src/components/views/SimpleLabel.bs)\n  - [src/components/views/PillText.xml](src/components/views/PillText.xml) / [src/components/views/PillText.bs](src/components/views/PillText.bs)\n  - [src/components/views/SimpleButton.xml](src/components/views/SimpleButton.xml) / [src/components/views/SimpleButton.bs](src/components/views/SimpleButton.bs)\n\nUtilities:\n- Color blending: [src/components/utils/ColorBlender.bs](src/components/utils/ColorBlender.bs) (`ColorBlender.getBlendedColor`)\n- Country code mapping: [src/components/utils/CountryCodes.bs](src/components/utils/CountryCodes.bs) (`CountryCodes.getImageCode`)\n\nAssets:\n- Fonts: [src/components/fonts/](src/components/fonts) and referenced from [SimpleLabel](src/components/views/SimpleLabel.xml)\n- Images: [src/components/images/](src/components/images) (icons, masks, posters, etc.)\n\n## How the API layers work\n- `MastersApi` performs HTTP requests and returns parsed JSON to callers ([src/components/api/MastersApi.bs](src/components/api/MastersApi.bs)).\n- `MastersApiService` is a Task that serializes API requests and returns results via a `PromiseNode` ([src/components/api/MastersApiService.bs](src/components/api/MastersApiService.bs) / [src/components/api/PromiseNode.xml](src/components/api/PromiseNode.xml)).\n\n## Notes for contributors\n- The BrightScript source is under `src/`. The staging output is written to `.stage` by the build.\n- To add UI components, put `.xml` and `.bs` files under `src/components/` and reference them from scenes.\n- Keep network calls in the API classes and use the service task to avoid blocking the main thread.\n\n## Troubleshooting\n- If deploying from VS Code fails, confirm `.env` has correct `roku_host` and `roku_pass` values.\n- Increase the request timeout in [src/components/api/MastersApi.bs](src/components/api/MastersApi.bs) if network requests time out.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslheavner%2Fsams-masters-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslheavner%2Fsams-masters-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslheavner%2Fsams-masters-app/lists"}