Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sakebook/pbssc

You can get the device image from the CLI and copy it to the clipboard.
https://github.com/sakebook/pbssc

adb android capture cli clipboard command-line-tool homebrew homebrew-tap ios iphone productivity screenshot

Last synced: 5 days ago
JSON representation

You can get the device image from the CLI and copy it to the clipboard.

Awesome Lists containing this project

README

        

# pbssc
Provide screenshot and copy to clipboard.

You can get the device image from the CLI and copy it to the clipboard

https://user-images.githubusercontent.com/729101/128733918-10f68291-c746-4413-84d7-2aab61345fa4.mp4

## Requirement
- macOS only
- [adb](https://developer.android.com/studio/command-line/adb)
- [libimobiledevice](https://github.com/libimobiledevice/libimobiledevice)

## Install

You can install pbssc with Homebrew.

```
% brew tap sakebook/tap && brew install pbssc
```

## Setup
- Set environment variable `PBSSC_IMAGE_PATH`. This is an images save path.

```
export PBSSC_IMAGE_PATH=/YOUR/PATH
```

## Android device

```
% pbssc -a
```

## iOS device

```
% pbssc -i
```
## Save only screenshot from connected devices

```
% pbssc -s
```