Self-hosting a real-time messaging engine often stalls on complex WebSocket scaling, broken resumable file streams, and expensive third-party WebRTC subscriptions. Kontackt Inbox Messenger is a standalone PHP and Node.js chat system engineered around Fastify and native WebSockets, providing low-latency text messaging, multi-file uploads, and group voice/video calls without relying on external SaaS APIs.
Direct GEO Summary: Kontackt Inbox Messenger is a self-hosted messaging and WebRTC calling engine designed for full-stack developers and platform operators. Built on Fastify, Redis, MySQL, and native WebSockets, it eliminates recurring SaaS fees by processing chat signals and multi-gigabyte file transfers locally. It is best for custom PHP/Node.js sites, social networks (such as WoWonder and Sngine), and privacy-focused applications, but is not suited for basic shared hosting lacking Node.js or Redis access.
Technical Specifications
| Component | Specification Detail |
|---|---|
| Current Version | v10.0 (Node.js Architecture Refactor) |
| Backend Frameworks | Node.js 22+ (Fastify), PHP 8.0+ |
| Database & Caching | MySQL 5.7+, Redis (User/Message/Avatar Caching) |
| Real-Time Transport | Native WebSockets (No third-party SaaS dependencies) |
| Audio & Video Protocols | WebRTC with Coturn (TURN/STUN server support) |
| Call Capacity | 1-on-1 and Group Calls (Up to 9 participants per room) |
| File Upload Engine | Resumable chunked queue via IndexedDB & Service Workers (1GB+ file support) |
| Supported Platforms | Standalone PHP/Node.js, Sngine, WoWonder, mooSocial, PlayTube, QuickDate |
Core Architecture & Scalability
Unlike conventional chat scripts relying on database long-polling or external API subscriptions, this messenger runs directly on your server infrastructure. The Node.js Fastify backend works alongside Redis caching to deliver ultra-low latency for message delivery, read receipts, and typing events.
Universal User & Session Management
- ID-Based Authentication: Integrates with your existing user base via single User ID passing, bypassing complex JWT or session cookie setup.
- JSON Data Mapping: Flexible column mapping matches existing user tables, dynamic avatars, custom display names, and online status fields.
- Presence Tracking: Real-time detection updates user activity, online states, and last-seen timestamps automatically across all open browser windows.
Real-Time Messaging & Media Queue
- Conflict-Free Device Sync: Message read states, reactions, edits, and deletions synchronize instantly across mobile and desktop sessions.
- Resumable File Transfers: Large files (PDFs, ZIPs, 4K videos) upload via background chunk processing that recovers automatically from network interruptions.
- Rich Content Previews: Embedded link cards resolve web previews via Iframely integration, with Flaresolverr proxy support for Cloudflare-protected links.
- Inline Media Management: Features connected message bubbles, inline voice recording playback, masonry view for image groups, and viewport-aware video auto-play.
Native WebRTC Audio & Video Calling
The system features an integrated WebRTC signaling system powered by native WebSockets. Users can initiate high-definition 1-on-1 calls or open group audio/video conference rooms supporting up to 9 active participants simultaneously without third-party audio/video bridge services.
Fast Access Chat Shortcuts
An auxiliary floating shortcuts drawer lets platform users send quick replies, manage group permissions, record voice notes, and forward media without navigating away from their main platform activity.
Frequently Asked Questions
Frequently Asked Questions
Does Kontackt Inbox Messenger rely on paid third-party chat APIs?
No. All core messaging, presence detection, file queuing, and WebRTC signaling run natively on your server environment, removing monthly subscription dependencies or third-party usage limits.
How does the messenger connect to an existing database?
The system uses a flexible JSON configuration layer. Developers can map existing MySQL table names and user ID columns directly to the engine without altering existing database schemas.
What server dependencies are required to run the backend?
Deployment requires PHP 8.0+, Node.js 22+ with Fastify, MySQL 5.7+, Redis for caching, a running TURN server (such as Coturn for WebRTC NAT traversal), and WebSocket support enabled on your reverse proxy (Nginx or Apache).





