{"id":20649584,"url":"https://github.com/leapmotion/apphome","last_synced_at":"2025-09-09T22:44:32.070Z","repository":{"id":52166405,"uuid":"51349500","full_name":"leapmotion/apphome","owner":"leapmotion","description":"Leap Motion App Home","archived":false,"fork":false,"pushed_at":"2021-05-06T16:31:45.000Z","size":17079,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":35,"default_branch":"develop","last_synced_at":"2025-01-17T10:12:41.960Z","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/leapmotion.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}},"created_at":"2016-02-09T05:54:38.000Z","updated_at":"2020-08-14T00:02:35.000Z","dependencies_parsed_at":"2022-09-09T01:22:28.234Z","dependency_job_id":null,"html_url":"https://github.com/leapmotion/apphome","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leapmotion%2Fapphome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leapmotion%2Fapphome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leapmotion%2Fapphome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leapmotion%2Fapphome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leapmotion","download_url":"https://codeload.github.com/leapmotion/apphome/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242737020,"owners_count":20177092,"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-16T17:15:04.831Z","updated_at":"2025-03-09T19:18:05.590Z","avatar_url":"https://github.com/leapmotion.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Airspace Desktop\n\n### Prerequisite\n\n- [Node.js v0.10.x](http://nodejs.org/download/)\n- [node-webkit](https://github.com/rogerwang/node-webkit#downloads)\n- [chromedriver](https://github.com/rogerwang/node-webkit/wiki/chromedriver) for running tests\n\n### Copy node-webkit to your /opt/local or C:\\Libraries-x86_vc141, depending on your OS (i.e.):\n\n    sudo cp -r ~/Downloads/node-webkit-v*.*.*-osx-ia32/node-webkit.app /opt/local/Libraries/node-webkit-v*.*.*-osx-ia32/\n\n### If you want to run tests, copy chromedriver to the same directory as the node-webkit binary\n\n    sudo cp -r ~/Downloads/chromedriver2_server /opt/local/Libraries/node-webkit-v*.*.*-osx-ia32/\n\n### Running (dev mode)\n\nCopy over oauth2 access token from production central:\n\n```ruby\nActiveRecord::Base.connection.execute('select * from oauth2_clients limit 1').to_a\n```\n\nIn to your local database:\n\n```ruby\nDevise::Oauth2Providable::Client.create!(name: 'launcher', redirect_uri: 'http://local.leapmotion:3010/', website: 'http://local.leapmotion.com:3010/') { |c| c.identifier='73fde9aa45ef818ecb137aeacd886253'; c.secret='8daf22818f30f4a9f86201d1b276b39c' }\n```\n\nOr staging:\n\n```ruby\nDevise::Oauth2Providable::Client.create!(name: 'launcher', redirect_uri: 'https://lm-s-warehouse-amnesia.leapmotion.com/', website: 'https://lm-s-warehouse-amnesia.leapmotion.com/') { |c| c.identifier='73fde9aa45ef818ecb137aeacd886253'; c.secret='8daf22818f30f4a9f86201d1b276b39c' }\n```\n\n\n```\n    # add these in .bashrc\n\n    # localhost\n    alias airspace='cd $HOME/homebase; CENTRAL_URL=http://local.leapmotion:3010/ WAREHOUSE_URL=http://local.leapmotion:5001/  AIRSPACE_URL=http://local.leapmotion:5002/ LEAPHOME_ENV=development bin/airspace'\n    alias oobe='cd $HOME/homebase;rm -rf $HOME/Library/Application\\ Support/Leap\\ Motion/ $HOME/Library/Application\\ Support/Airspace ; rm -rf $HOME/Applications/AirspaceApps/;  airspace'\n\n    # staging (disabled HTTP Basic Auth)\n    alias stairspace='cd $HOME/homebase; CENTRAL_URL=https://lm-s-central-amnesia.leapmotion.com/ WAREHOUSE_URL=https://lm-s-warehouse-amnesia.leapmotion.com/ AIRSPACE_URL=https://lm-s-airspace-amnesia.leapmotion.com/ LEAPHOME_ENV=staging bin/airspace'\n    alias stoobe='cd $HOME/homebase;rm -rf $HOME/Library/Application\\ Support/Leap\\ Motion/ $HOME/Library/Application\\ Support/Airspace ; rm -rf $HOME/Applications/AirspaceApps/; stairspace'\n\n    # production\n    alias prairspace='cd $HOME/homebase;bin/airspace'\n    alias proobe='cd $HOME/homebase;rm -rf $HOME/Library/Application\\ Support/Leap\\ Motion/ $HOME/Library/Application\\ Support/Airspace ; rm -rf $HOME/Applications/AirspaceApps/; prairspace'\n\n    # use the airspace alias for localhost (have central and warehouse running)\n    airspace\n```\n\nAll staging and dev machines seem to be using sandbox 1 for pubnub.\n\n### Testing\n\n    node bin/test [test_file1 [test_file2] ...]\n\nRunning without specifying test file(s) will run the entire set of test suites.\n\n### Building\n\nIf this is your first install OR the package.json file has changed which modules are included (or their version number), run\n\n    npm install\n\nIf it's a release build, first run:\n\n    node bin/release [version]\n\nTo build, run:\n\n    node bin/build\n\nOutputs to: \u003ccode\u003ebuild/\u003c/code\u003e\n\nBuilding for Windows requires building on Windows, unfortunately.\n\n### Troubleshooting\n\nUse the [Konami code](http://en.wikipedia.org/wiki/Konami_Code) to open the debugger in production.\n\n### App Manifest\n\nSee \u003ccode\u003econfig/non-store-app-manifest.json\u003c/code\u003e.\n\nGet [s3cmd](http://s3tools.org/), and configure it with the correct credentials for\nthe \u003ccode\u003elm-assets\u003c/code\u003e S3 bucket (ask Josh Hull if you don't have them).\n\nUpload with:\n\n    s3cmd put -P config/non-store-app-manifest.json s3://lm-assets/airspace-desktop/non-store-app-manifest-v2.json\n\nBuiltin tiles can be uploaded with:\n\n    s3cmd put -P static/images/icons/community-icon.png s3://lm-assets/airspace-desktop/\n    s3cmd put -P static/images/icons/store-icon.png s3://lm-assets/airspace-desktop/\n    s3cmd put -P static/images/tiles/community-tile.png s3://lm-assets/airspace-desktop/\n    s3cmd put -P static/images/tiles/store-tile.png s3://lm-assets/airspace-desktop/\n    s3cmd put -P static/images/tiles/gesture-tile.png s3://lm-assets/airspace-desktop/documentation-tile.png\n    s3cmd put -P static/images/tiles/magic-tile.png s3://lm-assets/airspace-desktop/orientation-tile.png\n\n### Notes\n\n* 64-bit Ubuntu requires 32-bit GTK libs: \u003ccode\u003esudo apt-get install ia32-libs-gtk\u003c/code\u003e. On newer versions,\n  you'll need to run \u003ccode\u003esudo ln -sf /lib/i386-linux-gnu/libudev.so.1 /lib/i386-linux-gnu/libudev.so.0\u003c/code\u003e\n  after installation.\n* If RCEDIT.exe fails, make sure your virus scanner has the build folder listed as an exception-\n  they scan files as they're created, and this causes access violations when RCEDIT goes to change the icon.\n* You may want to set \u003ccode\u003eulimit -n 1200\u003c/code\u003e on OS X to get around the low default max number of open files.\n  (In release builds, this gets done automatically.)\n\n### Get ahXXXX version\n```\n git log --reverse --oneline | cat -n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleapmotion%2Fapphome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleapmotion%2Fapphome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleapmotion%2Fapphome/lists"}