Skip to content

TransitApp/image-upload-transit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •