Skip to content
/ r2ls Public

A simple API to return a list of keys on a Cloudflare R2 bucket.

License

Notifications You must be signed in to change notification settings

laiki-me/r2ls

Repository files navigation

r2ls

A simple API to return a list of keys on a Cloudflare R2 bucket.

Get started

  1. Sign up for Cloudflare Workers. The free tier is more than enough for most use cases.
  2. Clone this project and install dependencies with bun install. Alternatively, delete the bun.lockb file and use npm install if you prefer.
  3. Setup the bindings in wrangler.toml. Use the wrangler.example.toml file as a template.
  4. Run wrangler login to login to your Cloudflare account in wrangler
  5. Run wrangler deploy to publish the API to Cloudflare Workers

Development

Run wrangler remote to start the project in a way that will allow you to access the bucket remote bucket.

Releases

No releases published

Packages

No packages published