Skip to content

MediaLit dual bucket architecture

Choose a tag to compare

@rajat1saxena rajat1saxena released this 06 Feb 10:51
· 57 commits to main since this release
fa995fa

What's New

🗂️ MediaLit Dual Bucket Architecture

MediaLit now uses a dual bucket architecture with separate public and private buckets, making it portable across S3-compatible storage providers.

  • Works with AWS S3, Cloudflare R2, Backblaze B2, and more
  • Reduces vendor lock-in
  • Improves portability across hosting environments

What's MediaLit?

MediaLit is our open-source sister service that adds superpowers on top of vanilla S3 storage.

Migration Required

Steps for migrating both MediaLit and CourseLit

# Replace with appropriate values
DB_CONNECTION_STRING=mongodb://localhost/courselit
MEDIALIT_SERVER=http://localhost:8000
MEDIALIT_APIKEY=apikey
  • Run the migration script
pnpm --filter @courselit/scripts media:refresh --save
  • Re-deploy the app