{"id":16541737,"url":"https://github.com/thyrlian/captain-adb","last_synced_at":"2025-06-22T11:37:35.670Z","repository":{"id":17346537,"uuid":"20117963","full_name":"thyrlian/Captain-ADB","owner":"thyrlian","description":"Providing simple web API and view for Android Debug Bridge (adb).  Free your imagination, use it as the way you want.","archived":false,"fork":false,"pushed_at":"2018-01-17T07:51:48.000Z","size":888,"stargazers_count":51,"open_issues_count":1,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-03T19:45:14.493Z","etag":null,"topics":["adb","android","mobile","server"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/thyrlian.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":"2014-05-24T00:08:57.000Z","updated_at":"2024-07-02T00:01:52.000Z","dependencies_parsed_at":"2022-06-26T05:33:16.295Z","dependency_job_id":null,"html_url":"https://github.com/thyrlian/Captain-ADB","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thyrlian/Captain-ADB","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thyrlian%2FCaptain-ADB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thyrlian%2FCaptain-ADB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thyrlian%2FCaptain-ADB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thyrlian%2FCaptain-ADB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thyrlian","download_url":"https://codeload.github.com/thyrlian/Captain-ADB/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thyrlian%2FCaptain-ADB/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261289028,"owners_count":23136045,"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":["adb","android","mobile","server"],"created_at":"2024-10-11T18:55:46.867Z","updated_at":"2025-06-22T11:37:30.652Z","avatar_url":"https://github.com/thyrlian.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/thyrlian/Captain-ADB/blob/master/public/img/captain_android.png\" width=\"200\"\u003e\n\nCaptain-ADB\n===========\n\nProviding simple web API and view for Android Debug Bridge (adb).  Free your imagination, use it as the way you want.\n\n## Requirement\n\n* Android SDK is configured as environment variable in your ***.bash_profile*** or ***.bashrc***\n  * `ANDROID_HOME=[YourAndroidSdkDir]`\n  * `export PATH=$PATH:$ANDROID_HOME/platform-tools`\n* Ruby ( \u003e= 1.9.3  strongly suggest using [RVM](http://rvm.io/) )\n* Bundler - manages Ruby app's dependencies (`gem install bundler`)\n\n## Setup\n\n1. Clone this project, and go to project directory\n2. Run `bundle install`\n3. Run `rackup -p \u003cPORT\u003e -o 0.0.0.0` (or `bundle exec rackup -p \u003cPORT\u003e -o 0.0.0.0`)\n4. Open a browser, type in this URL http://localhost:PORT\n\n## API\n\n### Schema\n\nAll API is accessed from the `http://yourdomain.com/api/`, and all data is sent and received as JSON.\n\n### REST APIs\n\nPOST `adb/action/restart`  \nGET `devices`  \nGET `devices/:device_sn/packages`  \nGET `devices/:device_sn/packages/:package_name`  \nDELETE `devices/:device_sn/packages/:package_name`  \nDELETE `devices/:device_sn/packages/:package_name/data`  \nPOST `devices/:device_sn/screenshots`  \nPUT `devices/:device_sn`  \n```\n{\n    \"language\": \"en\",\n    \"country\": \"us\"\n}\n```\nPOST `devices/:device_sn/deeplinks`  \n```\n{\n    \"packageName\": \"com.example.android\",\n    \"deepLink\": \"https://www.android.com/example\"\n}\n```\n\n## License\n\nCopyright (c) 2016 Jing Li. See the [LICENSE](https://github.com/thyrlian/Captain-ADB/blob/master/LICENSE) file for license rights and limitations (MIT).\n\n## Thanks\n\nSpecial thanks to my frontend specialist - [**Miguel**](http://henrique.pt/)  twitter:[@lordcracker](https://twitter.com/lordcracker)  github:[@ellite](https://github.com/ellite)\n\n## Attribution\n\n[Icon](http://www.flaticon.com/free-icon/photo-camera_68906) made by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com) is licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/)\n\n[Icon](http://www.flaticon.com/free-icon/rubbish-bin_63260) made by [Icon Works](http://icon-works.com) from [Flaticon](http://www.flaticon.com) is licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/)\n\n[Icon](http://www.flaticon.com/free-icon/delete-database_51504) made by [Freepik](http://www.freepik.com) from [Flaticon](http://www.flaticon.com) is licensed under [CC BY 3.0](http://creativecommons.org/licenses/by/3.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthyrlian%2Fcaptain-adb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthyrlian%2Fcaptain-adb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthyrlian%2Fcaptain-adb/lists"}