Files
typora-img-uploader-r2/readme.md
T
2025-02-20 14:42:55 +09:00

333 B

typora-img-uploader-r2

Upload images to R2 using Typora.

.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

upload.py --image-path <image path>