Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/metowolf/upimg-cli
- Owner: metowolf
- License: mit
- Created: 2019-01-14T06:45:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T05:11:52.000Z (about 2 years ago)
- Last Synced: 2024-11-11T21:56:10.450Z (3 months ago)
- Topics: cdn, cli, image, upimg
- Language: JavaScript
- Size: 562 KB
- Stars: 82
- Watchers: 3
- Forks: 10
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
π§ Upload image to public CDN in terminal
***
### 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 informationExamples:
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 δΈδΌ