# typora-img-uploader-r2 Upload images to R2 using Typora. ``` bash:.env .env R2_ENDPOINT = 'https://your-endpoint-url' R2_BUCKET_NAME= 'bucket name' R2_ACCESS_KEY_ID = 'access key' R2_SECRET_ACCESS_KEY = 'securet access key' R2_CUSTOM_URL = 'https://custom.domain/' ``` ## Usage ```python upload.py --image-path ```