{"id":406272,"date":"2026-11-17T10:20:52","date_gmt":"2026-11-17T10:20:52","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/peerkit-chat\/"},"modified":"2026-11-17T10:20:18","modified_gmt":"2026-11-17T10:20:18","slug":"peerkit-chat","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/peerkit-chat\/","author":23592602,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.6","stable_tag":"0.1.6","tested":"7.1.4","requires":"6.5","requires_php":"8.1","requires_plugins":null,"header_name":"PeerKit Chat","header_author":"RazorSoft, Inc.","header_description":"Embed PeerKit text chat with a block and a shortcode. The API key stays on the server.","last_updated":"2026-11-17 10:20:18","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/peerkit.dev\/components\/chat","header_author_uri":"https:\/\/razorsoftinc.com","rating":0,"author_block_rating":0,"active_installs":0,"downloads":44,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.6":{"tag":"0.1.6","author":"razorsoftinc","date":"2026-11-17 10:20:18","revision":3807063}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3807061,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3807061,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3807061,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3807061,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3807061,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"peerkit\/chat":{"name":"peerkit\/chat","title":"PeerKit Chat"}},"tagged_versions":["0.1.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3807061,"resolution":"1","location":"assets","locale":"","width":640,"height":172},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3807061,"resolution":"2","location":"assets","locale":"","width":640,"height":306},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3807061,"resolution":"3","location":"assets","locale":"","width":640,"height":453},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3807061,"resolution":"4","location":"assets","locale":"","width":1000,"height":720}},"screenshots":{"1":"Private conversation ready to start on a WordPress page.","2":"Live chat waiting for the other participant, with Invite someone and conversation actions.","3":"Invitation panel with a copyable WordPress invitation link and optional email.","4":"Settings \u2192 PeerKit Chat connection status, API key storage, and who-can-join controls."}},"plugin_section":[],"plugin_tags":[5707,2512,47687,293368,3518],"plugin_category":[41],"plugin_contributors":[288904],"plugin_business_model":[],"class_list":["post-406272","plugin","type-plugin","status-publish","hentry","plugin_tags-chat","plugin_tags-messaging","plugin_tags-peer-to-peer","plugin_tags-peerkit","plugin_tags-realtime","plugin_category-communication","plugin_contributors-razorsoftinc","plugin_committers-razorsoftinc"],"banners":{"banner":"https:\/\/ps.w.org\/peerkit-chat\/assets\/banner-772x250.png?rev=3807061","banner_2x":"https:\/\/ps.w.org\/peerkit-chat\/assets\/banner-1544x500.png?rev=3807061","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/peerkit-chat\/assets\/icon.svg?rev=3807061","icon":"https:\/\/ps.w.org\/peerkit-chat\/assets\/icon.svg?rev=3807061","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/peerkit-chat\/assets\/screenshot-1.png?rev=3807061","caption":"Private conversation ready to start on a WordPress page."},{"src":"https:\/\/ps.w.org\/peerkit-chat\/assets\/screenshot-2.png?rev=3807061","caption":"Live chat waiting for the other participant, with Invite someone and conversation actions."},{"src":"https:\/\/ps.w.org\/peerkit-chat\/assets\/screenshot-3.png?rev=3807061","caption":"Invitation panel with a copyable WordPress invitation link and optional email."},{"src":"https:\/\/ps.w.org\/peerkit-chat\/assets\/screenshot-4.png?rev=3807061","caption":"Settings \u2192 PeerKit Chat connection status, API key storage, and who-can-join controls."}],"raw_content":"<!--section=description-->\n<p>PeerKit Chat embeds two-person text chat on any WordPress page or post. Add the Gutenberg block <code>peerkit\/chat<\/code>, or use the <code>[peerkit_chat]<\/code> shortcode. Visitors join a live PeerKit data session. The public page loads the bundled PeerKit Chat Core script and does not use React.<\/p>\n\n<p><strong>What this plugin does<\/strong><\/p>\n\n<ul>\n<li>Open rooms for the first two visitors, or private conversations with a WordPress invitation link<\/li>\n<li>Match your theme colors, or customize appearance in the block inspector<\/li>\n<li>Keep the PeerKit project API key on the server \u2014 encrypted in WordPress, or set with <code>PEERKIT_CHAT_API_KEY<\/code> in <code>wp-config.php<\/code><\/li>\n<li>Optional invitation email through WordPress <code>wp_mail()<\/code><\/li>\n<\/ul>\n\n<p>Messages travel peer-to-peer on the PeerKit data channel while both people are connected. PeerKit does not store the conversation transcript.<\/p>\n\n<p><strong>Powered by PeerKit<\/strong><\/p>\n\n<p>PeerKit is a platform for real-time peer-to-peer experiences. Beyond this WordPress plugin, PeerKit provides developer SDKs and ready-to-use components for messaging, file sharing, voice, video calling, and local recording. See <a href=\"https:\/\/peerkit.dev\/\">peerkit.dev<\/a> and the <a href=\"https:\/\/peerkit.dev\/components\/chat\">Chat component<\/a>.<\/p>\n\n<p>This plugin is the WordPress interface to PeerKit Chat. Other PeerKit components and SDKs are available separately for custom applications.<\/p>\n\n<p>See a short PeerKit Chat walkthrough on the Chat component page: https:\/\/peerkit.dev\/components\/chat<\/p>\n\n<p>PeerKit product information: https:\/\/peerkit.dev\/\nPeerKit docs: https:\/\/peerkit.dev\/docs\nPeerKit pricing (free plan available; paid plans optional): https:\/\/peerkit.dev\/pricing\nPeerKit contact: https:\/\/peerkit.dev\/contact\nPeerKit Terms of Service: https:\/\/peerkit.dev\/terms\nPeerKit Privacy Policy: https:\/\/peerkit.dev\/privacy<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>peerkit-chat<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the ZIP from Plugins \u2192 Add New \u2192 Upload Plugin.<\/li>\n<li>Activate PeerKit Chat.<\/li>\n<li>Create a PeerKit project and API key (<code>pk_live_\u2026<\/code>) in the <a href=\"https:\/\/peerkit.dev\/\">PeerKit dashboard<\/a>.<\/li>\n<li>Open Settings \u2192 PeerKit Chat, paste the project API key (or define <code>PEERKIT_CHAT_API_KEY<\/code> in <code>wp-config.php<\/code>), and save to test the connection.<\/li>\n<li>Add the PeerKit Chat block, or <code>[peerkit_chat mode=\"private\" appearance=\"match\"]<\/code>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20messages%20go%3F\"><h3>Where do messages go?<\/h3><\/dt>\n<dd><p>They move on the PeerKit data channel between the two joined browsers. PeerKit does not store the conversation.<\/p><\/dd>\n<dt id=\"can%20more%20than%20two%20people%20join%3F\"><h3>Can more than two people join?<\/h3><\/dt>\n<dd><p>No. A data session has one publisher seat and one viewer seat. A third visitor is asked to wait until the session ends.<\/p><\/dd>\n<dt id=\"does%20the%20public%20page%20need%20react%3F\"><h3>Does the public page need React?<\/h3><\/dt>\n<dd><p>No. React is only inside the WordPress block editor, which already uses it.<\/p><\/dd>\n<dt id=\"which%20external%20services%20does%20this%20plugin%20use%3F\"><h3>Which external services does this plugin use?<\/h3><\/dt>\n<dd><p>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 (<code>https:\/\/api.peerkit.dev<\/code> 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.<\/p>\n\n<p>The public chat page loads a bundled copy of the PeerKit Chat Core script (<code>@peerkit-dev\/chat-core<\/code> 0.1.2, shipped as <code>assets\/vendor\/chat-core\/element.global.js<\/code> with its license notices). Joined browsers then connect to PeerKit signaling (<code>media.peerkit.dev<\/code>) with a short-lived participant token. Message contents travel peer-to-peer on the PeerKit data channel; PeerKit does not store the conversation transcript.<\/p>\n\n<p>Optional invitation email uses WordPress <code>wp_mail()<\/code> when the host chooses to send one. The invitation link points back to this WordPress site.<\/p>\n\n<p>PeerKit product information: https:\/\/peerkit.dev\/\nPeerKit docs: https:\/\/peerkit.dev\/docs\nPeerKit pricing (free plan available; paid plans optional): https:\/\/peerkit.dev\/pricing\nPeerKit contact: https:\/\/peerkit.dev\/contact\nPeerKit Terms of Service: https:\/\/peerkit.dev\/terms\nPeerKit Privacy Policy: https:\/\/peerkit.dev\/privacy<\/p><\/dd>\n<dt id=\"does%20chat%20work%20without%20a%20peerkit%20account%3F\"><h3>Does chat work without a PeerKit account?<\/h3><\/dt>\n<dd><p>No. An administrator needs a PeerKit project API key (<code>pk_live_\u2026<\/code>) from the PeerKit dashboard. The WordPress plugin itself is free. PeerKit offers a free plan and optional paid plans for organization minutes and limits.<\/p><\/dd>\n<dt id=\"what%20is%20the%20difference%20between%20an%20open%20room%20and%20a%20private%20conversation%3F\"><h3>What is the difference between an open room and a private conversation?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n<dt id=\"how%20does%20peerkit%20chat%20relate%20to%20the%20rest%20of%20peerkit%3F\"><h3>How does PeerKit Chat relate to the rest of PeerKit?<\/h3><\/dt>\n<dd><p>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<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.6<\/h4>\n\n<ul>\n<li>Keep the conversation actions menu over the chat instead of pushing messages down.<\/li>\n<li>Make invitation-link copying clearer with a compact Copy control beside the link, and keep the menu action.<\/li>\n<\/ul>\n\n<h4>0.1.5<\/h4>\n\n<ul>\n<li>Satisfy WordPress Plugin Check input handling, uninstall naming, and translation loading guidance for WordPress.org.<\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<ul>\n<li>Use a compact chat composer, header, and conversation menu. Invitation sharing stays behind Invite someone, and End still asks for confirmation.<\/li>\n<li>An invited guest joins the host's PeerKit session. A guest who never connected, or whose browser has been gone through the reconnect grace period, no longer blocks the next person with the invitation.<\/li>\n<li>Closing the page releases the browser lock and starts that grace period. Leave, a live guest, a second tab, and an ended invitation are still rejected.<\/li>\n<li>Heartbeats and seat checks use their own rate limits, and a rate-limited seat check is not retried.<\/li>\n<li>Bundle Theme Adapter 0.1.1 for Match my site, and cache-bust plugin CSS and JavaScript when those files change.<\/li>\n<li>Ship <code>@peerkit-dev\/chat-core<\/code> 0.1.2 inside the plugin instead of loading it from jsDelivr.<\/li>\n<li>Correct the send control icon size, centering, and disabled contrast.<\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>Style conversation buttons from the WordPress theme, with inspector controls for button colors, border, radius, and size.<\/li>\n<li>Add private conversations with a WordPress invitation link, and keep existing blocks as open rooms.<\/li>\n<li>Let the host leave, rejoin, or end the conversation. Ending closes the PeerKit session and invalidates the invitation.<\/li>\n<li>Expire invitation links, and end PeerKit sessions that have been idle so the quota can be released.<\/li>\n<li>Let the host email an invitation with wp_mail(). The link still works when mail is not sent.<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Chat follows the connection state signaling already reached, instead of staying on Connecting after the socket opens.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Public chat no longer sends a WordPress REST nonce without the login cookie.<\/li>\n<li>An occupied seat stays with its participant until that visitor leaves, and the same browser can reconnect.<\/li>\n<li>The two participants keep distinct seats for the life of the session.<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>First release. Settings, block, shortcode, and server-side invitations.<\/li>\n<\/ul>","raw_excerpt":"PeerKit Chat brings real-time conversations to WordPress, powered by the PeerKit platform for peer-to-peer experiences.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/406272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=406272"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/razorsoftinc"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=406272"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=406272"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=406272"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=406272"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=406272"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=406272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}