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?
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
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.
@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
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.
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.
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
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
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