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:
curl -fsSL https://raw.githubusercontent.com/KashifKhn/kassie/main/install.sh | shgo install github.com/kashifKhn/kassie@latest# Homebrew tap planned for future release
brew tap KashifKhn/kassie
brew install kassieVerify the installation:
kassie versionFirst Run
Step 1: Create a Configuration File
Create a config file at ~/.config/kassie/config.json:
mkdir -p ~/.config/kassieAdd your database connection details:
{
"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:
kassie tuiOr start the Web UI:
kassie webChoose 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:
- Select a Profile: Use
j/kor arrow keys to navigate - Connect: Press
Enterto connect to the selected profile - Explore: You'll see a sidebar with all keyspaces
Navigate the Interface
The TUI has three main panels:
┌─────────────────┬──────────────────────────────────────┐
│ │ │
│ Sidebar │ Data Grid │
│ │ │
│ Keyspaces │ Table Rows │
│ └─ Tables │ │
│ │ │
├─────────────────┼──────────────────────────────────────┤
│ │ │
│ │ Inspector │
│ │ (Selected Row Details) │
│ │ │
└─────────────────┴──────────────────────────────────────┘Browse Data
- Navigate Keyspaces: Use
j/kto move up/down in the sidebar - Expand Keyspace: Press
lorEnterto expand and see tables - Select Table: Navigate to a table and press
Enter - View Data: The data grid shows the table's rows
- Page Through Data: Press
nfor next page,pfor previous - Inspect Row: Select a row and press
Enterto see details
Apply Filters
Press / to open the filter bar and type a WHERE clause:
id = '550e8400-e29b-41d4-a716-446655440000'Press Enter to apply the filter.
Quick Tutorial: Exploring System Tables
Let's explore Cassandra's system tables:
- Launch Kassie:
kassie tui - Connect to your local cluster
- Navigate to the
system_schemakeyspace - Expand it with
lorEnter - Select the
tablestable - Press
Enterto view all tables in your cluster - Use
nto page through results - Select a row and press
Enterto inspect its details
Key Shortcuts
| Key | Action |
|---|---|
j/k | Navigate up/down |
h/l | Collapse/expand |
Enter | Select/expand |
/ | Open filter bar |
n | Next page |
p | Previous page |
r | Refresh data |
Tab | Switch panes |
? | Show help |
q | Quit/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:
- Configuration Guide - Learn about all configuration options
- TUI Usage - Master the terminal interface
- Examples - See practical usage examples
Need Help?
If you run into issues:
- Check the Troubleshooting Guide
- Run with debug logging:
kassie tui --log-level debug - Open an issue on GitHub