[WordPress] 外掛分享: Chat for WebIRC

前言介紹

  • 這款 WordPress 外掛「Chat for WebIRC」是 2025-11-17 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-11-18,距離現在已有 100 天。
  • 外掛最低要求 WordPress 6.8 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 8.2 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

jtzl | yoren |

外掛標籤

irc | chat | real-time | Websocket | communication |

內容簡介

總結文案:這個外掛提供一個簡潔的 IRC 客戶端短碼,使用純粹的 JavaScript 編寫。支援與 IRC 伺服器直接的 WebSocket 連接(符合 IRCv3 標準),並包括可選的 WebIRC 閘道。具有安全意識的設置,並提供多項功能如影像分享、客製頭像、智能影像處理等。

1. 這個外掛提供的是什麼功能?
- 影像分享
- 客製頭像
- 智能影像處理
- 記憶體效能優化
- 行動優先的影像上傳界面
- 現代響應式設計
- 行動體驗增強
- 可編輯的暱稱等功能

2. 這個外掛有哪些安全意識的預設設置?
- 伺服器允許清單
- 可選的 WebSocket 子協定
- 可選的 WS 路徑
- 可選的 CSP connect-src 助手
- 輸入清潔與驗證
- 正確的輸出逃逸

3. 這個外插支援哪些 IRC 相關功能?
- 所有 IRC 斜槓命令
- 自動暱稱產生與碰撞處理
- 偵錯記錄與連線狀態指示器
- 可選的內容安全政策 (CSP) 標頭生成

4. 在哪些方面這個外掛具有優勢?
- 輕量的 TypeScript / JavaScript 實現
- 完全響應式的設計與語意 HTML
- 國際化準備
- 可配置的伺服器允許清單
- WebSocket 子協定支援啟動
- 可選的 WebIRC 閘道回退

原文外掛簡介

This plugin provides a shortcode that renders a lightweight IRC client written in vanilla JavaScript. It supports direct WebSocket connections to IRC servers (IRCv3-friendly) and includes an optional WebIRC gateway.
Security-conscious defaults:

Server allow-list (host:port format), WSS (WebSockets over SSL/TLS) only
Optional WebSocket subprotocols (e.g., text.ircv3.net)
Optional WS path (e.g., /webirc)
Optional CSP connect-src helper (off by default)
Input sanitization and validation
Proper escaping of output

Features:

Image Sharing: Upload and share images directly in chat with drag-and-drop support
Custom Avatars: Personalized user avatars with upload, crop, and preview functionality
Smart Image Processing: Automatic optimization, resizing, and format conversion (WebP support)
Performance Optimized: Memory-efficient processing with caching and lazy loading
Mobile-First Images: Touch-friendly upload interface with responsive image display
Modern Responsive Design: Mobile-first approach with adaptive layouts for all screen sizes
Enhanced Mobile Experience: Touch-optimized interface with proper virtual keyboard support
Smart Responsive Behavior: Overlay sidebar on mobile, collapsible on tablet, side-by-side on desktop
Editable Username: Click-to-edit nickname with real-time validation and user persistence
User Persistence: Automatic nickname saving for logged-in WordPress users
Lightweight vanilla TypeScript/JavaScript implementation (no frameworks)
Fully responsive design with semantic HTML
Internationalization ready (i18n strings)
Configurable server allow-list with strict validation
WebSocket subprotocol support (IRCv3)
Optional WebIRC gateway fallback
Comprehensive IRC slash commands: 30+ commands including /join, /part, /nick, /msg, /whois, /topic, /away, /help, and more
Automatic nickname generation and collision handling
Debug logging and connection status indicators
Optional Content Security Policy (CSP) header generation
WordPress hooks and filters for extensibility
Follows WordPress Coding Standards

Usage
Basic Usage:
Simply add the shortcode [chat_webirc] to any page or post where you want the IRC chat to appear. The plugin will use secure default settings to connect to a test IRC server.
Shortcode Examples:
* Basic: [chat_webirc] – Uses default server and channel
* Custom channel: [chat_webirc channel="#mychannel"]
* Custom server: [chat_webirc server="irc.example.com:7443" channel="#general"]
Available IRC Commands:
Once the chat is loaded, users can use these commands:
Basic Commands:
* /join #channel – Join a channel
* /part [#channel] – Leave current or specified channel
* /nick newname – Change nickname
* /quit [message] – Disconnect
* /help – Show all available commands
Communication:
* /msg – Send private message
* /notice – Send notice message
* /me – Send action message
* /query – Open private chat context
User & Channel Info:
* /whois – Get detailed user information
* /who [channel] – List users in channel
* /list [pattern] – List available channels
* /names [channel] – List nicknames in channel
* /topic [text] – View/set channel topic
Status & Utility:
* /away [message] – Set away status
* /back – Remove away status
* /ping – Ping user
* /version [nick] – Get version info
Advanced Commands:
* /ctcp – Send CTCP command
* /motd [server] – View message of the day
* /stats [server] – View server statistics
* /raw – Send raw IRC command (if enabled)
Type /help in the chat for the complete command reference.
Configuration:
Go to Settings → Chat for WebIRC in your WordPress admin to customize servers, channels, and security options.
Notes

Some public IRC networks may restrict WebSocket connections to certain origins. The included test server permits connections for testing purposes.
Do not send sensitive information. This client is intentionally minimal and does not yet support SASL authentication.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Chat for WebIRC」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.8.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Drift 》Drift 是一種最簡單的方式,免費將即時聊天客服功能新增到您的網站上。, , 98%的網站訪客在訪問您的網站後無所作為就離開了!現在是改變這種情況的時候了。,...。
  • Continually 》Continually 可確保您的網站上不會漏失任何商機。我們能幫助您開始使用僅需一行程式碼的自動回應網站訪客。透過這個 WordPress 外掛,您將在大約 60 秒內完成...。
  • WP Admin Microblog 》WP Admin Microblog 在您的 WordPress 後台添加了一個單獨的微博。該插件會自動將 url 轉換為鏈接,支持標籤和某些 BBCodes,還可以通過電子郵件向其他用戶發...。
  • ScreenCloud 》**Summary:**, 透過 ScreenCloud WordPress 外掛,您可以輕鬆地將 WordPress 網站上的帖子直接分享到由 ScreenCloud 驅動的數碼標誌網絡,簡化您的數碼內容策...。
  • FROGED 》FROGED 是了解、溝通和與客戶互動的最簡單方法。, 根據他們與您產品的互動,您將發現每個用戶最重要的事情,提供主動客戶支援,增加產品採用率,建立有效的電...。
  • Kayako Messenger: Live Chat 》Kayako Messenger 是一款無需費心的現場聊天軟件。, 為客戶設計, 現代化的消息體驗, 你的客戶每天都在使用聊天軟件與朋友們交流:現在,他們也可以與你的團隊...。
  • Smile Query 》在日本,許多人使用LINE進行聯繫。, 然而,我們從網站發送的咨詢通常是透過電子郵件回复的。, Smile Query是與LINE相連接的網絡表單。從安裝在網上的Smile Qu...。
  • WP-Show-Unresponded-Comments 》, , 透過本外掛,您可以在儀表板上取得一個新的小工具,顯示每篇您沒有回覆過的最新評論。這對於想要專注於回應讀者評論的部落客來說,非常有用。 , 如果您試...。
  • Ultimate Slack Notifications 》, 「Ultimate Slack Notifications」是一個強大的解決方案,可通知團隊成員 WordPress 網站內需要特別關注的所有選定活動。此外,該外掛會在 WordPress 網站...。
  • MSSG.ME Widget 》這是一個全新時代的小工具,讓來自網站的訊息透過 Messenger 與你連接,非常容易使用。, mssg.me 讓你可以建立一個包含各種通訊軟體的專頁,讓你可以在一個地...。
  • Inbox For WooCommerce 》這個擴充功能讓購物者能夠從他們的個人帳戶頁面直接向店主(賣家)發送不同類型的訊息。這些訊息類型包括:與產品相關的訊息、與訂單相關的訊息、與退款相關...。
  • Dream Broker Embed 》在 Dream Broker Studio 創建頻道後,您可以使用這個外掛輕鬆地將其整合到您的 WordPress 網站中。您可以列出頻道中的影片,添加分類欄,並自定義列表佈局。...。
  • Chatgen 》ChatGen 總覽, , 詳細總覽,請閱讀我們的部落格文章, 超過 5000 家企業使用 ChatGen,透過自訂機器人的即時聊天應用程式,將大部分網站訪客轉換為潛在客戶。,...。
  • CBX WP Slack 》CBX WPSlack 外掛提供一個簡單又快速的 Slack 通知解決方案。這個外掛除了可以通知 WordPress 核心事件外,也提供其他外掛通過 hook(鉤子)建立通知。, 這個...。
  • Brosix Live Chat 》WordPress聊天外掛, 使用由Brosix提供的WordPress Live Chat外掛程序,快速而輕鬆地為您的WordPress網站添加即時聊天支持。為現場訪客和客戶提供即時溝通,並...。

文章
Filter
Apply Filters
Mastodon