{"id":16988654,"url":"https://github.com/rafaelrcamargo/ds","last_synced_at":"2025-07-09T21:34:02.809Z","repository":{"id":196393784,"uuid":"694964378","full_name":"rafaelrcamargo/ds","owner":"rafaelrcamargo","description":"Think \"docker stats\" but with beautiful, real-time charts into your terminal. 📊","archived":false,"fork":false,"pushed_at":"2025-07-08T02:12:07.000Z","size":13433,"stargazers_count":34,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-08T04:25:35.130Z","etag":null,"topics":["cli","docker","hacktoberfest","rust","stats"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/docker-stats","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafaelrcamargo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2023-09-22T04:09:20.000Z","updated_at":"2025-07-08T02:12:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"2108d501-f6dd-4281-aca0-24825ac3bbd4","html_url":"https://github.com/rafaelrcamargo/ds","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.26530612244897955","last_synced_commit":"d16431556bb44cb15f0717a3adb3d753a4506bf8"},"previous_names":["rafaelrcamargo/ds"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rafaelrcamargo/ds","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrcamargo%2Fds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrcamargo%2Fds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrcamargo%2Fds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrcamargo%2Fds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaelrcamargo","download_url":"https://codeload.github.com/rafaelrcamargo/ds/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelrcamargo%2Fds/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264503950,"owners_count":23618762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","docker","hacktoberfest","rust","stats"],"created_at":"2024-10-14T03:04:30.021Z","updated_at":"2025-07-09T21:34:02.803Z","avatar_url":"https://github.com/rafaelrcamargo.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# 📊 `ds` - A Terminal-Based Docker Stats Viewer\n\n_Visualize container metrics with real-time charts directly in your terminal._\n\n  \u003cimg src=\"./docs/assets/demo.png\" alt=\"demo\" /\u003e\n\u003c/div\u003e\n\n\u003e [!WARNING]\n\u003e `ds` is now stable and no longer under active development. It is feature-complete and should function as expected. If you encounter any issues, please [open an issue](https://github.com/rafaelrcamargo/ds/issues), and pull requests are welcome.\n\n## Overview\n\n`ds` provides real-time monitoring of Docker container statistics, rendering them as charts in the terminal. It serves as a visual alternative to the standard `docker stats` command, making it easier to analyze resource utilization at a glance.\n\nThis project was inspired by the need for a visual statistics tool similar to Docker Desktop's, especially when using lighter container management solutions like [OrbStack](https://orbstack.dev/).\n\n## Features\n\n- **Real-Time charting**: Visualize CPU, memory, network, and I/O usage with dynamic charts.\n- **Customizable Views**: Choose between compact and full layouts to control the level of detail.\n- **Container Filtering**: Display statistics for all containers or specify a subset by name or ID.\n- **Rust-Powered**: Built with Rust for performance and reliability.\n\n## Installation\n\n\u003e [!NOTE]\n\u003e `ds` is available on [crates.io](https://crates.io/crates/docker-stats) as `docker-stats`.\n\n### From crates.io\n\n```bash\ncargo install docker-stats\n```\n\n### From Source\n\nEnsure you have [Rust and Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) installed.\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/rafaelrcamargo/ds\n   cd ds\n   ```\n\n2. Build and install the binary:\n\n   ```bash\n   cargo install --path .\n   ```\n\n3. Run the application:\n\n   ```bash\n   ds\n   ```\n\n## Usage\n\nThe default command displays statistics for all running containers:\n\n```bash\nds\n```\n\nTo view all available options, run:\n\n```bash\nds --help\n```\n\n### Examples\n\n#### Compact View\n\nFor a minimal overview of all containers, use the compact flag:\n\n```bash\nds -c\n```\n\n#### Detailed View for Specific Containers\n\nTo monitor specific containers with full details, including network and I/O charts, provide their names or IDs:\n\n```bash\nds -f 5f03524a8fbe api-1\n```\n\n## Known Issues\n\n\u003cdetails open\u003e\n\u003csummary\u003e\n\n### Slow Startup Time\n\n\u003c/summary\u003e\n\n`ds` may experience a startup delay while it establishes a connection to the Docker daemon and begins receiving statistics. This behavior is inherent to how `docker stats` operates and is consistent with the performance of both OrbStack and Docker Desktop.\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003e\n\n### Network Chart Limitations\n\n\u003c/summary\u003e\n\nThe network chart does not display data for containers running in `network_mode: host`. Metrics will only be populated for containers using the `bridge` network. This is a known limitation related to how Docker exposes network statistics.\n\nFor more context on `network_mode: host` on macOS, see the discussion in the [Docker roadmap](https://github.com/docker/roadmap/issues/238).\n\n\u003c/details\u003e\n\n## Contributing\n\nContributions are welcome! If you have suggestions or find a bug, please [open an issue](https://github.com/rafaelrcamargo/ds/issues) or submit a pull request.\n\n## License\n\nThis project is licensed under the [Apache License 2.0](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelrcamargo%2Fds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaelrcamargo%2Fds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelrcamargo%2Fds/lists"}