{"id":21644576,"url":"https://github.com/samsung/cordova-sectv-orsay","last_synced_at":"2025-07-20T15:02:42.057Z","repository":{"id":78613316,"uuid":"44937916","full_name":"Samsung/cordova-sectv-orsay","owner":"Samsung","description":"cordova-sectv-orsay` is an TV application library that allows for Cordova-based projects to be built for the Legacy Samsung Smart TV (A.K.A Orsay) Platform.","archived":false,"fork":false,"pushed_at":"2023-04-07T10:33:50.000Z","size":102,"stargazers_count":20,"open_issues_count":0,"forks_count":10,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-11T18:32:31.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Samsung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-10-26T01:09:46.000Z","updated_at":"2024-04-27T09:48:03.000Z","dependencies_parsed_at":"2023-09-02T00:21:59.867Z","dependency_job_id":null,"html_url":"https://github.com/Samsung/cordova-sectv-orsay","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Samsung/cordova-sectv-orsay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samsung%2Fcordova-sectv-orsay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samsung%2Fcordova-sectv-orsay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samsung%2Fcordova-sectv-orsay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samsung%2Fcordova-sectv-orsay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samsung","download_url":"https://codeload.github.com/Samsung/cordova-sectv-orsay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samsung%2Fcordova-sectv-orsay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266143941,"owners_count":23883069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T05:41:05.753Z","updated_at":"2025-07-20T15:02:42.051Z","avatar_url":"https://github.com/Samsung.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/Samsung/cordova-sectv-orsay.svg?branch=master)](https://travis-ci.org/Samsung/cordova-sectv-orsay)\n\n# cordova-sectv-orsay\n`cordova-sectv-orsay` is an application library that allows for Cordova-based projects to be built for the Legacy Samsung Smart TV (A.K.A Orsay) Platform.\nCordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.\n\n# Supported Platform\n* Legacy Samsung Smart TV (sectv-orsay)\n\n# Supported cordova plugins\nThere are 3 cordova plugins which are supported on TOAST\n* cordova-plugin-device\n* cordova-plugin-globalization\n* cordova-plugin-network-information\n\nIf you want more details, please refer [Supported Cordova Plugin](https://github.com/Samsung/cordova-plugin-toast/wiki/supported-cordova-plugin)\n\n# Project Structure\n```\n    ./\n     |-cordova-js-src/ .... cordova-js sectv-orsay platform implementation\n     |  |-plugin/ ......... cordova plugin implementations\n     |  |-exec.js ......... cordova/exec module\n     |  `-platform.js ..... cordova/platform module having platform definition and bootstrap\n     |-www/ ............... Project template for Orsay platform\n     |-package.json ....... NPM package configuration\n     '-README.md .......... this file\n```\n\n# How to Build\nThis section describes the build process which creates `cordova.js` file for the `sectv-orsay` cordova platform.\nPlease see [Cordova-js](http://github.com/apache/cordova-js) for more detail of `compile` task.\n\n1. Clone the [Cordova-js](http://github.com/apache/cordova-js) project as sibling of this project.\n    ```sh\n    $ git clone https://github.com/Samsung/cordova-sectv-orsay.git\n    $ git clone https://github.com/apache/cordova-js.git\n    ```\n    \n    Repositories will be created like below directory structure.\n    ```\n    ./\n     |-cordova-js\n     `-cordova-sectv-orsay\n    ```\n\n2. Add \"sectv-orsay\" as a target of \"compile\" task on `Gruntfile.js` in the cordova-js project.\n    ```js\n    ...\n    grunt.initConfig({\n        pkg: grunt.file.readJSON('package.json'),\n        \"compile\": {\n            ...,\n            \"sectv-orsay\": {}\n        },\n        \"compile-browserify\": {\n        ...\n    });\n    ```\n\n3. Add \"sectv-orsay\" property to \"cordova-platforms\" object in the cordova-js project's `package.json` with path to this project's repository as its value.\n    ```JSON\n    \"cordova-platforms\": {\n        ...,\n        \"cordova-sectv-orsay\": \"../cordova-sectv-orsay\"\n    }\n    ```\n\n4. In the `cordova-js` directory's root, run below command to create `cordova-js/pkg/cordova.sectv-orsay.js` file.\n    ```sh\n    $ grunt compile:sectv-orsay\n    ```\n\n5. We recommend to copy the created file to the `www` directory which is including Orsay Application project templates for further use. In the `cordova-js` directory:\n    ```sh\n    $ cp ./pkg/cordova.sectv-orsay.js ../cordova-sectv-orsay/www/cordova.js\n    ```\n\n# How to use\nFor creating application package for Orsay TV:\n\n1. Copy your Cordova project's `www` directory which includes your application implementation to a new directory for the orsay project.\n\n    Assuming we've developed a Cordova project named as \"MyProject\" and it is located as a sibling of `cordova-sectv-orsay`.\n    ```\n    ./\n     |-cordova-js\n     |-cordova-sectv-orsay\n     `-MyProject\n       |- platforms\n       |- plugins\n       |- www\n       |  |- index.html\n       |  `- ...\n       `- config.xml\n    ```\n\n    ```sh\n    $ cd MyProject\n    $ cp -rf ./www ./orsayprj\n    ```\n    \n2. Create the Orsay `config.xml` file in the orsay project.\n3. Copy the built `cordova-js/pkg/cordova.sectv-orsay.js` to your new orsay project root with name `cordova.js`.\n    ```sh\n    $ cp ../cordova-js/pkg/cordova.sectv-orsay.js ./orsayprj/cordova.js\n    ```\n\n4. Zip the orsay project directory to package.\n    ```sh\n    $ zip -r MyProject_sectv-orsay.zip ./orsayprj\n    ```\n\n* We recommand to use the [grunt-cordova-sectv](http://github.com/Samsung/grunt-cordova-sectv) Grunt task to automate these process.\n\n# Known Issues\nNot yet\n\n[![Analytics](https://ga-beacon.appspot.com/UA-70262254-1/cordova-sectv-orsay/README)](https://github.com/igrigorik/ga-beacon)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsung%2Fcordova-sectv-orsay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamsung%2Fcordova-sectv-orsay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamsung%2Fcordova-sectv-orsay/lists"}