Skip to content

WordPress plugin that syncs your media files to your Digital Ocean Spaces Bucket

Notifications You must be signed in to change notification settings

paulcushing/spaces-sync

Repository files navigation

Spaces Sync

This WordPress plugin syncs your media library with DigitalOcean Spaces Container and optionally compresses and resizes them.

Description

This WordPress plugin syncs your media library with DigitalOcean Spaces Container. It allows you to simuntanously upload and delete files, replacing public media URL with relative cloud storage links. You can keep local copy of the files, or delete them and keep files only in your Digital Ocean Space.

In order to use this plugin, you'll need a DigitalOcean Spaces API key. Sign up for an account, then visit Applications & API and click Generate New Key.

In addition to syncing to your bucket, there are also options for "on-the-fly" image processing. Select a value for compressing images as you upload, and set a max width and height. Combined with the power of the Digital Ocean CDN, this will ensure you have incredibly fast image downloads to the client.

Installation

Developers

Option A. (remote development)
  1. Clone the repo.
  2. Run npm install to install Prettier for some nice formatting help.
  3. Run composer install to install the PHP dependencies.
  4. Make any changes as desired.
  5. Run ./pack-for-deploy.sh from the root folder to create the installable zip file.
  6. Install the zip file via the WordPress plugin installer.
Option B. (local development)
  1. Clone the repo into the plugins folder in your WordPress environment
  2. Run npm install to install Prettier for some nice formatting help.
  3. Run composer install to install the PHP dependencies.
  4. Activate the plugin via the WordPress plugin installer.

Non-Developers

  1. Download the space-sync.zip file from this repo.
  2. Install the zip file via the WordPress plugin installer.

About

WordPress plugin that syncs your media files to your Digital Ocean Spaces Bucket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published