⌨️

BulkPicConv CLI

Command-line batch image conversion. Automate WebP/AVIF optimization in your scripts, CI/CD pipelines, and server workflows.

npm i -g @bulkpicconv/cli v1.0.0
⌨️

Pure Command Line

No GUI needed. Perfect for scripts, CI/CD pipelines, cron jobs, and server-side batch processing.

🌍

Glob Pattern Support

Use wildcards like *.jpg or images/**/*.png to match files recursively — no manual file listing.

📊

Progress & Summary

Real-time progress bar during conversion. Per-file savings report with total statistics.

📁

Directory Input

Point to a directory and it auto-discovers all supported image files recursively.

⚙️

Config File

Drop a .bulkpicconvrc JSON in your project. CLI flags override config values. Environment variables as fallback.

🔑

License Activation

Activate your Pro license key directly from the CLI. Pro features persist across sessions.

Installation

Global install (recommended)

npm i -g @bulkpicconv/cli

Or run without installing

npx @bulkpicconv/cli convert photo.jpg --format webp

Verify installation

bulkpicconv --version
# Output: 1.0.0
Requirements: Node.js 18+ · An API key (free tier: 50 conversions/month)

CI/CD Integration

GitHub Actions

- name: Install CLI
  run: npm i -g @bulkpicconv/cli

- name: Optimize images
  env:
    BULKPICCONV_API_KEY: ${{ secrets.BULKPICCONV_API_KEY }}
  run: bulkpicconv convert ./public/images/**/*.jpg --format webp -o ./dist/

package.json script

{
  "scripts": {
    "optimize:images": "bulkpicconv convert ./assets/img/**/*.{jpg,png} --format webp --quality 80 -o ./public/img/"
  }
}

FAQ

Ready to automate your image workflow?

Install the CLI and start converting in seconds. Free tier: 50 conversions/month.

npm i -g @bulkpicconv/cli Get API Key