All Projects → magnatronus → Tvdemo

magnatronus / Tvdemo

Licence: mit
A NodeJS version of the AppleTV demo project

Programming Languages

javascript
184084 projects - #8 most used programming language

tvDemo Introduction

tvDemo is a test project (written with NodeJS, ExpressJS and EJS) for the new Apple tvOS. This is actually a modification to the demo code that Apple uses to give an overview of the template functionality of tvOS. I thought the best way to get to grips with it was to try using other technologies to create a duplicate app, and though nowwhere near perfect, it does appear to work and I do like the user of EJS to render the TVML templates.

Prerequisites

Yo will need the latest (at the moment - 11 Oct 2015)) beta of XCode 7.1 as well as this project if you want to run the code and see what it does (though you don't need a physical developer kit to run the app as XCode has a simulator).

You should create a simple Swift (or ObjC) tvOS app project (as explained in the developer docs) and then just set the following to connect to the server when it is running:

    static let TVBaseURL = "http://localhost:9001/"
    static let TVBootURL = "\(AppDelegate.TVBaseURL)js/application.js"
 

Setting tvBaseURL to wherever the Node server is running.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].