Show HN: CLI and TUI for Elasticsearch and OpenSearch
2 points
2 hours ago
| 1 comment
| github.com
| HN
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.

opendeck
2 hours ago
[-]
looks good
reply