The WPFolks app is out on iPhone and Android. Free, no ads. Download on the App Store Get it on Google Play
Skip to main content
Login Join
Free

WordSocket

WordSocket banner
1 rating
5.0
Last updated
2 weeks ago
Version
0.31.0
Tested up to
WP 7.1.5

About this plugin

WordSocket sends realtime events from your WordPress site to connected browsers.
When content changes: a post is published, a comment is approved, an option is updated: the plugin pushes the event to subscribers instantly via WebSocket (with SSE fallback).

When real-time collaboration is available (currently through the Gutenberg plugin), WordSocket also registers as a WebSocket-based Yjs sync provider for realtime collaborative editing in the block editor, replacing the default HTTP polling transport with a low-latency WebSocket connection.

WPSignal is an independent service and is not affiliated with or endorsed by the WordPress project.

Features:

  • One-click automatic connection via the WPSignal dashboard (no API key required)
  • Manual connection via API key for advanced setups
  • Disconnect button with inline confirmation: the site is archived on the server, its usage history is kept, and reconnecting the same URL restores it
  • WebSocket-first with automatic SSE fallback
  • Per-site JWT signing secrets: each site’s connection tokens are cryptographically isolated
  • AES-256-GCM encrypted event payloads: the WPSignal relay never has access to their plaintext
  • Admin toggle to disable the collaboration provider and fall back to Gutenberg’s HTTP polling
  • Built-in triggers for post updates and custom post types
  • Custom trigger builder: map any WordPress action hook to a realtime event
  • Public JavaScript API (window.WPS) for themes and plugins to share the connection
  • Extensible connection token: wpsignal_token_channels and wpsignal_token_channel_prefixes filters let other plugins add channels and namespace permissions to the JWT without modifying core
  • Admin explorer page with live event log, publish form, and token inspector
  • Short-lived JWTs (5 min) with automatic refresh

How it works:

  1. Install the plugin and connect to the WPSignal service.
  2. When content changes in WordPress, the plugin encrypts and publishes an HMAC-signed event to the WPSignal server.
  3. The server pushes the ciphertext to all browsers subscribed to that channel.
  4. The browser decrypts the payload and dispatches wpsignal:* DOM events. The relay never sees the payload’s plaintext.
  5. When real-time collaboration is available on the site, the block editor uses the same WebSocket connection for collaborative editing with no extra configuration.

Real-Time Collaboration

WordSocket ships a WebSocket sync provider for the block editor’s real-time collaboration feature. Three things need to be true for it to activate:

  1. The Gutenberg plugin is active. Real-time collaboration was removed from WordPress core before the 7.0 release and is only available through the Gutenberg plugin.
  2. Real-time collaboration is enabled under Gutenberg > Experiments > Enable real-time collaboration (Gutenberg 23.8 and later; earlier versions used Settings > Writing).
  3. The site is connected to WPSignal, since the provider shares the plugin’s WebSocket connection.

The WordSocket Settings tab shows a “Gutenberg detected” badge when the feature is available on your site. Once active, everything collaboration syncs travels over the WebSocket instead of HTTP polling: document updates, cursors and presence, and collaborative notes. If the connection drops, the provider reconnects with increasing delays; after repeated failures the editor shows its standard “connection lost” dialog, and documents re-sync when the connection returns. If a site’s credentials are revoked, the editor reports an authentication error instead of retrying forever. The site editor does not use sync providers (core disables collaboration there). Disabling the provider from the Settings tab restores Gutenberg’s HTTP polling for all editors.

Third-Party Service

This plugin connects to the WPSignal service at api.wpsignal.io for the following operations:

  • Site registration: when you connect in the admin (via the automatic one-click flow or by entering an API key manually), the plugin registers your site with the server and receives credentials.
  • Event publishing: when a trigger fires (e.g. a post is saved), the plugin sends an encrypted, HMAC-signed HTTP request to the server.
  • Realtime connections: logged-in users’ browsers connect to the server via WebSocket or SSE to receive events.
  • Collaborative editing: when real-time collaboration is enabled through the Gutenberg plugin, editors’ browsers relay Yjs document updates (binary diffs of the post being edited), cursors and presence to each other through the server, over the same WebSocket.

Event payloads are AES-256-GCM encrypted before leaving WordPress, so the WPSignal server relays ciphertext and never has access to their plaintext. Collaborative editing updates are not encrypted: the server could read them, though it only forwards them and never parses or stores them. Data is delivered in realtime and is not persisted on the server.

Setup

Showcase

Below are a few examples showcasing the possibilities with WP Signal + WordSocket. Repository https://github.com/wpsignal/wordsocket-examples

Living Posts – Interactivity API

Source code: https://github.com/wpsignal/wordsocket-examples

Bidirectional Realtime Chat Plugin

Realtime Poker Plugin

Open Source

https://github.com/wpsignal/wordsocket

Third-party libraries

The browser client bundles @noble/ciphers (MIT, audited) for AES-256-GCM decryption on plain HTTP pages, where browsers do not offer SubtleCrypto. It is compiled into build/client.js by npm run build.

Screenshots

Analytics

Live from WordPress.org, refreshed daily. Last refresh Nov 25, 2026.

  • Passes every health check below.
3/3

Health checks

Everything a careful site owner looks at before installing.

  • Actively maintained Last release 2 weeks ago
  • Tested with current WordPress Tested up to 7.1.5
  • Support questions answered Nothing open in the last two months
  • Well rated Only 1 rating so far
Active installs
Fewer than 10 WordPress.org rounds this down
This week
48 downloads +66% vs the week before
Last 30 days
284 downloads 5 a day, typically
All time
1.9k downloads On WordPress.org since 2026
Downloads per week Every update counts as a download on WordPress.org, so release weeks spike.
Latest week
48
Typical week
39
Peak
193 Week of Sep 16
View as table
WeekDownloads
Week of Nov 1848
Week of Nov 1129
Week of Nov 4165
Week of Oct 2832
Week of Oct 2171
Week of Oct 14150
Week of Oct 730
Week of Sep 3085
Week of Sep 23128
Week of Sep 16193
Week of Sep 9119
Week of Sep 216
Week of Aug 2614
Week of Aug 1917
Week of Aug 1264
Week of Aug 527
Week of Jul 2950
Week of Jul 2215
Week of Jul 1567
Week of Jul 814
Week of Jul 19
Week of Jun 2410
Week of Jun 1711
Week of Jun 1020
Week of Jun 357
Week of May 2725
Week of May 2023
Week of May 1346
Week of May 660
Week of Apr 2952
Week of Apr 2213
Week of Apr 1524
Week of Apr 870
Week of Apr 1101
Where it stands Rank among the plugins WPFolks tracks every day.

Not ranked yet. Install, download and rating ranks cover the 5,000 most popular plugins on WordPress.org, and Trending needs about 100 downloads on a typical day.

Active installs over time Recorded by WPFolks every day since Oct 14, 2026.

Reviews

5.0 1 rating on WordPress.org
  • 5 1
  • 4 0
  • 3 0
  • 2 0
  • 1 0

From folks on WPFolks

No reviews from folks yet. Used it? Be the first to say how it went.

Log in to leave a review

Latest on WordPress.org

[WordSocket] RTC works great!
Anonymous User · March 30, 2026 · 1 reply

Works as described. Would like to see more plugins showcasing its ability, right now this is great for WordPress developers, but not particularly useful for non-technical folks. This topic was modified 7 months, 1 week ago by anonymized-23457997.

Proudly supported by