No description
Find a file
2020-09-26 16:22:24 +08:00
.github/workflows feat(file-manager): Add context menu for downloading file 2020-09-14 13:17:11 +08:00
.vscode feat(adb): use struct to parse adb packet 2020-09-25 19:12:00 +08:00
packages fix(demo): don't pull framebufer when page not visible 2020-09-26 16:22:24 +08:00
.gitignore feat(sync): support lstat v1 2020-09-19 05:31:22 +08:00
lerna.json chore: convert to webpack 2020-09-14 13:15:03 +08:00
LICENSE chore: initialize repository 2020-09-14 13:13:35 +08:00
package.json doc: add more documentation for each packages 2020-09-18 21:06:28 +08:00
README.md feat(sync): support stat2 and lstat2 2020-09-26 04:13:43 +08:00
renovate.json chore(deps): add renovate.json 2020-09-14 13:14:21 +08:00
tsconfig.base.json feat(sync): support lstat v1 2020-09-19 05:31:22 +08:00

Android Debug Bridge (ADB) for Web Browsers

Manipulate Android devices from any (supported) web browsers, even from another Android device.

Online demo: https://yume-chan.github.io/ya-webadb

How does it work

@yume-chan/adb contains a platform-independent TypeScript implementation of the Android Debug Bridge (ADB) protocol.

@yume-chan/adb-backend-web contains a backend for @yume-chan/adb that uses Web technologies.

See README in each package for more implementation details.

Packages

This repository is a monorepo containing following packages:

Folder Name Description
event Event/EventEmitter pattern.
adb TypeScript implementation of Android Debug Bridge (ADB) protocol.
adb-backend-web Backend for @yume-chan/adb using Web technologies.
struct C-style structure serializer and deserializer.
webpack-config Webpack configuration file in TypeScript, will output into demo folder
demo Demo of @yume-chan/adb and @yume-chan/adb-backend-web.

Development

Install dependencies

If you already have lerna installed globally, run

npm run postinstall

Otherwise, run

npm install

will install lerna locally and bootstrap all packages.

Scripts

  • npm run build: build @yume-chan/event, @yume-chan/adb and @yume-chan/adb-backend-web packages.

  • npm run build:watch: build and watch changes for @yume-chan/event, @yume-chan/adb and @yume-chan/adb-backend-web packages.

  • npm run start:demo: start webpack-dev-server for the demo package.

  • npm run build:demo: build the demo package.