🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

redislens

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redislens

Redis Lens

1.0.0
PyPI
Maintainers
1

Redis Lens

Redis Lens is a Simple, beautiful Redis monitoring and management tool with a clean interface built using React and FastAPI. It allows you to connect to Redis servers, explore keys, execute commands, and monitor server performance.

Key ExplorerPerformance MonitorCommand Runner
key explorercommand runnerperformance monitor
Edit KeysConnection Manager
charts and metricsconnection manager

Features

  • 🔍 Key Explorer: Browse, search, and manage Redis keys with pagination
  • 🖥️ Command Terminal: Execute any Redis command with a built-in command history
  • 📊 Server Dashboard: Monitor Redis server performance metrics with real-time charts
  • 🌓 Dark/Light Mode: Eye-friendly interface that works in any lighting condition
  • 🚀 Offline Mode: Works without internet connection by bundling all required assets

Installation

Redis Lens can be installed via pip:

pip install redislens

Usage

Start Redis Lens with a simple command:

redislens

This will start the server on http://localhost:8005 and automatically open it in your default web browser.

Command-Line Options

# Start on a different host/port
redislens start --host 0.0.0.0 --port 8080

# Do not open the browser automatically
redislens start --no-browser

# Run in debug mode (auto-reload on code changes)
redislens start --debug

# Show version information
redislens version

Development

To set up a development environment:

  • Clone the repository:

    git clone https://github.com/arun477/redislens.git
    cd redislens
    
  • Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  • Install in development mode:

    pip install -e .
    
  • Run with debug mode:

    redislens start --debug
    

Building the Frontend

The frontend is a React application. To build it:

  • Navigate to the frontend directory:

    cd frontend
    
  • Install dependencies:

    npm install
    
  • Build the production version:

    npm run build
    
  • Copy the build directory to the package:

    cp -r build ../redis_lens/
    

License

MIT License - See LICENSE file for details.

Acknowledgements

  • Thanks to the Redis team for creating an amazing in-memory database
  • React, FastAPI, Tailwind CSS, and other open-source libraries that made this project possible

Keywords

redis

FAQs

Did you know?

Socket

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.

Install

Related posts