Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/eeriemyxi/lyto

Automatic wireless ADB connection using QR codes.
https://github.com/eeriemyxi/lyto

adb python qr-code sixel wireless

Last synced: about 2 months ago
JSON representation

Automatic wireless ADB connection using QR codes.

Awesome Lists containing this project

README

        

# Lyto
Automatic wireless ADB connection using QR codes.

![](https://i.imgur.com/CWVahuZ.png)

### Note
Minimum Android version: 11

~~Your terminal must support [Sixel](https://en.wikipedia.org/wiki/Sixel) graphics. Non-sixel QR code support is in the TODO list.~~
Now it defaults to non-sixel QR code. See `--as-sixel` flag.

## Installation
#### First Method
```
git clone --depth 1 --branch main lyto
pip install ./lyto
```
#### Second Method
```
pip install git+@main
```

## Command-line Arguments
```
usage: __main__.py [-h] [--adb-path ADB_PATH] [--tcpip-port TCPIP_PORT]
[--use-port USE_PORT] [--qr-scale QR_SCALE]
[--qr-border QR_BORDER] [--debug] [--as-sixel]
[--only-connect] [--do-tcpip] [--connect-tcpip] [-V]

options:
-h, --help show this help message and exit
--adb-path ADB_PATH Path to `adb` platform-tool. Defaults to 'adb'.
--tcpip-port TCPIP_PORT
Port for doing `adb tcpip`. See `--do-tcpip` flag.
Defaults to 5555.
--use-port USE_PORT Specify port for doing `adb pair` and `adb connect`
instead of auto-detecting it. Defaults to 0.
--qr-scale QR_SCALE (SIXEL ONLY) QR code image scale. Defaults to 10.
--qr-border QR_BORDER
QR code border size. Defaults to 1.
--debug Enable debug logs.
--as-sixel (EXPERIMENTAL) Use Sixel graphics.
--only-connect Only connect to the device, don't pair.
--do-tcpip After connecting do `adb tcpip` on specified port.
--connect-tcpip Detects device IP on startup and tries to connect to it
with TCPIP_PORT as the port.
-V, --version Show package version.
```

## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

* * *

Feel free to enhance Lyto according to your needs and contribute back to the project! If you encounter any issues or have suggestions for improvement, please open an issue on the repository. Thank you for using Lyto!