Skip to content

sooluh/minio-cdn

Repository files navigation

MinIO CDN

Serve S3 MinIO files like Cloudflare R2.
It's very lightweight and fast, powered by Bun.

Requirements

  • Bun >= 1.1.x

Getting Started

  1. Clone this repository

    git clone https://github.com/sooluh/minio-cdn.git
  2. Move to the repository dir

    cd minio-cdn
  3. Install dependencies

    bun install
  4. Run it!

    bun src/app.ts

    Need a watch mode (hot reload) that's super fast?

    bun --watch src/app.ts

Docker

  1. Build image

    docker build -t minio-cdn .
  2. Run it!

    docker run -d \
     -e MINIO_ACCESS_KEY='' \
     -e MINIO_SECRET_KEY='' \
     -e MINIO_BUCKET_NAME='app'
     -e MINIO_ENDPOINT='10.10.20.1' \
     -e MINIO_PORT='9000' \
     -e MINIO_USE_SSL='false' \
     -p 3000:3000 \
     minio-cdn

License

This project is licensed under MIT License.

Discalimer

This project is not officially maintained by MinIO. MinIO trademarks and logo are the property of MinIO, Inc.

About

🦖 Serve S3 MinIO files like Cloudflare R2.

Resources

License

Stars

Watchers

Forks

Releases

No releases published