npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2026 – Pkg Stats / Ryan Hefner

p3x-redis-ui-server

v2026.4.354

Published

🏍️ P3X Redis UI server β€” Socket.IO backend for the dual Angular + React frontend with AI queries, 54 languages, and auto data decompression

Readme

This is a development package

For the full-blown package, please follow:
https://github.com/patrikx3/redis-ui
https://www.npmjs.com/package/p3x-redis-ui
https://corifeus.com/redis-ui

NPM Donate for PatrikX3 / P3X Contact Corifeus / P3X Corifeus @ Facebook Uptime ratio (90 days)


🏍️ P3X Redis UI server β€” Socket.IO backend for the dual Angular + React frontend with AI queries, 54 languages, and auto data decompression v2026.4.354

🌌 Bugs are evidentβ„’ - MATRIX️
🚧 This project is under active development!
πŸ“’ We welcome your feedback and contributions.

NodeJS LTS is supported

πŸ› οΈ Built on NodeJs version

v24.14.1

πŸ“ Description

This version requires minimum Node.js v22. This is part of the composable p3x-redis-ui package β€” the backend server built entirely on Socket.IO (no REST).

The server connects to the p3x-redis-ui-material dual frontend:

  • Angular frontend (/ng/) β€” Angular + Angular Material + Webpack
  • React frontend (/react/) β€” React + MUI + Vite + Zustand

Both frontends share the same Socket.IO protocol, 54 languages, 7 themes (4 dark + 3 light with auto system preference), and all features at full parity. Users can switch between Angular and React live in Settings.

Key Capabilities

  • Socket.IO real-time communication β€” all Redis operations via WebSocket events
  • ioredis client β€” standalone, cluster, and sentinel support with optional SSH tunneling
  • Built-in login page β€” custom JWT-based authentication with themed login dialog (replaces browser HTTP Basic Auth)
  • AI query translation β€” natural language to Redis commands via Groq API, with bash pipe to EVAL Lua conversion
  • Auto data decompression β€” GZIP, ZIP, zlib, Zstandard, LZ4, Snappy, Brotli
  • Desktop notifications β€” Electron native + Web Notification API for disconnect/reconnect events
  • Auto language detection β€” matches browser/system locale to one of 54 supported languages
  • Health check endpoint β€” GET /health for Docker/Kubernetes probes
  • Graceful shutdown β€” handles SIGTERM/SIGINT, closes all connections cleanly

Configuration

For now, there are 2 configuration files:

p3xrs --config ./p3xrs.json

The 2nd configuration is the list of the connections if found in p3xrs.json it either in the config:

p3xrs.json/p3xrs.connections['home-dir'] = undefined|home|absolute|relative 

The best is to keep it undefined and it will be in your home dir, but you can choose any place as well.

You may also set connections file name which overrides default .p3xrs-conns.json

p3xrs --connections-file-name .p3xrs-conns.json

Authentication (Login Page)

Instead of relying on the browser's native HTTP Basic Auth dialog, P3X Redis UI has its own built-in login page. When authentication is enabled, the app displays a themed login dialog that integrates seamlessly with the UI -- supporting all 54 languages, all 7 themes, and the Angular/React GUI switcher.

The login flow uses JWT tokens (HS256, 24-hour expiry) with no external dependencies. The token is stored in the browser's localStorage and sent via Socket.IO handshake. A logout button appears in the top-right corner of the header toolbar when auth is active.

Config (p3xrs.json):

{
  "p3xrs": {
    "httpAuth": {
      "enabled": true,
      "username": "admin",
      "passwordHash": "$2b$10$..."
    }
  }
}

Generate BCrypt password hash:

node ./bin/bcrypt-password.mjs -p myplainpass

Environment variables:

  • HTTP_USER
  • HTTP_PASSWORD
  • HTTP_PASSWORD_HASH
  • HTTP_PASSWORD_HASH_FILE
  • HTTP_AUTH_ENABLED (true|false)

CLI options:

  • --http-auth-enable
  • --http-auth-disable
  • --http-auth-username
  • --http-auth-password
  • --http-auth-password-hash
  • --http-auth-password-hash-file

Notes:

  • passwordHash is preferred over plain password.
  • Use HTTPS/reverse proxy TLS when auth is enabled.
  • JWT tokens expire on server restart (secret is derived from the password hash).

AI-Powered Redis Query Translation

The AI feature translates natural language or CLI-style input into valid Redis commands. It supports bash-style pipe operations (e.g. keys session:* | head -20 | sort) by converting them into Redis EVAL Lua scripts that run atomically on the server.

  • Powered by Groq API (model: openai/gpt-oss-120b)
  • Supports all human languages as input
  • Bash pipes (head, tail, grep, sort, wc, uniq) are translated to EVAL Lua
  • Network proxy mode (via network.corifeus.com) or direct API key mode
  • Configure via --groq-api-key CLI flag or the AI Settings panel in the UI

Verbose CLI help

Usage: p3xrs [options]

Options:
  -V, --version                           output the version number
  -c, --config [config]                   Set the p3xr.json p3x-redis-ui-server configuration, see more help in p3x-redis-ui-server
  -r, --readonly-connections              Set the connections to be readonly, no adding, saving or delete a connection
  -n, --connections-file-name [filename]  Set the connections file name, overrides default .p3xrs-conns.json
  --http-auth-enable                      Enable HTTP Basic auth
  --http-auth-disable                     Disable HTTP Basic auth
  --http-auth-username [username]         HTTP Basic auth username
  --http-auth-password [password]         HTTP Basic auth plain password
  --http-auth-password-hash [hash]        HTTP Basic auth bcrypt password hash
  --http-auth-password-hash-file [file]   Read HTTP Basic auth bcrypt password hash from file
  --groq-api-key [key]                    Groq API key for AI-powered Redis query translation (get a free key at console.groq.com)
  --groq-api-key-readonly                 Prevent users from changing the Groq API key via the UI
  -h, --help                              display help for command

For development standalone

For file names do not use camelCase, but use kebab-case. Folder should be named as kebab-case as well. As you can see, all code filenames are using it like that, please do not change that. Please apply the .editorconfig settings in your IDE.

Copy from ./artifacts/boot/p3xrs.json to the root folder (./p3xrs.json).

yarn install
yarn run dev

It uses nodemon and when any file is changed, it will re-load it.

The server app is available @
http://localhost:7843


πŸš€ Quick and Affordable Web Development Services

If you want to quickly and affordably develop your next digital project, visit corifeus.eu for expert solutions tailored to your needs.


🌐 Powerful Online Networking Tool

Discover the powerful and free online networking tool at network.corifeus.com.

πŸ†“ Free
Designed for professionals and enthusiasts, this tool provides essential features for network analysis, troubleshooting, and management.
Additionally, it offers tools for:

  • πŸ“‘ Monitoring TCP, HTTP, and Ping to ensure optimal network performance and reliability.
  • πŸ“Š Status page management to track uptime, performance, and incidents in real time with customizable dashboards.

All these features are completely free to use.


❀️ Support Our Open-Source Project

If you appreciate our work, consider ⭐ starring this repository or πŸ’° making a donation to support server maintenance and ongoing development. Your support means the world to usβ€”thank you!


🌍 About My Domains

All my domains, including patrikx3.com, corifeus.eu, and corifeus.com, are developed in my spare time. While you may encounter minor errors, the sites are generally stable and fully functional.


πŸ“ˆ Versioning Policy

Version Structure: We follow a Major.Minor.Patch versioning scheme:

  • Major: πŸ“… Corresponds to the current year.
  • Minor: πŸŒ“ Set as 4 for releases from January to June, and 10 for July to December.
  • Patch: πŸ”§ Incremental, updated with each build.

🚨 Important Changes: Any breaking changes are prominently noted in the readme to keep you informed.


P3X-REDIS-UI-SERVER Build v2026.4.354

NPM Donate for PatrikX3 / P3X Contact Corifeus / P3X Like Corifeus @ Facebook