Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/metowolf/upimg-cli

πŸ§€ Upload image to public CDN in terminal
https://github.com/metowolf/upimg-cli

cdn cli image upimg

Last synced: 2 months ago
JSON representation

πŸ§€ Upload image to public CDN in terminal

Awesome Lists containing this project

README

        



πŸ§€ Upload image to public CDN in terminal


Author
Version
License

***

### Installation

```bash
yarn global add @upimg/cli
# npm install @upimg/cli -g
```

### Usage

Upload a single image

```bash
$ upimg dog.png
$ upimg -s jd dog.png
```

Upload multiple images ([globbing](https://www.npmjs.com/package/glob) supported)

```bash
$ upimg "*.jpeg" dog.png
$ upimg ~/*.(jpg|png|gif)
```

Setting default CDN server

```bash
$ upimg --config
```

### Interface

```bash
Ξ» upimg --help
Usage: upimg [options]

Options:
-V, --version output the version number
-c, --config Setting default CDN server & cookie
-s, --server [server] Upload throuth a given CDN server
-r, --raw Raw output
-h, --help output usage information

Examples:
upimg example.png
upimg --server jd example.png
upimg example.png --raw | clipcopy

```

### Related

- [metowolf/upimg](https://www.npmjs.com/package/upimg) - Upload image to public CDN
- [sindresorhus/ora](https://github.com/sindresorhus/ora) - Elegant terminal spinner
- [macOS Automator](https://github.com/metowolf/upimg-cli/wiki/macOS-%E4%B8%8B%E4%BD%BF%E7%94%A8-Automator-%E4%B8%8A%E4%BC%A0) - macOS 下使用 Automator 上δΌ