 # πͺ 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  π 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. ---