> ## Documentation Index
> Fetch the complete documentation index at: https://cache-pot.thatdevguy.in/llms.txt
> Use this file to discover all available pages before exploring further.

# Cache-Pot dashboard: monitor your server in real time

> The Cache-Pot dashboard provides live stats, key browsing, a command workbench, profiler, slowlog, pub/sub monitor, memory analysis, and client management.

Cache-Pot includes an embedded web dashboard available at [http://localhost:8080](http://localhost:8080). It gives you real-time visibility into your cache — no external tools or dependencies needed. Everything runs directly in your browser against Cache-Pot's built-in HTTP and SSE API.

## Accessing the dashboard

Open [http://localhost:8080](http://localhost:8080) in your browser after starting Cache-Pot. The connection indicator at the bottom of the sidebar turns green when the browser is connected and displays the server version.

To serve the dashboard on a different port, pass `--dashboard-addr` at startup:

```bash theme={null}
cache-pot --dashboard-addr :9090
```

To disable the dashboard entirely, pass an empty address:

```bash theme={null}
cache-pot --dashboard-addr ""
```

<Note>
  The dashboard runs entirely in your browser using Cache-Pot's HTTP/SSE API. No external services, proxies, or third-party dependencies are involved.
</Note>

## Dashboard pages

<CardGroup cols={2}>
  <Card title="Overview" icon="chart-line">
    Live stat tiles and sparkline charts for keys, memory, commands/sec, cache hit ratio, connected clients, and uptime. Data is backfilled from history and updated in real time at 1-second resolution.
  </Card>

  <Card title="Browser" icon="folder-tree">
    Browse, search, create, and edit all key types with a visual tree view. Supports strings, hashes, lists, sets, sorted sets, and vectors, with inline TTL management and bulk delete.
  </Card>

  <Card title="Workbench" icon="terminal">
    An interactive in-browser CLI for running any RESP command against your cache. Includes autocomplete-style syntax hints, persistent command history, and full typed response rendering.
  </Card>

  <Card title="Profiler" icon="circle-dot">
    A real-time stream of every command executed by the server — similar to Redis's `MONITOR`. Pause and resume the stream or filter by keyword to focus on specific traffic.
  </Card>

  <Card title="Slowlog" icon="clock">
    Inspect commands that exceeded the configured slow-query threshold. View execution time, arguments, client address, and timestamp. Adjust the threshold and retention limit from the page.
  </Card>

  <Card title="Pub/Sub" icon="arrow-right-arrow-left">
    Subscribe to channels directly from the browser, watch incoming messages in real time, and publish messages to any channel without writing any code.
  </Card>

  <Card title="Analysis" icon="table-cells">
    On-demand memory breakdown by key type, key-prefix namespace, and TTL bucket, plus a ranked list of the top-N largest keys. Useful for diagnosing memory growth and identifying hot prefixes.
  </Card>

  <Card title="Clients" icon="sitemap">
    List all currently connected clients with their address, name, and connection metadata. Kill individual connections directly from the table without restarting the server.
  </Card>
</CardGroup>

## Keyboard shortcuts

Navigate between pages instantly using two-key sequences. Press `g` followed by the letter for the target page:

| Shortcut  | Page      |
| --------- | --------- |
| `g` + `o` | Overview  |
| `g` + `b` | Browser   |
| `g` + `w` | Workbench |
| `g` + `p` | Profiler  |
| `g` + `s` | Slowlog   |
| `g` + `u` | Pub/Sub   |
| `g` + `a` | Analysis  |
| `g` + `c` | Clients   |
