{"id":22860046,"url":"https://github.com/reelyactive/digital-signage-demo","last_synced_at":"2025-03-31T08:22:56.992Z","repository":{"id":69136675,"uuid":"61438849","full_name":"reelyactive/digital-signage-demo","owner":"reelyactive","description":"Change the content of a webpage based on the presence or absence of mobile devices running reelyApp.  We believe in an open IoT.","archived":false,"fork":false,"pushed_at":"2016-06-24T12:16:14.000Z","size":752,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-06T12:48:12.760Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reelyactive.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":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-18T15:07:37.000Z","updated_at":"2016-06-19T02:30:36.000Z","dependencies_parsed_at":"2023-04-29T05:04:11.568Z","dependency_job_id":null,"html_url":"https://github.com/reelyactive/digital-signage-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fdigital-signage-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fdigital-signage-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fdigital-signage-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reelyactive%2Fdigital-signage-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reelyactive","download_url":"https://codeload.github.com/reelyactive/digital-signage-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246437010,"owners_count":20777135,"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-12-13T09:08:48.245Z","updated_at":"2025-03-31T08:22:56.985Z","avatar_url":"https://github.com/reelyactive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"digital-signage-demo\n====================\n\n\nReal-time presence-triggered content\n------------------------------------\n\nChange the content of a webpage based on the presence or absence of mobile devices running reelyApp.  There are four options:\n\n1. No devices running reelyApp are present\n2. One or more iOS devices running reelyApp are present\n3. One or more Android devices running reelyApp are present\n4. Both iOS and Android devices running reelyApp are present\n\n![digital-signage-demo](http://reelyactive.com/images/digital-signage-demo.gif)\n\n\nInstallation\n------------\n\nClone the repo, then install the necessary packages for Node.js by running:\n\n    npm install\n\nInstall reelyApp for [Android](https://play.google.com/store/apps/details?id=com.reelyactive.reelyapp) and [iOS](https://itunes.apple.com/us/app/reelyapp-for-ios/id1121042765).\n\n\nRunning the demo\n----------------\n\nWith a [minimal starter kit](http://shop.reelyactive.com/products/starterkit-min) connected to your computer (or to the digital signage computer), from the root of the repo, run the server as follows:\n\n    node server\n\nThen open index.html in your favourite web browser.  You should see a picture of a stuffed barnowl.\n\nEnabled/disable anonymous detection within reelyApp for iOS and Android to test all four cases, and watch how the webpage responds.\n\n\nHacking the demo\n----------------\n\nSubstitute your own images:\n- copy them to the /images folder\n- update the _Constant definitions_ in js/digitalsignage.js\n\nTrigger based on other UUIDs (ex: FitBit):\n- update the UUID_ANDROID and UUID_IOS _Constant definitions_ in js/digitalsignage.js\n\nExperiment with the responsivity:\n- tweak the [barnowl advanced parameters](https://www.npmjs.com/package/barnowl#advanced-parameters) in server.js\n- tweak the [barnacles options](https://www.npmjs.com/package/barnacles#options) in server.js\n\n\nLicense\n-------\n\nMIT License\n\nCopyright (c) 2016 reelyActive\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR \nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, \nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE \nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER \nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, \nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN \nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freelyactive%2Fdigital-signage-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freelyactive%2Fdigital-signage-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freelyactive%2Fdigital-signage-demo/lists"}