GithubHelp home page GithubHelp logo

emadalam / appletv-demo Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 6.0 10.83 MB

A demo application for AppleTV using atvjs with presentation

Home Page: https://emadalam.github.io/appletv-demo

License: MIT License

JavaScript 44.09% Swift 1.43% CSS 45.20% HTML 9.29%
apple-tv demo-application appletv-demo tvml tvml-demo atvjs tvjs

appletv-demo's Introduction

appletv-demo

A demo application for AppleTV using atvjs.

Getting Started

Assuming that you have nodejs and npm installed on your machine, do the following to get started:

$ npm install -g gulp                   # Install Gulp globally
$ npm install                           # Install dependencies

Accessing Presentation

$ npm run presentation 8080             # Specify optional port if needed

Development

Builds the application and starts a webserver. By default the webserver starts at port 9001.

$ npm start

By default, it builds in debug mode and starts the server with live reload.

  • If you need to build otherwise, use gulp with additional flags.
  • If you need to build in release mode, add --t production flag.
  • You can define a port with --p 8080 flag. (If you start the server on a different port, make sure to update the same in the native application)

Structure

The project is split into two parts:

  • native: this directory contains the Xcode project and related files. The AppDelegate.swift file handles the setup of the TVMLKit framework and launching the JavaScript context to manage the application.
  • web: this directory contains the JavaScript and TVML template files needed to render the application. The contents of this directory must be hosted on a server accessible from the device.

License

MIT License.

appletv-demo's People

Contributors

emadalam avatar marhycz avatar orenyomtov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.