Step 1: Sign up as developer at http://www.roku.com/developer/ Step 2: Download SDK from https://owner.roku.com/Developer/DevHome Step 3: Read through the documentation starting with the Developer ...
If you look through the posts on this forum there is a bit of code given within. Unfortunately I think there are so few developers that there doesn't seem to be a lot of innovation yet.