Skip to content

Getting Started

This guide will help you get Kassie up and running in under 5 minutes.

Prerequisites

All you need is:

  • Access to a Cassandra or ScyllaDB cluster
  • The connection details (host, port, credentials)

That's it! Kassie has no other dependencies.

Installation

Choose your preferred installation method:

bash
curl -fsSL https://raw.githubusercontent.com/KashifKhn/kassie/main/install.sh | sh
bash
go install github.com/kashifKhn/kassie@latest
bash
# Homebrew tap planned for future release
brew tap KashifKhn/kassie
brew install kassie

Verify the installation:

bash
kassie version

First Run

Step 1: Create a Configuration File

Create a config file at ~/.config/kassie/config.json:

bash
mkdir -p ~/.config/kassie

Add your database connection details:

json
{
  "version": "1.0",
  "profiles": [
    {
      "name": "local",
      "hosts": ["127.0.0.1"],
      "port": 9042,
      "keyspace": "system"
    }
  ],
  "defaults": {
    "default_profile": "local",
    "page_size": 100,
    "timeout_ms": 10000
  }
}

TIP

If you don't create a config file, Kassie will use sensible defaults and try to connect to 127.0.0.1:9042.

Step 2: Launch Kassie

Start the TUI:

bash
kassie tui

Or start the Web UI:

bash
kassie web

Choose Your Interface

  • TUI: Perfect for terminal users, SSH sessions, and keyboard-driven workflows
  • Web: Ideal for GUI users, team collaboration, and visual data exploration

First Steps in TUI

Once Kassie starts, you'll see the connection view:

  1. Select a Profile: Use j/k or arrow keys to navigate
  2. Connect: Press Enter to connect to the selected profile
  3. Explore: You'll see a sidebar with all keyspaces

The TUI has three main panels:

┌─────────────────┬──────────────────────────────────────┐
│                 │                                      │
│    Sidebar      │        Data Grid                    │
│                 │                                      │
│  Keyspaces      │    Table Rows                       │
│  └─ Tables      │                                      │
│                 │                                      │
├─────────────────┼──────────────────────────────────────┤
│                 │                                      │
│                 │        Inspector                     │
│                 │    (Selected Row Details)            │
│                 │                                      │
└─────────────────┴──────────────────────────────────────┘

Browse Data

  1. Navigate Keyspaces: Use j/k to move up/down in the sidebar
  2. Expand Keyspace: Press l or Enter to expand and see tables
  3. Select Table: Navigate to a table and press Enter
  4. View Data: The data grid shows the table's rows
  5. Page Through Data: Press n for next page, p for previous
  6. Inspect Row: Select a row and press Enter to see details

Apply Filters

Press / to open the filter bar and type a WHERE clause:

cql
id = '550e8400-e29b-41d4-a716-446655440000'

Press Enter to apply the filter.

Quick Tutorial: Exploring System Tables

Let's explore Cassandra's system tables:

  1. Launch Kassie: kassie tui
  2. Connect to your local cluster
  3. Navigate to the system_schema keyspace
  4. Expand it with l or Enter
  5. Select the tables table
  6. Press Enter to view all tables in your cluster
  7. Use n to page through results
  8. Select a row and press Enter to inspect its details

Key Shortcuts

KeyAction
j/kNavigate up/down
h/lCollapse/expand
EnterSelect/expand
/Open filter bar
nNext page
pPrevious page
rRefresh data
TabSwitch panes
?Show help
qQuit/back

Web UI Quick Start (Coming Soon)

Development Status

The web interface is currently under active development (Phase 5). Basic functionality works, but features may be incomplete. For production use, please use the TUI interface with kassie tui.

Next Steps

Now that you're up and running:

Need Help?

If you run into issues:

Released under the MIT License.