RSS Git Download  Clone
  artifacts robo8x [chore] 6/21/2020, 1:31:37 PM 3 years, 3 months ago
  bin robo8x [chore] 9/28/2018, 4:34:50 PM 5 years ago
  k8s robo8x [chore] 6/16/2020, 8:12:32 AM 3 years, 4 months ago
  scripts robo8x [chore] 8/18/2019, 12:44:00 PM 4 years, 2 months ago
  src robo8x [chore] 5/21/2020, 8:06:16 AM 3 years, 4 months ago
  .editorconfig 415B robo8x [chore] 6/30/2019, 8:04:59 PM 4 years, 3 months ago
  .gitignore 252B robo8x [chore] 8/18/2019, 6:59:27 PM 4 years, 2 months ago
  .npmignore 167B robo8x [chore] 10/1/2018, 8:21:14 AM 5 years ago
  .travis.yml 904B robo8x [chore] 4/23/2020, 3:49:04 PM 3 years, 5 months ago
  Dockerfile 514B robo8x [chore] 10/24/2019, 7:04:01 PM 3 years, 11 months ago
  Gruntfile.js 531B robo8x [chore] 5/28/2020, 9:37:57 AM 3 years, 4 months ago
  LICENSE 1kB robo8x [chore] 6/21/2020, 1:31:37 PM 3 years, 3 months ago 14kB robo8x [chore] 6/21/2020, 1:31:37 PM 3 years, 3 months ago 14kB robo8x [chore] 6/21/2020, 1:31:37 PM 3 years, 3 months ago 2kB robo8x [chore] 6/21/2020, 1:31:37 PM 3 years, 3 months ago
  docker-compose.yml 244B robo8x [chore] 1/12/2020, 10:48:37 AM 3 years, 9 months ago
  p3xrs.json 780B robo8x [chore] 6/14/2020, 3:46:25 PM 3 years, 4 months ago
  package.json 3kB robo8x [chore] 6/21/2020, 1:31:37 PM 3 years, 3 months ago
  redis-ui.iml 403B robo8x [chore] 9/17/2018, 3:56:40 PM 5 years ago 2kB robo8x [chore] 6/21/2020, 1:31:37 PM 3 years, 3 months ago
[//]: #@corifeus-header [![NPM](]( [![Donate for Corifeus / P3X](]( [![Contact Corifeus / P3X](]( [![Corifeus @ Facebook](]( [![Build Status](]( [![Uptime Robot ratio (30 days)](]( # 📡 P3X Redis UI can work with huge key sets, is functional and works on the web and desktop (Electron) v2020.4.301 **Bugs are evident™ - MATRIX️** ### NodeJs LTS Version Requirement ```txt >=12.13.0 ``` ### Built on NodeJs ```txt v12.18.1 ``` The ```async``` and ```await``` keywords are required. Only the latest LTS variant is supported. Install NodeJs: # Description [//]: #@corifeus-header:end `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. <!-- 👷 **The first full complete version was created in 20 days in September of 2018.** --> ## Donated-Ware features The `p3x-redis-ui+` version has additional features. The donation is $1/month. Please contact at []( and can donate @ The features that are only working in the donated-ware version: * JSON viewer * JSON editor * JSON format * Cluster * AWS ElastiCache * Gcloud memorystore * Azure Redis To check if your license is valid @ #### New features Users, that donated, have a big chance that requests for new features will be implemented. ##### Possible new features * SSH tunnel * Upload binary data #### Plus function problems Given, I do not have a full fledged server and to maintain the servers it costs money, it is possible, sometimes the server goes down. It is rare, but it will be back up probably in 5-10 minutes. If there is a problem that is longer, please contact me. ### Contributors license Contributors get plus donate license for free for a year. ## Warning If you are reading the `readme` fom Docker, the links are not working, please read the `readme` from GitHub or Corifeus @ * * ## The online current version - this is the plus version 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. ### Screenshots [Screenshots readme](artifacts/readme/ ## Releases ### Snap <!-- The main source installer is the `AppImage`, so, the themes are not implemented (the main menus). If you want the themes to be implemented (dark vs light), I suggest using the `AppImage` as it supports the themes natively. Besides, the auto self update function is not implemented in `Snap`, only in `AppImage` version. --> [![LINK](]( ### AppImage After downloading the ```AppImage```, make it an executable. ```bash 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 & ``` It then actually integrates itself into the menus and it will auto update itself. ### On ElectronJs (The GitHub versions are always instant, while the ElectronJs Apps releases are delayed.) ### Start up with a server or via a browser and NodeJs/NPM [Start up with a server readme](artifacts/readme/ [Some description about the config file readme](p3xrs.json) ### Docker #### Compose ```bash wget # 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 ``` #### Bare ```bash # 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 ### Kubernetes A complete example of deployment `p3x-redis-ui` in kubernetes using raw manifests ```bash 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 ``` ## Features * To make more responsive the GUI, start with search in a key set, instead of loading every keys... * Since `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 once * Please, check out your Redis use case, if this program can cover your requirements * Does not handle binary data * **Does not work with sentinel** * **Has experimental cluster support** * Thanks so much for the awesome contribution by [@idetoile]( of the cluster function. * Able to monitor all channel messages on the console by using a checkbox. * Works with multiple languages * Works as a backend * Works as a desktop via Electron * Linux * Windows * macOS * I took very careful of the error handling (as much I can find errors) * Starts with no settings without config, or setup your own config * Able to create, test, save, delete multiple connections or a readonly connections setup, for shared usage * Able to use the console and interact with Redis * TAB or SHIFT + TAB completion like bash is enabled * Cursor UP or DOWN history is enabled * Online you are able to choose the tree separator, for example :, /, -, space etc... or even empty separator * It is based on Redis-Commander and phpRedisAdmin * You can select the database via console or the drop down. * The database select drop down shows if the checked database is empty or filled, so you can always know which is filled * Save button to save the db * Full statistics pages, can be useful * This is just a New Kind on the Block in the Redis world, so, of course, there are advantages and disadvantages in the other Redis GUIs * Dark - Dracula / light themes * Search * Client side mode searching in keys - small key set * Server side mode searching in keys - large key set * Search mode * the search keys starts with a string key * the search keys includes a string in the key * From 320px width, it is supposed to be 100% responsive * There is a key sorting function, which has a penalty, because it sorts with natural compare, which means it is more human display, then just raw characters, but up to 100k the keys is still ok. * Maximum keys for this App * This application is usable up to 100k keys - given it pre-loads all keys and related info at once plus sorting - with natural comparing ... * In that case, loading all keys into the browser takes about maximum 5-15 seconds * For big key set to be usable paging should be a maximum 500 keys / page, though for 250 is the sweetest spot * This application is not recommended with over 100k keys, because it might just crash the NodeJs server. I can understand there are use cases where you need over 100k keys, but this is not that p3x-redis-ui. * This app including functions like sorting and tree options that are fancy vs large sets ... This software is more functional than fast ... ## Performance #### Key set size * On the test server you can test * Database 0 - below 10k keys * Fancy * Fast * Database 1 - 10k keys * It is fast totally. Given, it is not over for 50 keys / page. * Database 2 - 100k keys * You will see, that with large sets, it can take up to 15 seconds to load all the keys (dependent on the workstation and memory) and sort (if you enabled in the settings). It is usable, but it is fancy and fast for smaller key sets. * Database 3 - 1 million keys * Given the app pre-loads all keys at once, the browser or the electron app for a small workstation could crash * The latency is quite long, so the app is not so responsive * The app is certified to work for max 100k keys, although it works with over 900k keys * The below functions are happening if the key count is above 110k keys * Key sorting is disabled * Searching only allows on server side searching * In the tree, no fancy information is showing - to reduce the stressing on the browser * Although, this app works with 1 million keys and reduced functions. For such huge key count, it is recommended to use the pure `redis-cli`. **The sweet spot for the key count is around 10-20k including key sorting with max 100 key / page and still the app is very responsive. If you have a huge key set, make sure to search on the server and it will be very responsive.** Above 10-20k key count as the key large set grows the GUI latency is including as well. Of course, we could set a limit and the UI would be always responsive, but there was no request of this feature. # TODO [The to do readme]( # Change log [The change log readme]( # Contributors [The contributors readme]( # Development 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: ```bash # terminal 1 git clone cd redis-ui-material npm install npm run dev # terminal 2 git clone 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 cd redis-ui npm install ./scripts/ # or ./scripts/start-local.cmd ``` ### Development of the translations 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]( For a new language: Add into `redis-ui-material/src/bundle.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. ### Reference for Socket.IO speed # URL links [P3X Redis UI playground]( [Corifeus P3X Redis UI]( [AlternativeTo Redis UI]( [NPM P3X Redis UI]( [Snap Store]( [//]: #@corifeus-footer --- 🙏 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 ([]( and []( 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 v2020.4.301 [![Donate for Corifeus / P3X](]( [![Contact Corifeus / P3X](]( [![Like Corifeus @ Facebook](]( ## P3X Sponsor [IntelliJ - The most intelligent Java IDE]( [![JetBrains](]( [//]: #@corifeus-footer:end