Simple Code Editor for playing with BrightScript language.
This application was created to give the Roku Development Community a useful tool to learn, practice and share BrightScript code. It also serves to demonstrate the power of the BrightScript Simulation Engine library, as a web framework to run BrightScript code in platforms other than the Roku. You can also check the BrightScript TV to see it in action running full Roku apps and games, or install the BrightScript Simulator to run it on your Windows/MacOS/Linux desktop.
Click on the links below to launch brsFiddle.net
website and start playing with BrightScript!
- Hello World - Shared Link
- Bouncing Square - Shared Link
- Calculate Easter Day - Shared Link
- Download Image and Music - Shared Link
- Video Playback - Shared Link
- API Call Example - Shared Link
- Snake Game - Shared Link
As it builds in node
, so you'll need to install that first.
Once that's ready, install yarn. Installing it with npm
is probably the simplest:
$ npm install -g yarn
-
Clone this repo:
$ git clone https://github.com/lvcabral/brs-fiddle.git
-
Install dependencies:
$ yarn install # or just `yarn`
This project is written in TypeScript, so it needs to be compiled before it can be executed. yarn build
compiles files in src/
into JavaScript and TypeScript declarations, and puts them in app/
.
$ yarn build
$ ls app/
audio
css
fonts
images
index.html
lib
web.config
To release a smaller version of the app Webpack can create a minified version by running yarn release
.
To build and start the web application on your default browser just execute yarn start
.
- My website: https://lvcabral.com
- My threads: @lvcabral
- My Bluesky: @lvcabral.com
- My twitter: @lvcabral
- My podcast: PODebug Podcast
- Check my other GitHub repositories
Copyright © 2023-2025 by Marcelo Lv Cabral. All rights reserved.
Licensed under the MIT license.