MCPcopy Index your code
hub / github.com/VincenzoManto/Datacmd

github.com/VincenzoManto/Datacmd @v0.0.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.3.1 ↗ · + Follow
106 symbols 238 edges 7 files 72 documented · 68%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🪄 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, the web data engine that transform data analysis into simple flows.


✨ Demo

screen-gif
📈 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 page and download the latest binary for your OS.

Then:

# 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)

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

# 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

git clone https://github.com/VincenzoManto/Datacmd.git
cd datacmd
go mod tidy

🪄 Quick Start

Example: stock.json

[
  {"ticker": "AAPL", "price": 175.50, "volume": 1200000},
  {"ticker": "GOOG", "price": 140.25, "volume": 950000},
  {"ticker": "MSFT", "price": 280.75, "volume": 1500000}
]
go run main.go --generate --source=stock.json

Instantly shows:

  • 📋 Table of stocks
  • 🎯 Volume gauges
  • 🍰 Market share pie chart

🎨 YAML Customization

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, 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

🤝 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

Extension points exported contracts — how you extend this code

DataSource (Interface)
DataSource defines the contract for any data source. [8 implementers]
generate/generate.go
DataSource (Interface)
(no doc) [8 implementers]
loader/loader.go
TableOption (Interface)
TableOption is used to configure the Table widget. [2 implementers]
widgets/table.go
RadarOption (Interface)
RadarOption is used to provide options to the radar widget. [2 implementers]
widgets/radar.go

Core symbols most depended-on inside this repo

periodic
called by 8
main.go
rollText
called by 2
main.go
NewCell
called by 2
widgets/table.go
drawRow
called by 2
widgets/table.go
nextPage
called by 2
widgets/table.go
prevPage
called by 2
widgets/table.go
Values
called by 2
widgets/pie.go
set
called by 2
widgets/radar.go

Shape

Method 39
Function 32
Struct 29
Interface 5
FuncType 1

Languages

Go100%

Modules by API surface

widgets/table.go20 symbols
widgets/radar.go20 symbols
generate/generate.go17 symbols
main.go16 symbols
loader/loader.go15 symbols
widgets/pie.go11 symbols
widgets/funnel.go7 symbols

For agents

$ claude mcp add Datacmd \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page