{"id":29092228,"url":"https://github.com/darshan-raul/cloud-cost-compass","last_synced_at":"2026-05-08T15:37:05.369Z","repository":{"id":301084572,"uuid":"1008101591","full_name":"darshan-raul/cloud-cost-compass","owner":"darshan-raul","description":"A Streamlit-powered dashboard designed to help organizations identify and eliminate hidden costs, optimize resource utilization, and gain comprehensive visibility into their cloud infrastructure spending","archived":false,"fork":false,"pushed_at":"2025-06-25T03:50:16.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-25T04:33:44.573Z","etag":null,"topics":["kubernetes","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darshan-raul.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-25T03:13:34.000Z","updated_at":"2025-06-25T03:50:19.000Z","dependencies_parsed_at":"2025-06-25T04:33:45.802Z","dependency_job_id":"ff2267c5-cd7f-433b-b845-9fac9f503ae8","html_url":"https://github.com/darshan-raul/cloud-cost-compass","commit_stats":null,"previous_names":["darshan-raul/cloud-cost-compass"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darshan-raul/cloud-cost-compass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan-raul%2Fcloud-cost-compass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan-raul%2Fcloud-cost-compass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan-raul%2Fcloud-cost-compass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan-raul%2Fcloud-cost-compass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darshan-raul","download_url":"https://codeload.github.com/darshan-raul/cloud-cost-compass/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darshan-raul%2Fcloud-cost-compass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32786240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kubernetes","python","streamlit"],"created_at":"2025-06-28T07:04:02.915Z","updated_at":"2026-05-08T15:37:05.358Z","avatar_url":"https://github.com/darshan-raul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloud Cost Compass\n\nA Multi-Cloud cost analysis and optimization platform powered by **Steampipe** (Data), **Powerpipe** (Visualization), and **LLM** (AI).\n\n## Features\n- **Multi-Cloud Support**: Single view for AWS, Azure, and GCP costs.\n- **Steampipe Data Layer**: Queries cloud APIs as a standardized SQL database.\n- **Powerpipe Dashboards**: Interactive, code-defined dashboards for deep cost analysis.\n- **AI Chatbot**: Natural language querying of your infrastructure data using OpenAI and LangChain.\n- **Kubernetes Native**: Fully containerized and deployable to any K8s cluster.\n\n## Architecture\n\n```mermaid\ngraph TD\n    User --\u003e|Views| PP[Powerpipe Dashboard]\n    User --\u003e|Chats| Bot[LLM Chatbot]\n    \n    PP -- SQL --\u003e SP[Steampipe Service]\n    Bot -- SQL --\u003e SP\n    \n    SP -- API --\u003e AWS\n    SP -- API --\u003e Azure\n    SP -- API --\u003e GCP\n    \n    Bot -- API --\u003e OpenAI\n```\n\n## Setup \u0026 Installation\n\n### Prerequisites\n- Kubernetes Cluster\n- Docker\n- Credentials for AWS, Azure, GCP\n- OpenAI API Key\n\n### 1. Configure Secrets\nEdit `infrastructure/k8s/00-secrets.yaml` and insert your actual credentials.\n```yaml\napiVersion: v1\nkind: Secret\nmetadata:\n  name: cloud-cost-secrets\nstringData:\n  AWS_ACCESS_KEY_ID: \"your-key\"\n  # ... other credentials\n  OPENAI_API_KEY: \"sk-...\"\n```\n\n### 2. Build Images\n```bash\n# Build Steampipe\ndocker build -t cloud-cost-compass/steampipe:latest -f steampipe/Dockerfile steampipe/\n\n# Build Powerpipe\ndocker build -t cloud-cost-compass/powerpipe:latest -f powerpipe/Dockerfile powerpipe/\n\n# Build Chatbot\ndocker build -t cloud-cost-compass/chatbot:latest -f chatbot/Dockerfile chatbot/\n```\n*Note: In a real environment, push these to a registry or use `minikube image load`.*\n\n### 3. Deploy to Kubernetes\n```bash\nkubectl apply -f infrastructure/k8s/\n```\n\n## Usage\n\n### Dashboards\nAccess the Powerpipe dashboard (default port 9033):\n- **Overview**: High-level cost summary across clouds.\n- **AWS/Azure/GCP Detail**: Service-level breakdown.\n\n### Chatbot\nThe Chatbot API runs on port 8000.\nExample query:\n```bash\ncurl -X POST http://\u003cchatbot-ip\u003e:8000/chat \\\n     -H \"Content-Type: application/json\" \\\n     -d '{\"message\": \"What is my most expensive AWS service this month?\"}'\n```\n\n## Directory Structure\n- `steampipe/`: Steampipe configuration and Dockerfile.\n- `powerpipe/`: Powerpipe module, dashboards, and Dockerfile.\n- `chatbot/`: Python FastAPI AI application.\n- `infrastructure/k8s/`: Kubernetes manifests.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarshan-raul%2Fcloud-cost-compass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarshan-raul%2Fcloud-cost-compass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarshan-raul%2Fcloud-cost-compass/lists"}