How qishibo/anotherredisdesktopmanager works
Another Redis Desktop Manager is a cross-platform GUI for managing Redis-compatible databases. Users configure or select a connection, connect to a server, browse keys, open a key to inspect or edit its type-specific contents, and run commands through the CLI. The interface also exposes operational views and utilities such as slow logs, memory analysis, command history, custom formatters, and binary decoders. The sampled code confirms the app shell, Redis client behavior, vector commands, and protobuf persistence; several other feature links are omitted where their wiring was not shown.
Main entry points: App.vue App shell · redisClient.js Redis client · Tabs.vue Workspace tabs · storage.js Local preferences
Components 22
Application shell
- Vue entry
src/main.js - App shell
src/App.vue - Workspace tabs
src/components/Tabs.vue
Connections and commands
- Connection sidebar
src/Aside.vue - Connections
src/components/Connections.vue - Redis client
src/redisClient.js - Redis CLI
src/components/CliContent.vue - Command history
src/components/CommandLog.vue
Key management
- Key browser
src/components/KeyListVirtualTree.vue - Key detail
src/components/KeyDetail.vue - Typed key views
src/components/contents/KeyContentVector.vue
Inspection and preferences
- Slow log
src/components/SlowLog.vue - Memory analysis
src/components/MemoryAnalysis.vue - Custom formatter
src/components/CustomFormatter.vue - Value viewers
src/components/viewers/ViewerProtobuf.vue - Settings
src/components/Setting.vue - Local preferences
src/storage.js
Desktop integration
- App add-ons
src/addon.js - Electron main
pack/electron/electron-main.js - Update UI
src/components/UpdateCheck.vue
Other components
- Redis operator
- Redis server
Connections 20
- Redis operator → App shell: uses
- Vue entry → App shell: mounts
- App shell → Connection sidebar: renders
- App shell → Workspace tabs: renders
- App shell → Update UI: renders
- App shell → App add-ons: initializes
- Connections → Redis client: connects via
- Redis client → Redis server: issues commands
- Typed key views → Redis client: calls Redis
- Key browser → Key detail: opens key
- Workspace tabs → Key browser: hosts
- Workspace tabs → Key detail: hosts
- Redis CLI → Redis client: runs commands
- Command history → Redis client: logs commands
- Slow log → Redis client: reads server
- Memory analysis → Redis client: analyzes server
- Custom formatter → Local preferences: persists formatters
- Value viewers → Local preferences: loads bindings
- Settings → Local preferences: reads settings
- App shell → Electron main: runs in