{"id":13865987,"url":"https://github.com/wearscript/wearscript-android","last_synced_at":"2026-03-13T19:31:59.535Z","repository":{"id":7992837,"uuid":"9399438","full_name":"wearscript/wearscript-android","owner":"wearscript","description":"JavaScript with Batteries Included for Google Glass","archived":false,"fork":false,"pushed_at":"2016-07-10T22:04:09.000Z","size":52980,"stargazers_count":218,"open_issues_count":55,"forks_count":53,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-12-20T05:02:54.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"wearscript.com","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wearscript.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-04-12T17:09:52.000Z","updated_at":"2025-12-19T21:50:10.000Z","dependencies_parsed_at":"2022-08-28T07:51:15.613Z","dependency_job_id":null,"html_url":"https://github.com/wearscript/wearscript-android","commit_stats":null,"previous_names":["bwhite/openglass"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/wearscript/wearscript-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearscript%2Fwearscript-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearscript%2Fwearscript-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearscript%2Fwearscript-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearscript%2Fwearscript-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wearscript","download_url":"https://codeload.github.com/wearscript/wearscript-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wearscript%2Fwearscript-android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30473300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T17:15:31.527Z","status":"ssl_error","status_checked_at":"2026-03-13T17:15:22.394Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-05T12:00:43.518Z","updated_at":"2026-03-13T19:31:59.500Z","avatar_url":"https://github.com/wearscript.png","language":"Java","readme":"WearScript\n===========\nWearScript combines the power of Android development on Glass with the learning curve of a website.  Go from concept to demo in a fraction of the time. For an overview check out the intro video and sample script below.  Visit http://www.wearscript.com for documentation and more information.\n\nOne-Line Installer(Linux/OSX): Execute the following in a shell to install WearScript on your Glass and authenticate with our default server.\n```\ncurl -L http://goo.gl/U1RIHm \u003e install.py \u0026\u0026 python install.py\n```\n\n[![intro video](http://img.youtube.com/vi/tOUgybfQp4A/0.jpg)](http://www.youtube.com/watch?v=tOUgybfQp4A)\n\n```HTML\n// Sample WearScript\n\u003chtml style=\"width:100%; height:100%; overflow:hidden\"\u003e\n\u003cbody style=\"width:100%; height:100%; overflow:hidden; margin:0\"\u003e\n\u003ccanvas id=\"canvas\" width=\"640\" height=\"360\" style=\"display:block\"\u003e\u003c/canvas\u003e\n\u003cscript\u003e\nfunction cb(data) {  // Changes canvas color depending on head rotation\n    if (data['type'] == WS.sensor('orientation')) {\n        ctx.fillStyle = 'hsl(' + data['values'][0] + ', 90%, 50%)'\n        ctx.fillRect(0, 0, 640, 360);\n    }\n}\nfunction server() {\n    WS.log('Welcome to WearScript');  // Write to Android Log and Playground console\n    WS.say('Welcome to WearScript');  // Text-to-speech\n    // Stream camera images and all sensors to the WearScript Playground Webapp\n    var sensors = ['gps', 'accelerometer', 'magneticField', 'orientation', 'gyroscope',\n                   'light', 'gravity', 'linearAcceleration', 'rotationVector'];\n    for (var i = 0; i \u003c sensors.length; i++)\n        WS.sensorOn(WS.sensor(sensors[i]), .15, 'cb');\n    WS.cameraOn(2);\n    WS.dataLog(false, true, .15);\n}\nfunction main() {\n    if (WS.scriptVersion(0)) return;\n    ctx = document.getElementById('canvas').getContext(\"2d\");\n    WS.serverConnect('{{WSUrl}}', 'server');\n}\nwindow.onload = main;\n\u003c/script\u003e\u003c/body\u003e\u003c/html\u003e\n```\n\nAbout\n-----\n\n* Full documentation at http://www.wearscript.com\n* [OpenShades](http://openshades.com) (the new OpenGlass) is our community\n* IRC freenode #openshades (if you want to collaborate or chat that's the place to be)\n* Project Lead: Brandyn White (bwhite dappervision com)\n* [G+ Community](https://plus.google.com/communities/101102785351379725742) (we post work in progress here)\n* [Youtube](https://www.youtube.com/channel/UCGy1Zo81X2cRRQ5GQYz8eEQ) (all OpenShades videos)\n* [Dapper Vision, Inc.](http://www.dappervision.com) (by Brandyn and Andrew) is the sponsor of this project\n* Code is licensed under [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) unless otherwise specified\n\nContributors\n------------\nSee [contributors](https://github.com/OpenShades/wearscript/graphs/contributors) for details.  Name (irc nick)\n\n* [Brandyn White (brandyn)](https://plus.google.com/109113122718379096525?rel=author)\n* Andrew Miller (amiller)\n* Scott Greenwald (swgreen_mit)\n* Kurtis Nelson (kurtisnelson)\n* Conner Brooks (connerb)\n* Justin Chase (jujuman)\n* Alexander Conroy (geilt)\n","funding_links":[],"categories":["Java"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwearscript%2Fwearscript-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwearscript%2Fwearscript-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwearscript%2Fwearscript-android/lists"}