# PicGo Plugin for Cloudflare R2

This plugin enables PicGo to upload images to Cloudflare R2 storage.

## Features

- Upload images to Cloudflare R2 buckets
- Customize storage path
- Use custom domain for image URLs

## Installation

1. Open PicGo
2. Go to "PicGo Settings" -> "Plugin Settings"
3. Search for "cloudflare-r2"
4. Click "Install"

## Configuration

You need to configure the following settings in PicGo:

- **Account ID**: Your Cloudflare account ID
- **AccessKey ID**: R2 access key ID
- **SecretAccessKey**: R2 secret access key
- **Bucket name**: Name of your R2 bucket
- **Storage path** (optional): Custom path within the bucket
- **Custom domain**: Domain for accessing your images

## Usage

After configuration, select "Cloudflare R2" as your image hosting service in PicGo.

## Support

If you encounter any issues or have questions, please open an issue on the GitHub repository.

## License

[MIT License](LICENSE)
