Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dalirnet/adbssi
ADB shell screencap interface
https://github.com/dalirnet/adbssi
adb android interface nodejs screenshot
Last synced: 3 days ago
JSON representation
ADB shell screencap interface
- Host: GitHub
- URL: https://github.com/dalirnet/adbssi
- Owner: dalirnet
- License: mit
- Created: 2021-08-15T17:40:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-16T07:32:13.000Z (about 3 years ago)
- Last Synced: 2024-11-06T20:52:10.573Z (8 days ago)
- Topics: adb, android, interface, nodejs, screenshot
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/adbssi
- Size: 51.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# adbssi
[ADB](#) [s](#)hell [s](#)creencap [i](#)nterface
![carbon](carbon.png)
### Install
```bash
npm install -g adbssi
```### Usage
```bash
adbssi screenshot.png
```### Module
```js
import ADBssi from "adbssi"/* valid ext
.png | .jpg | .gif
*/
const filename = "screenshot.png"/* valid type
usb | tcp | auto
*/
const connectionType = "usb"ADBssi(filename, connectionType)
.then((savedFilePath) => {
/* savedFilePath */
})
.catch((errorTag) => {
/* errorTag */
})
```#### Requirement
- [adb](https://adbdriver.com/downloads/) (connected to device)
- [node](https://nodejs.org/en/download/) (version >=14)---
[Android Debug Bridge](https://developer.android.com/studio/command-line/adb/) | [Screencap](https://developer.android.com/studio/command-line/adb#screencap)