Hacker News new | ask | show | jobs
Show HN: Memtui – A terminal UI for browsing Memcached like a file tree (github.com)
2 points by sr-white 161 days ago
Hey HN, I built memtui.

It's a terminal UI for Memcached that lets you browse keys organized in a tree structure, like a file manager. Keys with common prefixes (user:1001:profile, user:1001:session) automatically group into folders.

*The problem*: Debugging Memcached often means sending raw ASCII protocol commands via `nc localhost 11211`. There's no easy way to browse what's cached, understand the data format, or safely edit values without risking overwrites.

*What it does*: - Tree-structured key navigation using `lru_crawler metadump` - Auto-detects JSON, gzip/zlib, and binary data - CAS support for conflict detection during edits - VS Code-style command palette (Ctrl+P) - Vim keybindings (j/k navigation)

*Technical details*: Built with Go using Bubble Tea (Elm Architecture). Requires Memcached 1.4.31+ for the metadump command that enables key enumeration.

Curious to hear: - How do you currently inspect your Memcached data? - What features would make this useful for your workflow?

GitHub: https://github.com/nnnkkk7/memtui