Back to browse
GitHub Repository

Multi platform kotlin client for Elasticsearch & Opensearch with easily extendable Kotlin DSLs for queries, mappings, bulk, and more.

152 starsKotlin

CLI and TUI for Elasticsearch and OpenSearch

by jillesvangurp·Mar 11, 2026·2 points·1 comment

AI Analysis

●●SolidNiche GemBig Brain

Kotlin Multiplatform enables native binaries—no JVM runtime needed for Elasticsearch CLI.

Strengths
  • Kotlin Multiplatform foundation enables native binaries with fast startup and no runtime dependencies
  • TUI monitoring (ktsearch top) for real-time cluster status inspection
  • Unified client supporting both Elasticsearch and OpenSearch without choosing sides
Weaknesses
  • Official Elastic CLI and es-cli already serve this audience with similar capabilities
  • No Windows support limits adoption for enterprise teams
Target Audience

Backend developers working with Elasticsearch or OpenSearch

Similar To

Elastic CLI · es-cli

Post Description

I built a CLI for Elasticsearch and OpenSearch called ktsearch

You can run searches from the command line, manage indices, ILM, and data streams, inspect cat APIs like shards and indices, dump and restore indices, and monitor cluster status via a TUI (ktsearch top). Also includes bash/zsh completion.

Supports local/self-hosted clusters, Elastic Cloud, and experimental AWS OpenSearch support.

Install native binaries on Mac/Linux:

brew tap jillesvangurp/tap && brew install --cask kt-search

Or download the binaries from the release here: https://github.com/jillesvangurp/kt-search/releases/tag/2.8....

The CLI is part of a bigger client library project that may be of interest if you work with Kotlin based backends. It's a multiplatform project, which enabled me to create a native cli for this.

Disclaimer: I've put a lot of manual work in this client over the last years but the CLI is indeed AI generated.

Similar Projects