{"id":26866465,"url":"https://github.com/mtconnect/google_glass","last_synced_at":"2025-09-10T16:43:10.809Z","repository":{"id":10823618,"uuid":"13100150","full_name":"mtconnect/google_glass","owner":"mtconnect","description":"simple Google Glass client for MTConnect","archived":false,"fork":false,"pushed_at":"2013-09-27T14:05:28.000Z","size":804,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-31T04:54:40.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtconnect.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-25T17:15:48.000Z","updated_at":"2024-05-10T16:14:09.000Z","dependencies_parsed_at":"2022-09-02T20:23:11.786Z","dependency_job_id":null,"html_url":"https://github.com/mtconnect/google_glass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mtconnect/google_glass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtconnect%2Fgoogle_glass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtconnect%2Fgoogle_glass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtconnect%2Fgoogle_glass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtconnect%2Fgoogle_glass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtconnect","download_url":"https://codeload.github.com/mtconnect/google_glass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtconnect%2Fgoogle_glass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274488426,"owners_count":25294727,"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","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-03-31T04:54:42.421Z","updated_at":"2025-09-10T16:43:10.778Z","avatar_url":"https://github.com/mtconnect.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"google_glass\n============\n\nsimple Google Glass client for MTConnect\n\nThis is a simple app that has been modified from the original Python SDK for Glass and allows Glass to communicate to MTConnect Agents.\nIt also has Kooaba image recognition platform SDK in the code(kooaba.com). This can be used for Glass to recognize various machinetools or objects\nand then send a notification back with the current MTConnect stream to the user of the Glass. This is not implemented in the current code, you will\nhave to create your own account with Kooaba to activate this function, but I've included the SDK in the code so it can be implemented\nwith ease. Please follow the instructions below to get started with App Engine and Mirror API.\n\nYou can find a working demo of MTConnect + Google Glass at ITAMCO.com\n\n\nPrerequisites\n\nThe App Engine SDK for Python - The Python quick start project is implemented using App Engine. You need the Python App Engine SDK to develop and deploy your project. Run the installer if appropriate for your platform, or extract the zip file in a convenient place.\n\nCreating a Google App Engine instance\n\nYou'll need to host the quick start project on an instance of Google App Engine:\n\nGo to http://appspot.com.\nClick Create Application and create a public Google App Engine instance hosted on appspot.com.\nGive the application an Application Identifier and leave the authentication Open to all Google Accounts users. You'll need the application identifier later to configure the quick start project.\nCreating a Google APIs Console project\n\nNext, enable access to the Google Mirror API:\n\nGo to the Google APIs console and create a new API project.\nClick Services and enable the Google Mirror API for your new project.\nDuring this stage of the Mirror API Developer Preview, the API is only available to developers who have Glass as part of the Explorer Program.\n\nIf you are not an Explorer with Glass, the toggle is not displayed and you cannot enable the Mirror API.\n\n![Alt text](https://developers.google.com/glass/images/api-console-enable-glass.png?raw=true)\n\nthe Google Mirror API on the Google API Console\nClick API Access and create an OAuth 2.0 client ID for a web application. \n\n![Alt text](https://developers.google.com/glass/images/api-console-client-id.png?raw=true)\n\nthe API Access section of the Google API console\nSpecify the product name and icon for your Glassware. These fields appear on the OAuth grant screen presented to your users.\n\n![Alt text](https://developers.google.com/glass/images/api-console-client-id-brand-info.png?raw=true)\n\nspecifying brand information\nSelect Web application and specify any value for the hostname, such as localhost\n\n![Alt text](https://developers.google.com/glass/images/api-console-client-id-app-type.png?raw=true)\n\nselecting application type\nClick Edit settings... for the client ID to specify redirect URIs. Specify http://localhost:8080/oauth2callback and the callback URL for your App Engine instance, for example, https://myappengineinstance.appspot.com/oauth2callback. \n\n![Alt text](https://developers.google.com/glass/images/api-console-redirect-uris.png?raw=true)\n\nthe Google API console configuration panel for redirect URIs\nMake note of the client ID and secret from the Google APIs Console. You'll need it to configure the quick start project.\n\n![Alt text](https://developers.google.com/glass/images/api-console-client-id-and-secret.png?raw=true)\n\nthe client id and secret on the Google API console\nConfiguring the project\n\nConfigure the Quick Start project to use your API client information:\n\nEnter your client ID and secret in client_secrets.json:\n{\n  \"web\": {\n    \"client_id\": \"1234.apps.googleusercontent.com\",\n    \"client_secret\": \"ITS_A_SECRET_TO_EVERYBODY\",\n    \"redirect_uris\": [\n    ],\n    \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n    \"token_uri\": \"https://accounts.google.com/o/oauth2/token\"\n  }\n}\nGenerate a session.secret file to store session cookies:\n$ python -c \"import os; print os.urandom(64)\" \u003e session.secret\nEdit app.yaml to enter your App Engine application ID:\napplication: your_app_engine_application_id\nversion: 1\nruntime: python27\napi_version: 1\nthreadsafe: true\n...\nDeploying the project\n\nPress the blue Deploy button in the App Engine Launch GUI interface or run this shell command to deploy your code:\n\n $ appcfg.py --oauth2 update .\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtconnect%2Fgoogle_glass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtconnect%2Fgoogle_glass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtconnect%2Fgoogle_glass/lists"}