https://github.com/prompt-ops/pops
A CLI tool for seamless, intuitive interactions with modern infrastructure like databases, caches, message queues, and Kubernetes.
https://github.com/prompt-ops/pops
ai cli database devops kubernetes
Last synced: 11 months ago
JSON representation
A CLI tool for seamless, intuitive interactions with modern infrastructure like databases, caches, message queues, and Kubernetes.
- Host: GitHub
- URL: https://github.com/prompt-ops/pops
- Owner: prompt-ops
- License: apache-2.0
- Created: 2024-10-29T21:38:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T06:53:43.000Z (about 1 year ago)
- Last Synced: 2025-03-21T07:45:07.363Z (11 months ago)
- Topics: ai, cli, database, devops, kubernetes
- Language: Go
- Homepage: https://prompt-ops.github.io/docs/
- Size: 12.7 MB
- Stars: 22
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# ๐ค Prompt-Ops
**Prompt-Ops** is a CLI tool that makes managing your infrastructureโlike Kubernetes clusters, databases, and cloud environmentsโeffortless and intuitive. By translating natural language into precise commands, it eliminates the need to memorize complex syntax or juggle multiple tools.
With features like interactive flows, intelligent suggestions, and broad connection support, Prompt-Ops streamlines operations, saves time, and makes managing complex systems more approachable.
## Table of Contents
- [๐ค Prompt-Ops](#-prompt-ops)
- [Table of Contents](#table-of-contents)
- [๐ Key Features](#-key-features)
- [๐ ๏ธ Installation](#๏ธ-installation)
- [Using Curl](#using-curl)
- [Using Homebrew (WIP)](#using-homebrew-wip)
- [Using Make](#using-make)
- [๐ฎ Usage](#-usage)
- [๐ Available Commands](#-available-commands)
- [๐ General](#-general)
- [๐ฅ๏ธ Cloud](#๏ธ-cloud)
- [๐ Kubernetes](#-kubernetes)
- [๐ฟ Database](#-database)
- [ใ Supported Connection Types](#-supported-connection-types)
- [Available Now](#available-now)
- [Coming Soon](#coming-soon)
- [๐ฏ Planned Features](#-planned-features)
- [๐ค Contributing](#-contributing)
- [๐ชช License](#-license)
- [๐ Examples](#-examples)
## ๐ Key Features
- ๐ **Natural Language Commands**: Interact with your services using plain English.
- โก **Interactive Workflows**: Step-by-step prompts for setup and operations.
- ๐ **Broad Compatibility**: Supports Kubernetes, databases, cloud services, and more.
- ๐ฎ **AI-Powered Suggestions**: Get guided next steps and smart command completions.
## ๐ ๏ธ Installation
You can install **Prompt-Ops** using one of the following methods:
### Using Curl
Run the installation script using **curl**:
```bash
curl -fsSL https://raw.githubusercontent.com/prompt-ops/pops/main/scripts/install.sh | bash
```
### Using Homebrew (WIP)
You can also install Prompt-Ops via Homebrew:
```bash
brew tap prompt-ops/homebrew-tap
brew install pops
```
### Using Make
To install locally using `make`:
```bash
make install
```
## ๐ฎ Usage
You need to have `OPENAI_API_KEY` in the environment variables to be able to run certain features of Prompt-Ops. You can set it as follows:
```bash
export OPENAI_API_KEY=your_api_key_here
```
## ๐ Available Commands
### ๐ General
- `pops conn create`: Create a new connection interactively.
- `pops conn list`: List all connections.
- `pops conn open [conn-name]`: Open a specific connection.
- `pops conn delete [conn-name]`: Delete a specific connection.
- `pops conn types`: Show available connection types.
### ๐ฅ๏ธ Cloud
- `pops conn cloud create`: Create a cloud connection interactively.
- `pops conn cloud list`: List all cloud connections.
- `pops conn cloud open [conn-name]`: Open a specific cloud connection.
- `pops conn cloud delete [conn-name]`: Delete a specific cloud connection.
- `pops conn cloud types`: Show supported cloud providers.
### ๐ Kubernetes
- `pops conn kubernetes create`: Create a Kubernetes connection.
- `pops conn kubernetes list`: List Kubernetes connections.
- `pops conn kubernetes open [conn-name]`: Open a specific Kubernetes connection.
- `pops conn kubernetes delete [conn-name]`: Delete a Kubernetes connection.
### ๐ฟ Database
- `pops conn db create`: Create a database connection.
- `pops conn db list`: List database connections.
- `pops conn db open [conn-name]`: Open a specific database connection.
- `pops conn db delete [conn-name]`: Delete a database connection.
- `pops conn db types`: Show supported database types.
## ใ Supported Connection Types
### Available Now
- **Kubernetes**
- **Databases**:
- PostgreSQL
- MySQL
- MongoDB
- **Cloud**:
- Azure
### Coming Soon
- **Cloud Providers**: AWS, GCP
- **Message Queues**: Kafka, RabbitMQ, AWS SQS
- **Object Storage**: AWS S3, Azure Blob, GCP Storage
- **Monitoring & Logging**: Prometheus, Elasticsearch, Datadog, Splunk
- **CI/CD**: Jenkins, GitLab CI, GitHub Actions, CircleCI
- **Cache**: Redis, Memcached
## ๐ฏ Planned Features
- **Message Queues**: pops connection mq for Kafka, RabbitMQ.
- **Storage**: pops connection storage for object storage (e.g., S3, Azure Blob).
- **Monitoring**: pops connection monitoring for logging and metrics (e.g., Prometheus).
- **Sessions**: Keep track of prompts, commands, and history.
- **CI/CD Pipelines**: Integrations with popular tools like Jenkins and GitHub Actions.
## ๐ค Contributing
We welcome contributions! Please see our [CONTRIBUTING.md](docs/contributing/CONTRIBUTING.md) for guidelines on how to get started.
## ๐ชช License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## ๐ Examples
Please see [Prompt-Ops examples](docs/examples/README.md) for details.