Socket.IO backend server for the P3X Redis UI (v2026.4.373) with dual Angular/React frontends. Provides real-time Redis management via WebSocket events, supporting ioredis (standalone, cluster, sentinel), JWT-based authentication, AI query translation to Redis commands via Groq, and auto-decompression of 7 compressed formats (GZIP, ZIP, zlib, Zstandard, LZ4, Snappy, Brotli). Requires Node.js >=22. Released under MIT, no REST endpoints—all communication is socket-based. Differentiator: dual frontend stack (Angular + React) with full feature parity, 54 languages, 7 themes, and integrated login page.
npm install p3x-redis-ui-serverVerified import paths — ran on the pinned version, not inferred.
Initializes the P3X Redis UI server with custom config, authentication, and AI query support.
Upgrade Node.js to v22 or later (currently tested on v24.14.1).
Convert project to ESM (type: 'module' in package.json) or use dynamic import().
Use Socket.IO client to communicate. See documentation for event list.
Rename config key 'connectionsFile' to 'connections.fileName' in p3xrs.json.
Store the API key in an environment variable (GROQ_API_KEY) and restrict network access to api.groq.com for the server process.
Monitor open file handles with lsof. Reduce connection pool size in config or increase system limit (ulimit -n 65536).
Use import { startServer } from 'p3x-redis-ui-server' or change your project to ESM.Convert your entry point to ESM by setting 'type': 'module' in package.json or use dynamic import().
Kill the existing process (lsof -ti :7843 | xargs kill) or change the port in config.
Verify the hostname or IP in p3xrs.json for the Redis connection.