| 开发者 | razorsoftinc |
|---|---|
| 更新时间 | 2026年11月17日 18:20 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | MIT |
| 版权网址: | 版权信息 |
peerkit/chat, or use the [peerkit_chat] shortcode. Visitors join a live PeerKit data session. The public page loads the bundled PeerKit Chat Core script and does not use React.
What this plugin does
PEERKIT_CHAT_API_KEY in wp-config.phpwp_mail()peerkit-chat folder to /wp-content/plugins/, or install the ZIP from Plugins → Add New → Upload Plugin.pk_live_…) in the PeerKit dashboard.PEERKIT_CHAT_API_KEY in wp-config.php), and save to test the connection.[peerkit_chat mode="private" appearance="match"].They move on the PeerKit data channel between the two joined browsers. PeerKit does not store the conversation.
No. A data session has one publisher seat and one viewer seat. A third visitor is asked to wait until the session ends.
No. React is only inside the WordPress block editor, which already uses it.
This plugin is an interface to the PeerKit hosted service. After an administrator saves a PeerKit project API key and tests the connection, WordPress calls the PeerKit API (https://api.peerkit.dev by default) to register this site origin, create or resume data sessions, issue short-lived invitations, and end idle sessions. Those requests send the server-side API key and session metadata. They do not send WordPress passwords.
The public chat page loads a bundled copy of the PeerKit Chat Core script (@peerkit-dev/chat-core 0.1.2, shipped as assets/vendor/chat-core/element.global.js with its license notices). Joined browsers then connect to PeerKit signaling (media.peerkit.dev) with a short-lived participant token. Message contents travel peer-to-peer on the PeerKit data channel; PeerKit does not store the conversation transcript.
Optional invitation email uses WordPress wp_mail() when the host chooses to send one. The invitation link points back to this WordPress site.
PeerKit product information: https://peerkit.dev/
PeerKit docs: https://peerkit.dev/docs
PeerKit pricing (free plan available; paid plans optional): https://peerkit.dev/pricing
PeerKit contact: https://peerkit.dev/contact
PeerKit Terms of Service: https://peerkit.dev/terms
PeerKit Privacy Policy: https://peerkit.dev/privacy
No. An administrator needs a PeerKit project API key (pk_live_…) from the PeerKit dashboard. The WordPress plugin itself is free. PeerKit offers a free plan and optional paid plans for organization minutes and limits.
An open room lets the first two visitors talk without an invitation. A private conversation admits only the person who starts it and the person who opens their invitation link. The host can copy that link or email it. Leaving keeps the conversation open. Ending it, which only the host can do, asks for confirmation, then closes the PeerKit session and invalidates the link. Existing blocks stay open rooms. New blocks start as private conversations. New blocks match the active theme. Existing color choices are kept until the block's Appearance setting is changed. Buttons stay compact.
This plugin embeds PeerKit Chat on WordPress. PeerKit also ships JavaScript, Web Component, and React packages for Chat, Share, Voice, Call, and Record, plus an SDK for creating sessions from your own backend. Those packages are separate from this plugin. See https://peerkit.dev/ and https://peerkit.dev/docs
@peerkit-dev/chat-core 0.1.2 inside the plugin instead of loading it from jsDelivr.