https://github.com/tigersway/quick-cloudinary-uploader
A very simple Cloudinary uploader in a Node environment only
https://github.com/tigersway/quick-cloudinary-uploader
cli cloudinary images nodejs-cli upload
Last synced: 9 months ago
JSON representation
A very simple Cloudinary uploader in a Node environment only
- Host: GitHub
- URL: https://github.com/tigersway/quick-cloudinary-uploader
- Owner: TigersWay
- License: mit
- Created: 2022-04-24T07:18:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-17T00:14:50.000Z (almost 3 years ago)
- Last Synced: 2025-01-22T08:42:36.031Z (11 months ago)
- Topics: cli, cloudinary, images, nodejs-cli, upload
- Language: JavaScript
- Homepage:
- Size: 10.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# quick-cloudinary-uploader   
Mostly Windows user, I didn't want to deal with Python if I didn't need to, but still needed a simple Cloudinary uploader.
Here is an "quick" way.
### Usage [ ](https://www.npmjs.com/package/quick-cloudinary-uploader)
You first have to configure the required `cloud_name`, `api_key`, and `api_secret` by defining the `CLOUDINARY_URL` environment variable.\
Your `CLOUDINARY_URL` value is available in the dashboard page of your account console and should look like this: `CLOUDINARY_URL=cloudinary://my_key:my_secret@my_cloud_name`.
#### Install
`pnpm install quick-cloudinary-uploader`
or
`npm install quick-cloudinary-uploader`
#### Command line
`qcu [options] `
```shell
Quick Cloudinary Uploader (CLI)
Arguments:
paths paths of files to upload
Options:
-p, --project Cloudinary main folder or project
-f, --force force upload all/even existing files
-v, --version output the version number
-h, --help display help for command
```
- `qcu 'images/**.*'`\
will upload new images only - from your `images` folder - to your Cloudinary root media folder.
- `qcu -fp my-project 'images/**/*' 'assets:**/*.{jpg,png,svg}'`\
ALL images from your local `images` folder, and ALL jpg, png and svg from your `assets` folder - but without the "assets" part - will be uploaded to your Cloudinary folder `my-project`.
### CHANGELOG
- **v1.1.1**
- Update dependencies
- **v1.1.0**
- Little warning when path(s) may be wrong (don't have any file)
- Update dependencies
- **v1.0.3**
- Update dependencies
- **v1.0.2**
- README refresh
- Update dependencies
- **v1.0.1**
- Update dependencies
- **v1.0.0**
- Initial upload