{"id":13755202,"url":"https://github.com/willowtreeapps/rocute","last_synced_at":"2025-05-07T08:49:08.507Z","repository":{"id":53194060,"uuid":"221057645","full_name":"willowtreeapps/rocute","owner":"willowtreeapps","description":"beautiful ui components for roku development","archived":false,"fork":false,"pushed_at":"2021-04-02T21:00:00.000Z","size":4980,"stargazers_count":38,"open_issues_count":5,"forks_count":8,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-16T09:33:57.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Brightscript","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/willowtreeapps.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-11T19:47:56.000Z","updated_at":"2024-10-09T01:45:48.000Z","dependencies_parsed_at":"2022-09-15T01:25:15.746Z","dependency_job_id":null,"html_url":"https://github.com/willowtreeapps/rocute","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willowtreeapps%2Frocute","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willowtreeapps%2Frocute/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willowtreeapps%2Frocute/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willowtreeapps%2Frocute/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willowtreeapps","download_url":"https://codeload.github.com/willowtreeapps/rocute/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252847235,"owners_count":21813438,"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-08-03T10:00:48.670Z","updated_at":"2025-05-07T08:49:08.487Z","avatar_url":"https://github.com/willowtreeapps.png","language":"Brightscript","funding_links":[],"categories":["Libraries"],"sub_categories":["Community"],"readme":"# rocute\nbeautiful ui components for roku development\n\n## About\nrocute is an open source component library to aid developers in creating beautiful roku apps in a \ntimely manner. Our library includes styled components, animations, and screensavers ready for easy \nout of the box implementation.\n\n## Example and Setup\n### Example\n```xml\n\u003c!-- The SceneGraph component you are working in --\u003e\n\u003c?xml version=\"1.0\" encoding=\"utf-8\" ?\u003e\n\u003ccomponent name=\"BounceEffectExampleComponent\" extends=\"Panel\" \u003e\n  \u003cscript type=\"text/brightscript\" uri=\"pkg:/components/examples/BounceEffectExample/BounceEffectExample.brs\"/\u003e\n  \u003cchildren\u003e\n    \u003c!-- Implementation of our component --\u003e\n    \u003cBounceEffect id=\"BounceEffectExample\" imageUri=\"pkg:/images/test.png\" startPoint=\"[250, 250]\" maxHeight=\"100\" bounceType=\"descending\" totalBounces=\"3\" duration=\"2\" repeat=\"false\" /\u003e\n  \u003c/children\u003e\n\u003c/component\u003e\n```\n### Setup\n#### To utilize a component:\n - Navigate to `./src/main/components` in the rocute directory.\n - Dependent on if you want a general styled component, or an animation, or a video-overlay, select either the `styled-components`, or `animations`, or `video-overlays` directory.\n - Copy the directory of the component you want into an appropriate place in your codebase.\n - For component specific documentation, refer to the ThatComponent.md file in the component's example directory.\n#### For access to all components:\n - Copy the components directory out of `./src/main` into your project structure in an appropriate place.\n - Import any and all components into your project.\n - For component specific documentation, refer to the ThatComponent.md file in the component's example directory.\n#### To run our app:\n - Install ukor: `npm install -g @willowtreeapps/ukor`.\n - Install [vscode.](https://code.visualstudio.com/)\n - Install [vscode brightscript.](https://marketplace.visualstudio.com/items?itemName=celsoaf.brightscript)\n - Open the root directory of our repo in vscode.\n - Modify `.vscode/launch.json` so the inputs resemble `\"default\": \"0.0.0.0\",` to your roku ip address, and `\"default\": \"password\",` to your roku password.\n - Click the debug tab in vscode.\n - Press the dropdown button next to the play button and select `Brightscript Debug: Launch`.\n - Press the play button next to the dropdown.\n\n\n## Components\n\n**ArchInterpolator -**\nA type of Vector2DInterpolator which can be used to animate a smooth arc through three points. \n\n**BounceEffect -**\nA customizable bounce which can be applied to any image.\n\n**CardRotator -**\nA card rotary which moves on the y axis.\n\n**CardZoomDiagonal -**\nAn overlapping card rotator where cards slide from the top left to front center, and the cards\nthat will be shown sooner overlap the ones that will be shown later.\n\n**CardZoomRotary -**\nAn overlapping card rotator where cards are visually pulled from the back to the front center.\n\n**CircularImageClip -**\nA circular border to be placed on images, which will stretch to oval bounds \nif proper heights and widths are provided.\n\n**Clock -**\nA Clock component similar to the clock inside of the Overhang component.\n\n**DatePicker -**\nA Date Picker component comprised of three LabelLists. Includes localization options.\n\n**DisappearingLogo -**\nAn image overlay for a video which appears in a corner (or anywhere) and fades away after a certain amount of time.\n\n**DisappearingNav -**\nA Horizontal Nav Bar which fades up (or down) and away when it loses focus.\n\n**HorizontalCardRotator -**\nA card rotary which moves on the x axis.\n\n**LiveIcon -**\nA video overlay displayed on Live video steams but not on prerecorded content.\n\n**NavBar -**\nA Horizontal Nav Bar component. \n\n**Next -**\nThe 'Next' component is an stubbed out component for development. If you are interested in\ncontributing, this component is here to help. Instructions can be found in the NextExample\ndirectory.\n\n**RandomColoredFontList -**\nRandomColoredFontList is a LabelList component that will randomly change the font color of the \nselected element.\n\n**RandomColoredList -**\nRandomColoredList is a LabelList component that will randomly change the color of the \nselected element.\n\n**RatingIcon -**\nA video overlay which displays the rating of the video if given, and then fades out after a certain amount of time.\n\n**ResizeList -**\nResizeList is a LabelList component that will resize so the currently selected element \ntakes up more space.\n\n**Ticker -**\nA news ticker component which scrolls text from right to left across the screen.\n\n**TiledBackground -**\nA rectangle with an image tiled to fill its area.\n\n**TriangularCornerClip -**\nTriangularCornerClip is a way to clip an image to fit into the bounds of a right triangle. \n\n**TriangularImageClip -**\nTriangularImageClip is a way to clip an image to fit in a triangle. As opposed to \nTriangularCornerClip, this triangular clip component will stretch to your image and remain \ncentric on the middle of the image.\n\n## Screensavers\n\n**BouncingLogoScreensaver -**\nA screensaver channel where a provided logo will bounce around the edges of the screen. \n\n**ExpandingLogoScreensaver -**\nA screensaver channel where a provided logo will expand and contract in the center of the screen.\n\n## Questions\nJoin us in the #tooling channel on the [Roku Developers Slack](https://rokudevelopers.slack.com).\n\n## Contributing\nContributions and suggestions are more than welcome. Please see our [Code of Conduct](/CODE_OF_CONDUCT.md)\nas well as our [Contributing Guidelines ](/CONTRIBUTING.md) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillowtreeapps%2Frocute","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillowtreeapps%2Frocute","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillowtreeapps%2Frocute/lists"}