![](https://goreportcard.com/report/github.com/VincenzoManto/Datacmd) # πŸͺ„ Datacmd: auto-generative dashboards from different sources in your CMD **The Ultimate Terminal Dashboard** > Turn any data source into a stunning interactive dashboard, directly in your terminal. No fluff, no GUI, just pure terminal sorcery. ⚑ --- ## πŸš€ Why you'll love Datacmd Tired of bloated web UIs? `datacmd` brings data visualization back to where real devs live: **the terminal.** - ⚑ **One Command = Instant Dashboard** - πŸ“Š **Dynamic Widgets:** Tables, charts, gauges, pies, radars & more - 🧠 **Smart Layout Engine:** Auto-generates from data OR use YAML to customize - πŸ’» **Real-Time Feeds:** From APIs, metrics, JSON, CSV - 🧼 **Zero Setup:** No deps, no bullshit, just `go run` > Think of it like `htop` meets `grafana`, but cooler and terminal-native. > It follows my obsession with data, which I developed by building **[https://datastripes.com](Datastripes)**, the web data engine that transform data analysis into simple flows. --- ## ✨ Demo ![screen-gif](doc/screen.png) πŸ“ˆ Realtime stock tracker via `datacmd --source=stock.json` --- ## 🧰 Installation (pick your style) ### πŸ‘‰ Option 1: **Download prebuilt binary (Recommended)** No setup, no Go, no stress. > βœ… macOS Β· πŸͺŸ Windows Β· 🐧 Linux πŸ“¦ Go to the [**Releases**](https://github.com/VincenzoManto/datacmd/releases) page and download the latest binary for your OS. Then: ```bash # macOS / Linux chmod +x datacmd ./datacmd --generate --source=your-data.csv # Windows datacmd.exe --generate --source=your-data.csv ``` --- ### πŸ›  Option 2: **Run from source (for Developers)** ```bash git clone https://github.com/VincenzoManto/Datacmd.git cd datacmd go mod tidy go run main.go --generate --source=your-data.csv ``` ## 🧠 How it works ```bash # Auto-generate a dashboard from any CSV or JSON datacmd --generate --source=./data.csv # Or load your own layout datacmd --config=dashboard.yml ``` Data sources supported: * `.csv` πŸ“‚ * `.json` πŸ“œ * REST APIs 🌐 * Live system metrics (CPU, RAM, disk) πŸ–₯️ --- ## 🧩 Widgets you can use * πŸ“‹ **Table** – Paginated, sortable * 🎯 **Gauge** – Perfect for usage stats, thresholds * 🍰 **Pie Chart** – Categorical comparisons * πŸ“ˆ **Line Chart** – Trends, time-series * πŸ“‘ **Radar** – Multi-metric comparisons * πŸ’¬ **Text Box** – Notes, alerts, logs * πŸ”’ **Number** – Big, bold KPIs * πŸ“Š **Funnel** – Visualize stages in a process Customize via YAML, or let `--generate` do it all. --- ## πŸ“¦ Installation ```bash git clone https://github.com/VincenzoManto/Datacmd.git cd datacmd go mod tidy ``` --- ## πŸͺ„ Quick Start ### Example: `stock.json` ```json [ {"ticker": "AAPL", "price": 175.50, "volume": 1200000}, {"ticker": "GOOG", "price": 140.25, "volume": 950000}, {"ticker": "MSFT", "price": 280.75, "volume": 1500000} ] ``` ```bash go run main.go --generate --source=stock.json ``` Instantly shows: * πŸ“‹ Table of stocks * 🎯 Volume gauges * 🍰 Market share pie chart --- ## 🎨 YAML Customization ```yaml layout: - type: table source: stock.json fields: [ticker, price, volume] - type: pie title: "Market Share" field: volume ``` > Your dashboard, your rules. --- ## 🧬 Inspired by Datastripes. Rebuilt for Power Users. `datacmd` is the spiritual open source successor to [Datastripes](https://datastripes.com), reimagined with more muscle, more magic, and **zero fluff**. --- ## Linked resources Based on `datacmd`, with the team @ Datatripes, we developed our complete and curated [toolkit for data analysis](https://github.com/Datastripes/the-data-analyst-toolkit) ## 🀝 Community We’re building more than a CLI, we’re starting a movement. Star the repo ⭐, submit PRs, file issues, or just show us the wild dashboards you build. --- ## πŸ“ License Apache 2.0, free as in freedom and fast as in Go. ---

GitHub Repo stars GitHub downloads Last commit GitHub License

Star History Chart

```txt πŸ”₯ Stop using Grafana for your side projects I built `datacmd`, a tool that turns CSV/JSON/API into live dashboards, directly in your terminal βœ… No deps πŸͺ„ Auto layout ⚑ One command β†’ https://github.com/VincenzoManto/datacmd