kvweb offers a user-friendly web interface for browsing and editing Valkey and Redis databases. With features like inline editing, live updates, and various browsing options, managing database keys has never been easier. Whether accessing through Docker or building from source, kvweb enhances productivity with its intuitive design and powerful functionalities.
kvweb is a web-based graphical user interface designed specifically for browsing and editing Valkey and Redis databases. With a focus on user experience, this lightweight application incorporates a Go backend and an integrated Svelte frontend, all compiled into a single binary.
Key Features
- Comprehensive Data Management: Effectively browse and modify various data types, including strings, hashes, lists, sets, sorted sets, streams, HyperLogLogs, and geo keys.
- Advanced Search: Leverage glob patterns or regular expressions for searching, along with filtering options by type and sorting by name, type, TTL, or memory usage.
- User-Friendly Navigation: Utilize a tree view for navigating keys organized by prefix hierarchy or switch to a flat list view for a streamlined interface.
- Inline Editing: Engage in inline editing capabilities with specialized editors for each data type, allowing the renaming of fields, score adjustments, and coordinate updates.
- Real-Time Updates: Receive real-time notifications of data changes through WebSocket keyspace notifications, ensuring changes are visible immediately.
- Command Console: Utilize a built-in command console for executing ad-hoc Valkey commands directly.
- Support for Compressed Values: Automatically detect gzip and zstd compressed values, decompress them for viewing, and recompress upon saving.
- Geo Map Visualization: Display sorted set members on an interactive OpenStreetMap for an intuitive geographical representation of data.
- Visual Enhancements: Enjoy JSON syntax highlighting with options for compact or formatted viewing, as well as a dark mode that respects system preferences.
- Restrictive Modes: Enable a read-only mode to disable all writing operations, and use prefix isolation to restrict visible keys based on a defined prefix.
- Efficient Bulk Operations: Multi-select keys to perform batch deletions efficiently.
- Keyboard Shortcuts: Streamline user interactions with keyboard shortcuts for operations such as key deletion, selection, and console toggling.
- Convenient Copying: Quickly copy key names or complete values to the clipboard with a single click.
- TTL Management: Manage time-to-live settings easily, with live countdowns to monitor expiration.
Usage
To run kvweb, simply execute the following command:
kvweb [flags]
Available Flags
-url: Define the server address or URL with default set tolocalhost:6379.-password: Server password (prefer usingVALKEY_PASSWORDenvironment variable).-db: Specify the database number, defaulting to0.-host: Set the HTTP listen address, default islocalhost.-port: Determined HTTP listen port, defaulting to8080.- Additional flags available for customization of behavior.
Connection URLs
The -url parameter can accept various formats:
kvweb -url localhost:6379
kvweb -url redis://:password@localhost:6379/2
kvweb -url rediss://host:6380
Supported protocols include redis://, rediss:// (TLS), valkey://, and valkeys:// (TLS) with options for specifying user credentials and database details.
Versioning
kvweb adheres to semantic versioning, tagged for releases using Git. Keep track of versions directly within the application with:
kvweb --version
This command will display the current version alongside the respective commit hash.
By utilizing kvweb, users can efficiently manage Valkey/Redis databases while benefiting from a responsive and intuitive user interface.
No comments yet.
Sign in to be the first to comment.