BetterDB for Valkey
Lightweight Valkey database management for VS Code

Browse keys, edit values, and run commands without leaving your editor.

Features
Multi-Connection Management
Save and manage multiple Valkey/Redis connections. Credentials are stored securely using VS Code's SecretStorage API—never in plaintext config files.

Key Browser
Scan and filter keys by pattern. See key types and TTL at a glance. Supports wildcard patterns like user:*, session:*, or *:cache.

Full CRUD Support
View and edit Valkey data types with type-specific editors:
| Type |
View |
Edit |
Delete |
| String |
✓ |
✓ |
✓ |
| Hash |
✓ |
✓ |
✓ |
| List |
✓ |
✓ |
✓ |
| Set |
✓ |
✓ |
✓ |
| Sorted Set |
✓ |
✓ |
✓ |
| Stream |
✓ |
— |
✓ |

Integrated CLI
Execute commands directly with full output formatting. Command history persists across sessions.
- Syntax highlighting for responses
- Up/Down arrow for command history
- Ctrl+A/E/U/K/W editing shortcuts
- Tab completion (coming soon)

Secure by Default
- Passwords stored in VS Code's SecretStorage
- TLS/SSL connection support
- No telemetry or data collection
Quick Start
- Install from the VS Code Marketplace
- Open the BetterDB panel in the Activity Bar (database icon)
- Click + to add a connection
- Enter your connection details and connect
- Start browsing keys
Alternative Installation (Cursor, VSCodium, etc.)
Download the .vsix file from GitHub Releases, then:
- Cursor:
code --install-extension betterdb-for-valkey.vsix
- VSCodium:
codium --install-extension betterdb-for-valkey.vsix
- Or: Open the editor → Extensions →
... menu → "Install from VSIX..."
Connection Settings
| Setting |
Description |
Default |
| Name |
Display name for the connection |
— |
| Host |
Server hostname or IP |
localhost |
| Port |
Server port |
6379 |
| Username |
ACL username (optional) |
— |
| Password |
Authentication password (optional) |
— |
| Database |
Database index |
0 |
| TLS |
Enable TLS/SSL encryption |
false |
Commands
Access commands via the Command Palette (Ctrl+Shift+P / Cmd+Shift+P):
| Command |
Description |
BetterDB: Add Connection |
Add a new database connection |
BetterDB: Connect |
Connect to a saved connection |
BetterDB: Disconnect |
Disconnect from the current connection |
BetterDB: Browse Keys |
Open the key browser |
BetterDB: Filter Keys |
Filter keys by pattern |
BetterDB: Refresh Keys |
Refresh the key list |
BetterDB: Add Key |
Create a new key |
BetterDB: Delete Key |
Delete the selected key |
BetterDB: Open CLI |
Open the integrated CLI |
Requirements
- VS Code 1.85.0 or higher
- Valkey 7.2+ or Redis 6.0+
Redis compatibility is maintained—BetterDB works with both Valkey and Redis servers.
Telemetry
This extension does not collect any telemetry or usage data.
Development
Want to contribute or run locally? See CONTRIBUTING.md for setup instructions.
Links
License
MIT — See LICENSE for details.