Morpheus is a service designed to ensure uninterrupted access to WordPress updates by mirroring the WordPress.org repository. If your WordPress site encounters difficulties connecting to WordPress.org for updates, Morpheus seamlessly steps in, providing identical updates from our mirrored server. It serves as a reliable backup solution for your WordPress update process. Click here to download the plugin
-
Clone the repository:
git clone https://github.com/blogvault/morpheus.git cd morpheus -
Install dependencies:
bundle install -
Set up the configuration:
- Copy
config/config.example.ymltoconfig/config.yml - Update the values in
config/config.ymlaccording to your environment
- Copy
-
Set up Redis:
- Ensure Redis is installed and running
- Update the Redis configuration in
config/config.yml
-
Start the Sinatra application:
ruby app.rb -
Start Sidekiq:
bundle exec sidekiq -r ./job.rb
To use Morpheus with your WordPress site:
- Install the Morpheus plugin on your WordPress site from here.
- The plugin will connect to WordPress.org for updates by default.
- If the connection to WordPress.org fails, the plugin will automatically switch to Morpheus.
- Updates will be pulled from the Morpheus mirror server instead.
Morpheus now supports custom plugins hosted on external platforms like GitHub. To add a custom plugin:
-
Edit
config/custom_plugins.yaml -
Add your custom plugin configuration. For example:
- slug: advanced-custom-fields system: github owner: AdvancedCustomFields repo: acf frequency: 60
This configuration will fetch updates for the Advanced Custom Fields (ACF) plugin from its GitHub repository every 60 minutes.
This feature was suggested by Imran Siddiq of WebSquadron
- Morpheus currently only supports the core WordPress updates API and custom plugin updates from GitHub.
- At present, only English-language updates are supported.
- The focus is strictly on updates; installation of plugins and themes is not yet supported.
- Support for updates in multiple languages.
- Expansion to handle plugin installations and theme updates.
- Full support for the entire WordPress API.
Morpheus is released under the MIT License.