Skip to content

lvcabral/brs-fiddle

Repository files navigation

brsFiddle.net - BrightScript Code Playground

Simple Code Editor for playing with BrightScript language.

Version 1.7.1 Build GitHub Slack

Project Information

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.

Shared Code Samples

Click on the links below to launch brsFiddle.net website and start playing with BrightScript!

Build from Source

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

Setup

  1. Clone this repo:

    $ git clone https://github.com/lvcabral/brs-fiddle.git
  2. Install dependencies:

    $ yarn install     # or just `yarn`

Build

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

Release

To release a smaller version of the app Webpack can create a minified version by running yarn release.

Running the Web Application

To build and start the web application on your default browser just execute yarn start.

Developer Links

License

Copyright © 2023-2025 by Marcelo Lv Cabral. All rights reserved.

Licensed under the MIT license.