PerAstra BlockVault – Cloud Block Library for Gutenberg

Description

Save Gutenberg blocks to a personal cloud library and insert them on any WordPress site. PerAstra BlockVault is a block manager for freelancers and agencies who reuse the same components across client sites.

Stop rebuilding the same hero sections, CTAs, pricing tables, and testimonials from scratch on every project. Save once, insert anywhere — no Multisite required.

Stop rebuilding the same sections from scratch on every client site.

Key Features

  • Save any blocks — Select one or more blocks, click save, done.
  • Insert anywhere — Open your library on any WordPress site and insert in one click.
  • Search, filter, and sort — Find blocks by name or category; filter by Favorites or by Collection; sort newest, oldest, or A–Z / Z–A.
  • Favorites (pinning) — Pin your most-used blocks to the top. (Solo plan or higher.)
  • Collections — Group related blocks into named collections for projects or client sites. (Solo plan or higher.)
  • Inline edit — Rename blocks, change categories, add notes, and assign collections without leaving the sidebar.
  • Bulk actions — Multi-select blocks for bulk delete (with confirmation) or duplicate.
  • Keyboard shortcut — Save selected blocks without reaching for the mouse.
  • Content preview — See a text preview of saved blocks before inserting.
  • CSS capture (opt-in) — Optionally extract theme CSS so blocks look identical on other sites. (Pro plan or higher.)
  • Notes — Add private notes to any block for future reference. (Solo plan or higher.)
  • In-plugin sign-up / login — Create a free account or log in right from the settings page — no copy-pasting keys required.
  • Automatic local-to-cloud migration — Any blocks you saved in local mode transfer to your account automatically the first time you connect.
  • Usage meter — See your current block usage against your plan limit at a glance.
  • Works across sites — Connect your account to sync blocks across completely separate WordPress installs.
  • No multisite required — Works on any standard WordPress installation.
  • Block context menu — Right-click any block and choose « Save to BlockVault ».
  • Local mode — Works offline with browser storage when no account is connected.

How it Works

  1. Design a block or section on any WordPress site
  2. Select the blocks in the editor
  3. Click « Save to BlockVault » — name it, categorize it
  4. On another site, open the BlockVault sidebar
  5. Search or browse your library, click Insert

Use Cases

  • Freelancers — Build a library of hero sections, CTAs, pricing tables, and testimonials. Reuse across client projects.
  • Agencies — Share branded components across your team and client sites.
  • Content creators — Save frequently used layouts and insert them instantly.

External Services

When an API key is configured, this plugin connects to the BlockVault cloud API (operated by PerAstra) to sync your block library across sites. The following data is transmitted:

  • Your API key (for authentication)
  • Your site URL (for per-site tracking)
  • Block names, categories, and markup content (when saving or retrieving blocks)

No data is sent when using local mode (no API key configured).

Source Code & Development

The full unminified source and the build tooling required to regenerate the compiled files are both included inside the plugin zip AND hosted publicly on GitHub.

Source vs compiled files

The plugin zip contains both the original source and the compiled output:

  • src/ — original unminified JavaScript (React / JSX) and SCSS source. Everything the UI does is here.
    • src/index.js — editor plugin entry point (registers the sidebar and context-menu integration)
    • src/components/ — sidebar, block list, block item, save modal
    • src/store/@wordpress/data Redux store
    • src/api/ — cloud API client, localStorage fallback, and the router between them
    • src/hooks/, src/utils/ — helpers for selected-block access, color/CSS resolution
    • src/style.scss — sidebar styles
  • build/ — compiled output loaded by WordPress. Not edited by hand. Includes:
    • build/index.js (minified bundle of everything under src/)
    • build/style-index.css and build/style-index-rtl.css (compiled from src/style.scss)
    • build/index.asset.php (auto-generated dependency manifest)

Build requirements

  • Node.js 18 or later
  • npm (comes with Node)

The only build tool is @wordpress/scripts, the official WordPress build wrapper around webpack + Babel. No custom webpack or Babel config is used — the defaults from @wordpress/scripts are used verbatim.

Rebuilding the compiled files

From the plugin directory, run:

npm install
npm run build

That produces the contents of build/ from src/. Other available commands (defined in package.json):

  • npm run start — watch mode during development
  • npm run lint:js — lint JavaScript
  • npm run lint:css — lint SCSS

No PHP compilation is required — all PHP files (perastra-blockvault.php, uninstall.php, includes/*.php) are the original human-readable source.

Captures d’écran

  • The BlockVault sidebar in the Gutenberg editor — save multiple blocks at once, search your library, filter by category or collection.
  • Save modal with all options: name, category, internal notes, and one-click CSS capture so blocks render identically on every site.
  • Your saved block library, with favorites pinned to the top and category tags for quick scanning.
  • In-plugin sign-up and log-in — create a free account and get your API key directly from the WordPress settings page, no copy-pasting required.

Installation

  1. Upload the perastra-blockvault folder to /wp-content/plugins/ (or install from the Plugins screen)
  2. Activate the plugin through the Plugins menu
  3. Open the Gutenberg editor — find BlockVault in the sidebar. You can start saving blocks immediately in local mode.
  4. (Optional) Go to Settings BlockVault and create a free account, or log in with an existing one. Any blocks you already saved locally will be migrated to your account automatically.

FAQ

Do I need an account?

No. Without an account, BlockVault works in local mode — blocks are saved in your browser. Create an account at block-vault.com to sync across sites.

Does it work with any theme?

Yes. BlockVault saves raw Gutenberg block markup, which is theme-independent. When you save a block, BlockVault automatically converts any theme-dependent colors, gradients, and font sizes into inline styles so they look the same on any site regardless of the active theme.

Will my block colors transfer to another site?

Yes. BlockVault automatically resolves palette colors (background, text, border, gradients) and preset font sizes to their actual values at the time you save. This means your blocks keep their exact styling even if the destination site uses a completely different theme or color palette. Custom CSS classes added by third-party plugins or themes are not converted — for best cross-site results, use the built-in Gutenberg color and typography controls.

What about images in blocks?

Images are saved as URLs. When inserting on a different site, you may need to re-upload images to the new site’s media library. Automatic image handling is planned for a future update.

Can I share blocks with my team?

Team sharing is available on the Agency plan. Free and Solo plans are personal libraries.

How is BlockVault different from block-pack plugins like Ultimate Addons for Gutenberg, Kadence Blocks, or GenerateBlocks?

Those plugins add new block types (Info Box, Counter, Pricing Table, etc.) to the Gutenberg inserter. BlockVault doesn’t add new blocks — it saves and syncs the compositions you build. The two are complementary: you build a hero section using UAG, Kadence, or core blocks, then save that composition to your BlockVault library and insert it on any other WordPress site in one click. BlockVault works alongside any block-pack plugin.

How is BlockVault different from WordPress’s built-in Reusable Blocks (now called Synced Patterns)?

Built-in Reusable Blocks are stored in the database of one WordPress site. They cannot be moved to a different WordPress install without exporting and importing. BlockVault stores your blocks in a personal cloud library tied to your account, so you can insert the same block on any WordPress site that has the plugin connected to your account. Built-in Reusable Blocks also « sync » any edit back to every instance, while BlockVault inserts a fresh copy that you’re free to customize per-site.

How is BlockVault different from WordPress Multisite?

Multisite lets you run many WordPress sites from one installation, sharing core, themes, and plugins. It’s powerful for university networks or media chains, but invasive to set up and overkill for freelance work where each client site lives on its own hosting account, its own domain, and often its own theme. BlockVault works on any standard WordPress install — no Multisite required. Your library lives in the cloud, not inside any one WP install.

Does BlockVault work with my page builder (Elementor, Bricks, Beaver Builder, Divi, etc.)?

BlockVault is built specifically for the Gutenberg block editor (the WordPress core editor). Page builders like Elementor and Divi use their own internal data formats, not Gutenberg block markup, so blocks built inside those builders cannot be saved through BlockVault. If you use the Gutenberg editor (with or without additional block plugins like UAG, Kadence, GenerateBlocks, or CoBlocks), BlockVault works.

Who makes this plugin?

PerAstra BlockVault is developed and maintained by PerAstra. The BlockVault cloud service is operated by PerAstra.

Avis

Il n’y a aucun avis pour cette extension.

Contributeurs & développeurs

« PerAstra BlockVault – Cloud Block Library for Gutenberg » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Journal

1.2.1

  • SEO and discoverability improvements: clearer plugin title and description focused on search intent (no functional changes).

1.2.0

  • Security: defensive sanitization of inserted block CSS so a saved style cannot escape its <style> element on insertion.
  • Security: API URL setting is now restricted to the official api.block-vault.com endpoint (or a wp-config-defined override) so a malicious paste cannot redirect API traffic.
  • Security: CSS auto-extraction now only follows same-origin stylesheet URLs, preventing the editor from being used to fetch arbitrary remote URLs.
  • Internal: aligns with paired API security release that adds full server-side block sanitization, license tampering protections on the Paddle webhook, and granular per-API-key rate limiting.

1.1.1

  • Cloud API endpoint moved to the dedicated api.block-vault.com domain (previously a Railway-managed URL). Existing installs are migrated automatically on update.
  • Internal: small refactor of the block-collection sync logic so collection filters always reflect the user’s latest selection without needing a refresh.

1.1.0

  • New: Favorites — pin your most-used blocks to the top (Solo plan and up).
  • New: Collections — group related blocks into named sets, assign blocks from the sidebar or the edit form (Solo plan and up).
  • New: Inline edit — rename blocks, change categories, add notes, and assign collections directly in the sidebar.
  • New: Notes — add private notes to any saved block (Solo plan and up).
  • New: Bulk actions — multi-select blocks to delete (with confirmation dialog) or duplicate.
  • New: Duplicate — clone any saved block in one click.
  • New: Keyboard shortcut — save the current selection without reaching for the mouse.
  • New: CSS capture (opt-in) — fetch the real theme CSS for a block so it renders identically on other sites (Pro plan and up).
  • New: In-plugin account creation / log-in on the settings page — no more copy-pasting an API key.
  • New: Automatic local-to-cloud migration — blocks saved before you connect an account transfer over on your first sync.
  • New: Usage meter in the sidebar showing blocks used vs plan limit.
  • New: Filter the library by Favorites or by Collection.
  • New: Success flash animation when a block is saved or inserted.
  • Improved: Onboarding empty-state with clearer guidance for first-time users.
  • Improved: Plugin renamed to « PerAstra BlockVault » with the perastra-blockvault slug and matching code prefixes.
  • Improved: Admin menu icon replaced with the BlockVault logo.
  • Removed: WordPress.org directory icons are no longer bundled inside the plugin zip.

1.0.0

  • Initial release
  • Save and insert blocks from the editor sidebar
  • Block context menu integration (« Save to BlockVault »)
  • Search, category filter, and sort options (newest, oldest, A-Z, Z-A)
  • Content preview for saved blocks
  • Onboarding guide for new users
  • Local mode with browser storage
  • Cloud mode with API key authentication
  • Admin settings page with API configuration
  • Full internationalization (i18n) support
  • REST API proxy endpoints for cloud communication
  • Proper activation, deactivation, and uninstall cleanup