GithubHelp home page GithubHelp logo

nwtgck / piping-adb-web Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 1.0 8.46 MB

Android Debug Bridge (ADB) over Piping Serer on Web browser

Home Page: https://piping-adb.nwtgck.org

License: MIT License

JavaScript 2.96% CSS 0.13% HTML 0.59% TypeScript 95.15% Shell 0.08% MDX 0.42% HLSL 0.19% SCSS 0.47%
adb android piping-server remote-control

piping-adb-web's Introduction

Piping ADB

Android Debug Bridge (ADB) over Piping Server on Web browser

Piping ADB scrcpy Piping ADB file manager

Usage

First, open adbd 5555 port on an Android device using adb tcpip 5555 or su 0 setprop service.adb.tcp.port 5555; su 0 stop adbd; su 0 start adbd

Second, the device starts a tunneling over Piping Server in some way, equivalent to the following command:

curl -sSN https://ppng.io/aaa | nc localhost 5555 | curl -sSNT - https://ppng.io/bbb

Finally, open the following URL on a Chromium-based browser.
https://piping-adb.nwtgck.org/#?auto_connect&server=https://ppng.io&cs_path=aaa&sc_path=bbb

Acknowledgements

This project is highly based on ya-webadb. Thanks to the original author!

The following document is from the original README.

MIT license

A library and application for browsers to interact with Android devices via ADB.

All features are working on Chrome for Android, use a C-to-C cable or run WebSockify in Termux to connect.

๐Ÿš€ Online Demo

For USB connection, close Google ADB (Run adb kill-server in a terminal or close adb.exe from Task Manager) and all programs that may use ADB (e.g. Android Studio, Visual Studio, Godot Editor, etc.) before connecting.

Compatibility

Connection Chromium-based Browsers Firefox Node.js
USB cable Supported using WebUSB API No Supported using usb package
Wireless through WebSocket 1 Supported Supported Possible using ws package
Wireless through TCP WIP using Direct Sockets API No Possible using net module

1 Requires WebSockify softwares, see instruction for detail.

Features

  • ๐Ÿ“ File Management
    • ๐Ÿ“‹ List
    • โฌ† Upload
    • โฌ‡ Download
    • ๐Ÿ—‘ Delete
  • ๐Ÿ“ท Screen Capture
  • ๐Ÿ“œ Terminal Emulator powered by Tabby
    • Tabs and split panes
    • Color themes
    • Rich configuration
  • โš™ Enable ADB over WiFi
  • ๐Ÿ“ฆ Install APK
  • ๐ŸŽฅ Scrcpy compatible client
    • Screen mirroring
    • Audio forwarding (Android >= 11)
    • Recording
    • Control device with mouse, touch and keyboard
  • ๐Ÿ› Chrome Remote Debugging that supporting
    • Google Chrome (stable, beta, dev, canary)
    • Microsoft Edge (stable, beta, dev, canary)
    • Opera (stable, beta)
    • Vivaldi
  • ๐Ÿ”Œ Power and reboot to different modes

Contribute

See CONTRIBUTING.md

Sponsors

Become a backer and get your image on our README on Github with a link to your site.

Used open-source projects

piping-adb-web's People

Contributors

dependabot[bot] avatar lordgiacomos avatar nwtgck avatar phpmalik avatar renovate-bot avatar troy-lamerton avatar upintheairsheep avatar yume-chan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

piping-adb-web's Issues

can you give me a guide on how to use it?

Issue Checklist

  • I'm using the library programmatically

Library version

111

Runtime

111

Device

111

Describe the bug

I've followed the readme instructions, but one of these happens:

  1. keeps connecting
  2. connects, but console log says socket is not connected

Steps to reproduce

111

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.