Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
danb
Visitor

Is there a concept of brightscript "modules" ?

I am a node developer that is just starting out building a Roku channel. I am getting a decent grasp of brightscript, but I am not seeing any module library available. For instance with node if I had to auth via oauth2 then visit to npmjs.org will give me what I need to get going. Perl for instance has cpan... do brightscript developers have a module library to choose from?
0 Kudos
2 REPLIES 2
RokuJoel
Binge Watcher

Re: Is there a concept of brightscript "modules" ?

You may need to write much of what you need yourself, depending on what you are trying to accomplish - although we have some libraries available, if you download the SDK, you'll see there are some libraries in there, for example, urlUtils.brs, and anything beginning with NWM_

Many roku channels are built as minor modifications of the examples in our SDK.

On the device itself there are a few built in brightscript libraries to help with sprite based graphics and some hex number functions.

For other online resources, look at LibRokuDev.In addition to the examples in the SDK, many of which are out of date, please see our newer examples on SourceForge.

There are also plenty of independent Roku based open source projects posted on GitHub which you might find of use or of interest, as well as various useful functions floating around on this forum.

- Joel
0 Kudos
danb
Visitor

Re: Is there a concept of brightscript "modules" ?

Joel thanks for the reply.

I will piece together modified examples and start getting to work on the channel. I am going to post separate topics for some help on components I need to get this to work. Thanks!
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.