Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 900 Bytes

File metadata and controls

45 lines (29 loc) · 900 Bytes

image-upload-transit

CLI tool for uploading images and videos to Transit's CDN.

Installation

brew tap transitapp/image-upload-transit https://github.com/TransitApp/image-upload-transit
brew install image-upload-transit

Usage

# Upload single file
image-upload-transit screenshot.png

# Upload multiple files
image-upload-transit photo1.jpg photo2.png video.mp4

Supported Formats

Images (max 25 MB): jpg, jpeg, png, gif, webp, avif, heic, bmp, tiff, svg

Videos (max 100 MB): mp4, mov, webm

First Run

On first run, you'll need:

  1. 1Password CLI installed and signed in
  2. Access to the Transit 1Password Shared vault

The tool will fetch credentials from 1Password and cache them locally.

Development

# Run tests
python3 -m pytest tests/ -v

# Lint
ruff check image_upload_transit.py