Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
p3x-redis-ui
Advanced tools
📡 P3X Redis UI is a very functional handy database GUI and works in your pocket on the responsive web or as a desktop app
Bugs are evident™ - MATRIX️
v20.12.0
p3x-redis-ui
is a new Redis GUI which can serve as a backend server or as a desktop application.
Some of the features are coming below. This is open source software.
The best use case for this Redis GUI, if you manage JSON, as it includes JSONEditor and ACE. Check out the different options in the edit json button dialog, besides, you can upload and download binary data. SSH, cluster, sentinel.
[object ArrayBuffer]
, as if you save a text and it will not work anymore after you download the binary data, that is because binary and text is different[object ArrayBuffer]
, that is ok, for big values, use binary (upload binary, download binary)P3XRS_PORT
P3XRS_DOCKER_HOME
v2020.4.189
, the tree can handle bigger key count, as of now, we are using deferred rendering for the tree - only rendering what is in the viewport, so it should be much faster versus rendering everything at onceIt is not recommend to generate the configuration JSON
via a text editor. The perfect solution is to generate the configuration in the GUI, then apply for example in Kubernetes.
https://p3x.redis.patrikx3.com
This Redis database every day in the morning European time CET restores some data, so you may do whatever you want to do.
Besides, you could experience the test app to exit for 1 second, because it could auto update itself. It auto updates itself when the code from Git changes.
Third, it is a snapshot, it is possible, that the features are different from GitHub or NPM as the releases are usually monthly or as they happen.
https://github.com/patrikx3/redis-ui/releases
You download from the releases page and install as:
wget https://github.com/patrikx3/redis-ui/releases/download/v${VERSION}/P3X-Redis-UI-${VERSION}-x86_64.flatpak
flatpak install ./P3X-Redis-UI-${VERSION}-x86_64.flatpak
flatpak run com.patrikx3.redis_ui
Besides the menu is integrated.
AppImage, dep and rpm auto update itself.
Execute:
sudo add-apt-repository ppa:appimagelauncher-team/stable
sudo apt-get update
sudo apt-get install appimagelauncher
AppImage
, make it an executable.mkdir -p $HOME/opt
mv ~/Downloads/p3x-redis-ui-a.b.c-x86_64.AppImage $HOME/opt/
chmod +x $HOME/opt/p3x-redis-ui-a.b.c-x86_64.AppImage
# Then you can run it
$HOME/opt/p3x-redis-ui-a.b.c-x86_64.AppImage &
The app can be found on ElectronJs Apps and search for P3X
, you will find it.
Start up with a server or via a browser and NodeJs/NPM.
Some description about the config file readme
Some description about the config connections readme
https://hub.docker.com/r/patrikx3/p3x-redis-ui
https://github.com/patrikx3/redis-ui/blob/master/docker-compose.yml
wget https://raw.githubusercontent.com/patrikx3/redis-ui/master/docker-compose.yml
# You might want to tune the settings folder in the docker-compose.yml.
# the /home/user/p3x-redis-ui-settings settings folder in yml should be set by yourself.
docker-compose up
# you can tune the settings folder
# in the -v first part is where you can set your own folder
mkdir -p ./p3x-redis-ui-settings
docker run -v $PWD/p3x-redis-ui-settings:/settings -h docker-p3x-redis-ui -p 7843:7843 -t -i patrikx3/p3x-redis-ui
The GUI will be @ http://localhost:7843
A complete example of deployment p3x-redis-ui
in kubernetes using raw manifests
https://github.com/patrikx3/redis-ui/blob/master/k8s/manifests
kubectl apply -f namespace.yaml
# Do not forget to edit redis host and password configuration
kubectl apply -f configmap.yaml
kubectl apply -f deployment.yaml
kubectl apply -f service.yaml
kubectl apply -f ingress.yaml
Helm chart p3x-redis-ui
deployment in kubernetes
https://github.com/patrikx3/redis-ui/blob/master/k8s/chart
helm template -f values.yaml release --namespace namespace . > generated.yaml
kubectl apply -f generated.yaml
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.
It creates a package that allows you to compose p3x-redis-ui-server
and p3x-redis-ui-material
into one:
Server on GitHub
Client on GitHub
If you develop on this app, you are required to test, that all JS you code write is working with Electron (as the embedded Electron NodeJs version is usually below the real NodeJs). Once the server and client is running as above, you clone this repo and test like this:
# terminal 1
git clone https://github.com/patrikx3/redis-ui-material.git
cd redis-ui-material
npm install
npm run dev
# terminal 2
git clone https://github.com/patrikx3/redis-ui-server.git
cd redis-ui-server
npm install
npm run dev
# if you are not working on Electron, at this point you can fire the browser
# @ http://localhost:8080/
# terminal 3
git clone https://github.com/patrikx3/redis-ui.git
cd redis-ui
npm install
./scripts/start-local.sh
# or
.\scripts\start-local.cmd
By default, only English is created, but given all strings are from a JS
file, it is very quick to spawn another language eg. German, French, Spanish etc ...
English strings, for the web UI
English strings, for the Electron
JSON Editor, to incorporate a new language
Moment a new language for Material (momentDateMap)
Moment a new language for vendor (require moment/locale)
Humanize duration
For a new language:
Add into redis-ui-material/src/main.js
.
This solution is not using REST at all, but instead uses Socket.IO 🤣, which is weird, but I like it, it is supposed to be more responsive, as there is no big overhead in the HTTP protocol.
https://www.google.com/search?q=rest+vs+websocket+comparison+benchmarks
🙏 This is an open-source project. Star this repository, if you like it, or even donate to maintain the servers and the development. Thank you so much!
Possible, this server, rarely, is down, please, hang on for 15-30 minutes and the server will be back up.
All my domains (patrikx3.com and corifeus.com) could have minor errors, since I am developing in my free time. However, it is usually stable.
Note about versioning: Versions are cut in Major.Minor.Patch schema. Major is always the current year. Minor is either 4 (January - June) or 10 (July - December). Patch is incremental by every build. If there is a breaking change, it should be noted in the readme.
P3X-REDIS-UI Build v2024.4.223
FAQs
📡 P3X Redis UI: A highly functional and convenient database GUI that fits in your pocket, accessible on both responsive web and desktop applications
The npm package p3x-redis-ui receives a total of 6,927 weekly downloads. As such, p3x-redis-ui popularity was classified as popular.
We found that p3x-redis-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.