CLI tool for uploading images and videos to Transit's CDN.
brew tap transitapp/image-upload-transit https://github.com/TransitApp/image-upload-transit
brew install image-upload-transit# Upload single file
image-upload-transit screenshot.png
# Upload multiple files
image-upload-transit photo1.jpg photo2.png video.mp4Images (max 25 MB): jpg, jpeg, png, gif, webp, avif, heic, bmp, tiff, svg
Videos (max 100 MB): mp4, mov, webm
On first run, you'll need:
- 1Password CLI installed and signed in
- Access to the Transit 1Password Shared vault
The tool will fetch credentials from 1Password and cache them locally.
# Run tests
python3 -m pytest tests/ -v
# Lint
ruff check image_upload_transit.py