Sends a change event to Hibira, a Pusher-compatible realtime service, whenever watched collections or globals are created, updated or deleted. It registers as a Payload plugin and includes a Next.js component that re-renders server components when content changes. A client helper built on pusher-js supports other frontends. Requires Payload 3 and Hibira credentials.
Live content updates for Payload CMS on Hibira (Pusher-compatible): publish, update and delete events from collections and globals, and a Next.js component that refreshes the page when its content changes.
Installation
npm i @hibira-io/payload0
Stars
0
Forks
0
Open Issues
1 weeks ago
Last Updated
15
Weekly Downloads
v0.1.1
npm Version
22.8 KB
Unpacked Size
1
Dependencies
00 since Oct 25
| Date | Stars |
|---|---|
| Dec 6, 2026 | 0 |
| Dec 5, 2026 | 0 |
| Dec 4, 2026 | 0 |
| Dec 3, 2026 | 0 |
| Dec 2, 2026 | 0 |
| Dec 1, 2026 | 0 |
| Nov 30, 2026 | 0 |
| Nov 29, 2026 | 0 |
| Nov 28, 2026 | 0 |
| Nov 27, 2026 | 0 |
| Nov 26, 2026 | 0 |
| Nov 25, 2026 | 0 |
| Nov 24, 2026 | 0 |
| Nov 23, 2026 | 0 |
| Nov 22, 2026 | 0 |
| Nov 21, 2026 | 0 |
| Nov 20, 2026 | 0 |
| Nov 19, 2026 | 0 |
| Nov 18, 2026 | 0 |
| Nov 17, 2026 | 0 |
| Nov 16, 2026 | 0 |
| Nov 15, 2026 | 0 |
| Nov 14, 2026 | 0 |
| Nov 13, 2026 | 0 |
| Nov 12, 2026 | 0 |
| Nov 11, 2026 | 0 |
| Nov 10, 2026 | 0 |
| Nov 9, 2026 | 0 |
| Nov 8, 2026 | 0 |
| Nov 7, 2026 | 0 |
| Nov 6, 2026 | 0 |
| Nov 5, 2026 | 0 |
| Nov 4, 2026 | 0 |
| Nov 3, 2026 | 0 |
| Nov 2, 2026 | 0 |
| Nov 1, 2026 | 0 |
| Oct 31, 2026 | 0 |
| Oct 30, 2026 | 0 |
| Oct 29, 2026 | 0 |
| Oct 28, 2026 | 0 |
| Oct 27, 2026 | 0 |
| Oct 26, 2026 | 0 |
| Oct 25, 2026 | 0 |
15+15 since Oct 31
| Date | Weekly downloads |
|---|---|
| Dec 6, 2026 | 15 |
| Dec 5, 2026 | 13 |
| Dec 4, 2026 | 14 |
| Dec 3, 2026 | 19 |
| Dec 2, 2026 | 24 |
| Dec 1, 2026 | 18 |
| Nov 30, 2026 | 18 |
| Nov 29, 2026 | 15 |
| Nov 28, 2026 | 14 |
| Nov 27, 2026 | 13 |
| Nov 26, 2026 | 9 |
| Nov 25, 2026 | 3 |
| Nov 24, 2026 | 3 |
| Nov 23, 2026 | 3 |
| Nov 22, 2026 | 7 |
| Nov 21, 2026 | 15 |
| Nov 20, 2026 | 21 |
| Nov 19, 2026 | 26 |
| Nov 18, 2026 | 31 |
| Nov 17, 2026 | 37 |
| Nov 16, 2026 | 47 |
| Nov 15, 2026 | 51 |
| Nov 14, 2026 | 46 |
| Nov 13, 2026 | 65 |
| Nov 12, 2026 | 73 |
| Nov 11, 2026 | 82 |
| Nov 10, 2026 | 82 |
| Nov 9, 2026 | 271 |
| Nov 8, 2026 | 544 |
| Nov 7, 2026 | 541 |
| Nov 6, 2026 | 516 |
| Nov 5, 2026 | 502 |
| Nov 4, 2026 | 487 |
| Nov 3, 2026 | 480 |
| Nov 2, 2026 | 281 |
| Nov 1, 2026 | 0 |
| Oct 31, 2026 | 0 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1439914368-root)<a href="https://payloaddirectory.dev/plugins/1439914368-root"><img src="https://payloaddirectory.dev/badge/1439914368-root.svg" alt="Payload Directory"></a>README

Live content for Payload CMS 3 on Hibira, a hosted realtime service that speaks the Pusher Channels protocol. When an editor publishes, updates or deletes something, every open page that shows it refreshes by itself.
change event when watched collections and
globals change, without blocking or failing the save.<LiveRefresh> for Next.js: re-renders the page's server components with
router.refresh() when its content changes. Pages stay static or cached.subscribe() for any other frontend, on pusher-js.Your server never holds a WebSocket open, so it works on Vercel and other serverless hosts.
npm install @hibira-io/payload pusher-js
Create a free app at hibira.io (no card), and
put its credentials in .env:
HIBIRA_APP_ID=
HIBIRA_APP_SECRET=
NEXT_PUBLIC_HIBIRA_APP_KEY=
# NEXT_PUBLIC_HIBIRA_HOST=ws.hibira.io
// payload.config.ts
import { buildConfig } from 'payload';
import { hibiraPlugin } from '@hibira-io/payload';
export default buildConfig({
// ...
plugins: [
hibiraPlugin({
collections: {
posts: true,
products: { fields: ['price', 'stock'] },
},
globals: { header: true },
}),
],
});
Each change goes to these channels:
| Channel | For |
|---|---|
payload-{collection} | lists: any document in the collection |
payload-{collection}-{id} | one document |
payload-global-{slug} | a global |
The event is change:
{ "collection": "products", "id": 12, "operation": "update", "updatedAt": "2026-10-29T08:00:00.000Z", "doc": { "price": 980, "stock": 3 } }
operation is create, update or delete. By default the event carries
no document fields; list the ones you want in fields. Channels are public,
so only list fields any visitor may see. Data larger than 4 KB (the free plan's limit) is left out
and truncated: true is set.
With drafts on, events go out only when the published content changes:
publishing, or saving a published document. drafts: 'all' sends draft
saves too, for admin tools. Unpublishing is not reported.
Options:
| Option | Default | |
|---|---|---|
appId, key, secret | HIBIRA_APP_ID, HIBIRA_APP_KEY or NEXT_PUBLIC_HIBIRA_APP_KEY, HIBIRA_APP_SECRET | credentials |
host, port, useTLS | ws.hibira.io, 443, true | another cluster or a self-hosted server |
collections, globals | none | { slug: true } or { slug: { fields, drafts, channels } } |
channels(doc) | none | more channels per event, such as author-${doc.author} |
prefix | payload | channel name prefix |
wait | true | false sends in the background (may be cut off on serverless) |
enabled | true |
To skip events for one operation, such as an import:
await payload.update({ collection: 'posts', id, data, context: { hibira: false } });
If Hibira cannot be reached, the error is logged with Payload's logger and the save goes through.
// app/(frontend)/posts/[slug]/page.tsx
import { LiveRefresh } from '@hibira-io/payload/react';
export default async function Post({ params }) {
const post = await getPost((await params).slug);
return (
<article>
<LiveRefresh collection="posts" id={post.id} />
<h1>{post.title}</h1>
...
</article>
);
}
<LiveRefresh collection="posts" /> refreshes on any change in the
collection (a list page), and <LiveRefresh global="header" /> on changes
to a global. Several changes within 300 ms (delay) make one refresh. For
your own handling:
'use client';
import { useLiveChanges } from '@hibira-io/payload/react';
useLiveChanges({ collection: 'products', id }, (e) => setStock(e.doc?.stock));
import { connect, subscribe } from '@hibira-io/payload/client';
const pusher = await connect({ key: 'your-app-key' });
const stop = subscribe(pusher, { collection: 'posts' }, (e) => console.log(e.operation, e.id));
Each change is one message, however many pages receive it. Each open page is one connection. The free plan has 100 connections and 200,000 messages a day.
npm test # unit tests
# A real Payload (SQLite) against a Hibira-compatible server:
HIBIRA_E2E_APP_ID=... HIBIRA_E2E_KEY=... HIBIRA_E2E_SECRET=... HIBIRA_E2E_HOST=ws.hibira.io npm test
payload notifications
Notifications collection with channels, per-user subscriptions, read state and optional web push delivery
67141/wk1v3
payload plugin notifications
Recipient-scoped notification inbox collection with optional SSE live updates for Payload 3
6015/wk3v3
payload real time
websocket server that emits real-time events for Payload collection creates and updates
5564/wk30v3
payload push
Adapter-based push notification sending from Payload, with a Firebase Cloud Messaging adapter
5136/wk2v3
payload plugin notifications
In-dashboard notifications for the Payload admin with a live bell that updates over server-sent events
469/wk7v3
payload plugin presets
Save and apply reusable block configurations as presets from the Payload admin blocks drawer
786.7k/wk37v3