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: 
vito-de-tullio
Reel Rookie

Where to find code libraries?

Jump to solution

I'm just starting with roku, and I have some questions about how to extend the api offered by the platform with additional libraries.

For example, in my project I would like to be able to take some objects, serialize them in protobuf and send them to an mqtt endpoint.

While technically I may be able to write a protobuf serializer and an mqtt publisher "by hand" I really would prefer to use some already made libraries, like I do in other languages and for other platforms, like python, java and whatnot.

Unfortunately I cannot find any public "repository" of public available roku libraries, like it seems to me there is no equivalent of pypi, maven central, or similar.

Can you point me to a package index or a way to find these dependencies for my project?

0 Kudos
1 Solution

Accepted Solutions
necrotek
Roku Guru

Re: Where to find code libraries?

Jump to solution

May not have what you need but there are resources available here https://github.com/orgs/rokucommunity/repositories 

roku package manager

https://github.com/rokucommunity/ropm

if it does not have what you need write one and contribute it to the community.

also join the slack group and ask

https://join.slack.com/t/rokudevelopers/shared_invite/enQtMzgyODg0ODY0NDM5LTM0N2UzYWExOGVlMTRlNGI2OT...

 

 

View solution in original post

7 REPLIES 7
renojim
Community Streaming Expert

Re: Where to find code libraries?

Jump to solution

There's nothing like that for BS.   You can find plenty of code on github, but whether you'll be able to find what you're looking for I couldn't say.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
vito-de-tullio
Reel Rookie

Re: Where to find code libraries?

Jump to solution
@renojim wrote:

There's nothing like that for BS.

Bummer 😞

@renojim wrote:

You can find plenty of code on github, but whether you'll be able to find what you're looking for I couldn't say.

Do you have some suggestion on how to search? github is big, and google bigger, so I would hope for at least some keyword to narrow the search, or, some "awesome list" of libraries, like https://github.com/sorrycc/awesome-javascript 

0 Kudos
renojim
Community Streaming Expert

Re: Where to find code libraries?

Jump to solution

I can't suggest anything, but I can tell you that one of my pet peeves is programmers that spend more time searching for something than it would have taken to just code it themselves.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
vito-de-tullio
Reel Rookie

Re: Where to find code libraries?

Jump to solution

oh, cool, so you are able to write a compliant protobuf serializer in less than 10 minutes?

because that's the time I spent looking for one in typescript, installing in my project and started using it.

oh, and also an mqtt client, please.

and keep in mind that you need to be quick for these technical details, the important stuff are the business rules written *on top*, so we should be focusing on that.

/s

 

I can accept the status of the things. That the roku community is smaller than other ones, and there are less resources and - banally - workforce that in other environments. But please don't encourage it.

0 Kudos
necrotek
Roku Guru

Re: Where to find code libraries?

Jump to solution

May not have what you need but there are resources available here https://github.com/orgs/rokucommunity/repositories 

roku package manager

https://github.com/rokucommunity/ropm

if it does not have what you need write one and contribute it to the community.

also join the slack group and ask

https://join.slack.com/t/rokudevelopers/shared_invite/enQtMzgyODg0ODY0NDM5LTM0N2UzYWExOGVlMTRlNGI2OT...

 

 

vito-de-tullio
Reel Rookie

Re: Where to find code libraries?

Jump to solution

unfortunately there is no public available library that fit my needs here, but at least there is some effort in the direction I think would help most the community

0 Kudos
nickchavez
Binge Watcher

Re: Where to find code libraries?

Jump to solution

Hey Vito,

Did you ever end up finding or writing your own protobuf implementation? I'd be interested in helping to support maintain the library if you've put something together and are willing to share.

Thanks

0 Kudos