Open Collective
Open Collective

Website Builder Plugin

PROJECT
Part of: Strapi

A plugin for Strapi Headless CMS that provides the ability to trigger website builds manually, periodically or through model events.

Budget


Transparent and open finances.

View all transactions
Financial contribution to Website Builder Plugin

Credit from Benjamin Yee to Website Builder Plugin using a Gift Card from Strapi

+$5.00USD
Completed
Contribution #533219
Financial contribution to Website Builder Plugin

Credit from Roman Walters to Website Builder Plugin using a Gift Card from Strapi

+$10.00USD
Completed
Contribution #529085
Financial contribution to Website Builder Plugin

Credit from Mr Tung to Website Builder Plugin using a Gift Card from Strapi

+$10.00USD
Completed
Contribution #527742
$
Today’s balance

$22.50 USD

Total raised

$22.50 USD

Total disbursed

--.-- USD

Estimated annual budget

$25.00 USD

About


A plugin for Strapi that provides the ability to trigger website builds manually, periodically or through model events.

Requirements

The installation requirements are the same as Strapi itself and can be found in the documentation on the Quick Start page in the Prerequisites info card.

Supported Strapi versions

  • v4.x.x
NOTE: While this plugin may work with the older Strapi versions, they are not supported, it is always recommended to use the latest version of Strapi.


Installation

npm install strapi-plugin-website-builder
or

yarn add strapi-plugin-website-builder

Configuration

The plugin configuration is stored in a config file located at ./config/plugins.js.

The plugin has different structures depending on the type of trigger for the build. Each of the following sample configurations is the minimum needed for their respective trigger type.

Manual Configuration

module.exports = ({ env }) => ({
  // ...
 'website-builder': {
    enabled: true,
    config: {
      url: 'https://link-to-hit-on-trigger.com',
      trigger: {
        type: 'manual',
      },
    }
  },
  // ...
});

Cron/Periodic Configuration

module.exports = ({ env }) => ({
  // ...
 'website-builder': {
    enabled: true,
    config: {
      url: 'https://link-to-hit-on-trigger.com',
      trigger: {
        type: 'cron',
        cron: '* * 1 * * *',
      },
    }
  },
  // ...
});

Event Configuration

module.exports = ({ env }) => ({
  // ...
 'website-builder': {
    enabled: true,
    config: {
      url: 'https://link-to-hit-on-trigger.com',
      trigger: {
        type: 'event',
        events: [
          {
            model: 'recipes',
            types: ['create', 'delete'],
          },
        ],
      },
    }
  },
  // ...
});
IMPORTANT NOTE: Make sure any sensitive data is stored in env files.

Usage

Once the plugin has been installed and configured, it will show in the sidebar as Website Builder. To trigger a manual build select the Website Builder menu item in the sidebar and click the Trigger Build button to start a build process.

Contribute


Become a financial contributor.

Financial Contributions

Custom contribution
Donation
Make a custom one-time or recurring contribution.

Latest activity by


Website Builder Plugin is all of us

Our contributors 4

Thank you for supporting Website Builder Plugin.

Strapi

$25 USD

Mr Tung

$10 USD