{"id":51004698,"url":"https://github.com/k1lgor/pi-container-dashboard","last_synced_at":"2026-06-20T19:01:45.223Z","repository":{"id":355602245,"uuid":"1228776925","full_name":"k1lgor/pi-container-dashboard","owner":"k1lgor","description":"🐳 A pi coding agent extension for managing Docker, Podman, and Nerdctl containers — list, logs, prune, stats, inspect, and more — right from your AI agent.","archived":false,"fork":false,"pushed_at":"2026-05-04T11:50:11.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-04T13:31:31.277Z","etag":null,"topics":["ai-agent","container-management","containers","devops","docker","nerdctl","pi-coding-agent","pi-extension","podman","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/k1lgor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-04T11:16:38.000Z","updated_at":"2026-05-04T11:53:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/k1lgor/pi-container-dashboard","commit_stats":null,"previous_names":["k1lgor/pi-container-dashboard"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/k1lgor/pi-container-dashboard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1lgor%2Fpi-container-dashboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1lgor%2Fpi-container-dashboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1lgor%2Fpi-container-dashboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1lgor%2Fpi-container-dashboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/k1lgor","download_url":"https://codeload.github.com/k1lgor/pi-container-dashboard/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/k1lgor%2Fpi-container-dashboard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34581934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ai-agent","container-management","containers","devops","docker","nerdctl","pi-coding-agent","pi-extension","podman","typescript"],"created_at":"2026-06-20T19:01:42.244Z","updated_at":"2026-06-20T19:01:45.213Z","avatar_url":"https://github.com/k1lgor.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🐳 Container Dashboard\n\nA **pi coding agent** extension for managing Docker and Podman containers without leaving your terminal.\n\n![](https://img.shields.io/badge/pi-0.70%2B-blue)\n![](https://img.shields.io/badge/docker-supported-2496ED)\n![](https://img.shields.io/badge/podman-supported-892CA0)\n![](https://img.shields.io/badge/nerdctl-supported-green)\n\n---\n\n## ✨ Features\n\n### 📊 TUI Widget\n\nLive container count in pi's sidebar — always know what's running at a glance.\n\n### 🎯 Commands\n\n| Command                  | What it does                       |\n| ------------------------ | ---------------------------------- |\n| `/docker:ps`             | List containers                    |\n| `/docker:logs \u003cname\u003e`    | Tail container logs                |\n| `/docker:prune`          | Remove stopped containers          |\n| `/docker:prune --images` | Remove unused images               |\n| `/docker:prune --all`    | System prune (containers + images) |\n| `/docker:images`         | List pulled images                 |\n| `/docker:stop \u003cname\u003e`    | Stop a container                   |\n| `/docker:start \u003cname\u003e`   | Start a container                  |\n| `/docker:restart \u003cname\u003e` | Restart a container                |\n| `/docker:stats`          | Show CPU/memory/network usage      |\n| `/docker:inspect \u003cname\u003e` | Show detailed container config     |\n| `/docker:top \u003cname\u003e`     | Show processes inside a container  |\n| `/docker:rm \u003cname\u003e`      | Remove a container or image        |\n| `/docker:detect`         | Re-detect the container runtime    |\n| `/docker:runtime`        | Show detected runtime info         |\n\n### 🤖 LLM Tools\n\nPi can also manage containers via these tools:\n`container_ps`, `container_logs`, `container_prune`, `container_prune_images`, `container_prune_system`, `container_images`, `container_stop`, `container_start`, `container_restart`, `container_stats`, `container_inspect`, `container_top`, `container_rm`\n\n### 🛡️ Safety\n\nDangerous commands (`rm -f`, `system prune -a`, etc.) are intercepted with a confirmation dialog before execution.\n\n---\n\n## 🔧 Requirements\n\n- **pi** v0.70+ — [pi coding agent](https://github.com/mariozechner/pi-coding-agent)\n- **Docker** or **Podman** or **Nerdctl** installed and running\n\n---\n\n## 📦 Installation\n\n### From npm (recommended)\n\n```bash\npi install npm:container-dashboard\n```\n\n### From GitHub\n\n```bash\npi install git:github.com/k1lgor/pi-container-dashboard\n```\n\n### Or load locally\n\n```bash\npi -e ./path/to/index.ts\n```\n\nThe extension auto-detects `docker` → `podman` → `nerdctl` at startup.\n\n---\n\n## 🚀 Quick Start\n\n```bash\n# Start pi\npi\n\n# See your containers\n/docker:ps\n\n# Check resource usage\n/docker:stats\n\n# Clean up\n/docker:prune --all\n```\n\n---\n\n## 🧱 Project Structure\n\n```\ncontainer-dashboard/\n├── index.ts       # Entry point, permission gates\n├── runtime.ts     # Runtime detection, CLI abstraction\n├── commands.ts    # /docker:* commands\n├── tools.ts       # LLM tools\n├── widget.ts      # TUI widget\n├── PLAN.md        # Original design doc\n└── README.md      # This file\n```\n\n---\n\n## 📄 License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1lgor%2Fpi-container-dashboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fk1lgor%2Fpi-container-dashboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fk1lgor%2Fpi-container-dashboard/lists"}