yume-chan / ya-webadb

ADB in your browser
https://tangoapp.dev/
MIT License
2.21k stars 296 forks source link

感觉可以写一个 基于adb的版本 感觉更通用? #319

Closed bobiscool closed 3 years ago

bobiscool commented 3 years ago

感觉可以写一个 基于adb的版本 感觉更通用?

yume-chan commented 3 years ago

怎么样叫基于 adb 的版本?

Simon Chan


From: Thunderball @.> Sent: Friday, May 7, 2021 7:05:37 PM To: yume-chan/ya-webadb @.> Cc: Subscribed @.***> Subject: [yume-chan/ya-webadb] 感觉可以写一个 基于adb的版本 感觉更通用? (#319)

感觉可以写一个 基于adb的版本 感觉更通用?

― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyume-chan%2Fya-webadb%2Fissues%2F319&data=04%7C01%7C%7C6e4b760157254bd60e1908d911480bbe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559823386462856%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7GaJGXupHAmT7q%2BmdgF0YiCEL3LeCFc9lGYcfysxxXc%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAKEZENXUEM4HCAARMOXKVLTMPCQDANCNFSM44JRZG7A&data=04%7C01%7C%7C6e4b760157254bd60e1908d911480bbe%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559823386472848%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=x2BHfNYlfj7MZExfJ0BAP2HKKUrS18%2BxKgRc%2FoV4RFM%3D&reserved=0.

bobiscool commented 3 years ago

额 就是你的项目是 基于webusb的 我想说的是基于原生的adb,特别是scrcpy控制 + web这块 感觉很通用

yume-chan commented 3 years ago

能详细说说吗?比如怎么调用原生 adb,调用原生 scrcpy?

Simon Chan


From: Thunderball @.> Sent: Friday, May 7, 2021 7:29:54 PM To: yume-chan/ya-webadb @.> Cc: Simon Chan @.>; Comment @.> Subject: Re: [yume-chan/ya-webadb] 感觉可以写一个 基于adb的版本 感觉更通用? (#319)

额 就是你的项目是 基于webusb的 我想说的是基于原生的adb,特别是scrcpy控制 + web这块 感觉很通用

― You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fyume-chan%2Fya-webadb%2Fissues%2F319%23issuecomment-834288548&data=04%7C01%7C%7Ce4eb21d316ec4552b26208d9114b7024%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559837957156632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=wONzt3DlRwg%2FwrISpqKk404myEIOzNobq%2FgzKWXIYZY%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAKEZEMZODJG5RWGAHS7HK3TMPFLFANCNFSM44JRZG7A&data=04%7C01%7C%7Ce4eb21d316ec4552b26208d9114b7024%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637559837957156632%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=nwxbbQEb3PsobL2e0luz3XM8GTTP6BTWWjs0MmWV4As%3D&reserved=0.

bobiscool commented 3 years ago

额 其实就是 你这块 是webusb + adb + scrcpy

我的意思是说 改造成 本地adb + scrcpy

我看你还自己为了 webusb 实现了adb 内部的一些东西 👍

drauggres commented 3 years ago

@bobiscool, there is already an adb client implementation for nodejs: https://github.com/openstf/adbkit.

But I would love to see another version based on @yume-chan's code, since adbkit in not actively developed.

bobiscool commented 3 years ago

@bobiscool, there is already an adb client implementation for nodejs: https://github.com/openstf/adbkit.

But I would love to see another version based on @yume-chan's code, since adbkit in not actively developed.

you can read chinese. 赞

yume-chan commented 3 years ago

我的意思是说 改造成 本地adb + scrcpy

@bobiscool 那为什么不直接用原生 adb + scrcpy?我需要实现哪部分?

bobiscool commented 3 years ago

我的意思是说 改造成 本地adb + scrcpy

@bobiscool 那为什么不直接用原生 adb + scrcpy?我需要实现哪部分?

web->adb->scrcpy

yume-chan commented 3 years ago

But I would love to see another version based on @yume-chan's code

@drauggres I have investigated that idea, and with https://github.com/thegecko/webusb, a drop-in replacement of browser's WebUSB API, I believe it's pretty easy to implement another backend for Node.js