Marketplace

Cloudflare R2

Data & Storage

Cloudflare R2 (S3-compatible) storage.

togo-framework
bash
togo install togo-framework/storage-r2

Install

bash
togo install togo-framework/storage-r2

storage-r2

A Cloudflare R2 driver for togo storage. R2 is S3-compatible, so this uses the AWS S3 SDK pointed at your R2 endpoint. Implements togo.Storage and overrides the default filesystem storage when installed.

Install

bash
togo install togo-framework/storage-r2

Configure (.env)

ini
R2_ACCOUNT_ID=…
R2_ACCESS_KEY_ID=…
R2_SECRET_ACCESS_KEY=…
R2_BUCKET=my-bucket

If the R2 env isn't fully set the plugin no-ops and the default storage stays active.

MIT © togo-framework


<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>