This is an automated archive made by the Lemmit Bot.

The original was posted on /r/selfhosted by /u/hobbirik on 2025-01-26 22:57:44+00:00.


Hey everyone,

I’ve been working on a side project called Prompt-Ops for a while now, and I figured this is the perfect place to share it. It’s a self-hosted CLI tool that lets you interact with your infrastructure—like PostgreSQL databases, Kubernetes clusters, or cloud providers—using plain English.

The idea came from my frustration with constantly Googling commands or juggling multiple CLIs just to get simple things done. So, I thought: why not just talk to my services?

Here’s how it works:

  1. You connect to a service with pops conn connect, which grabs all the context the tool needs to understand your setup.
  2. Then, you can use the Prompt-Ops shell in two ways:
    • Command Mode: Ask something like, “Show all tables in my PostgreSQL database,” and it’ll generate the right query or command for you.
    • Q&A Mode: Ask, “What is a Load Balancer in Kubernetes?” and it’ll just answer your question directly.

It’s completely self-hosted—everything runs locally—and I’ve tried to make it super easy to customize. You can add your own AI models or new connection types without much hassle.

Right now, it supports Kubernetes, PostgreSQL, and Azure, and I’m working on adding MySQL, MongoDB, Redis, and Message Queues next. The UI is still a bit rough, but I’m actively improving it.

If this sounds interesting, feel free to check it out:

  • GitHub Repo:
  • Docs:

Would love to hear your thoughts or ideas for improvement. Feedback is always welcome—this community has such great ideas, so I’d love to learn from you all. Thanks for reading!