
Hibira Realtime makes your site update while people are looking at it. It uses Hibira, a hosted realtime service that speaks the Pusher Channels protocol, so your server never holds WebSocket connections open. Pages stay cacheable.
[hibira_readers] shortcode or hibira_readers() template tag.hibira_trigger( $channels, $event, $data ) sends your own events, and HibiraWP.pusher() in the browser subscribes to them. Private and presence channels are signed by /wp-json/hibira/v1/auth and decided by the hibira_authorize_channel filter.Hibira’s free plan (no card) covers a typical blog: 100 concurrent connections and 200,000 messages a day.
This plugin connects to Hibira (ws.hibira.io by default, or the host you set):
Hibira’s terms and privacy policy.
The plugin’s source, with its tests, is at github.com/hibira-io/wordpress.
assets/vendor/pusher.min.js is the minified build of [pusher-js](https://github.com/pusher/pusher-js) 8.6.0 (MIT), unchanged except for the removed source map comment. Its source is at [github.com/pusher/pusher-js](https://github.com/pusher/pusher-js), and the same file can be built with `npm install [email protected]` (`dist/web/pusher.min.js`).