WP Manifestindependent plugin directory
manifest / media / offload-media-to-hetzner-storage

Offload to Hetzner Storage

Offload WordPress media to Hetzner S3 compatible storage

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/mklasen/offload-media-to-hetzner-storage/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Hetzner Offload

A WordPress plugin that offloads media files to Hetzner's S3-compatible storage.

Requirements

  • PHP 7.4 or higher
  • WordPress 5.0 or higher
  • Composer

Installation

  1. Clone this repository into your WordPress plugins directory:

    cd wp-content/plugins
    git clone https://github.com/your-username/hetzner-offload.git
  2. Install dependencies using Composer:

    cd hetzner-offload
    composer install
  3. Activate the plugin through the WordPress admin interface.

Configuration

Add the following constants to your wp-config.php file:

define('HETZNER_STORAGE_ENDPOINT', 's3.your-region.hetzner.cloud');
define('HETZNER_STORAGE_ACCESS_KEY', 'your-access-key');
define('HETZNER_STORAGE_SECRET_KEY', 'your-secret-key');
define('HETZNER_STORAGE_BUCKET', 'bucket-name');

Replace the values with your Hetzner storage credentials.

Features

  • Automatically offloads uploaded media files to Hetzner storage
  • Maintains WordPress media library integration
  • Supports image srcset for responsive images
  • Secure file handling with proper access controls

License

This plugin is licensed under the GPL v2 or later. # offload-media-to-hetzner-storage