Terminal Dashboard
Terminal Dashboard v2.0.0 — a data toolkit for building data pipelines and tracking data operations from the command line. Ingest, transform, query, filter, aggregate, and visualize your data — all logged locally with timestamps for full traceability.
Why Terminal Dashboard?
- Works entirely offline — your data never leaves your machine
- Simple command-line interface, no GUI needed
- Timestamped logging for every operation
- Export to JSON, CSV, or plain text anytime
- Automatic history and activity tracking
- Searchable records across all data pipeline stages
Getting Started
# See all available commands
terminal-dashboard help
# Check current health status
terminal-dashboard status
# View summary statistics
terminal-dashboard stats
Commands
Data Pipeline Commands
Each command works in two modes: run without arguments to view recent entries, or pass input to record a new entry.
| Command |
Description |
terminal-dashboard ingest <input> |
Record data ingestion events (file imports, API pulls, stream captures) |
terminal-dashboard transform <input> |
Log data transformations (format conversions, cleaning steps, enrichments) |
terminal-dashboard query <input> |
Record queries executed (SQL, API calls, search operations) |
terminal-dashboard filter <input> |
Log filter operations (row filtering, column selection, deduplication) |
terminal-dashboard aggregate <input> |
Record aggregation operations (group-by, rollups, summaries) |
terminal-dashboard visualize <input> |
Log visualization outputs (charts generated, dashboards updated) |
terminal-dashboard export <input> |
Record export operations (file writes, API pushes, report generation) |
terminal-dashboard sample <input> |
Log sampling operations (random samples, stratified picks, head/tail) |
terminal-dashboard schema <input> |
Record schema operations (schema detection, validation rules, migrations) |
terminal-dashboard validate <input> |
Log validation results (data quality checks, constraint tests, anomalies) |
terminal-dashboard pipeline <input> |
Record pipeline operations (end-to-end runs, DAG executions, orchestration) |
terminal-dashboard profile <input> |
Log profiling results (data profiling, column stats, distribution analysis) |
Utility Commands
| Command |
Description |
terminal-dashboard stats |
Show summary statistics across all log categories |
terminal-dashboard export <fmt> |
Export all data (formats: json, csv, txt) |
terminal-dashboard search <term> |
Search across all entries for a keyword |
terminal-dashboard recent |
Show the 20 most recent history entries |
terminal-dashboard status |
Health check — version, data dir, entry count, disk usage |
terminal-dashboard help |
Show the built-in help message |
terminal-dashboard version |
Print version (v2.0.0) |
Data Storage
All data is stored locally in ~/.local/share/terminal-dashboard/. Structure:
ingest.log, transform.log, query.log, etc. — one log file per command, pipe-delimited (timestamp|value)
history.log — unified activity log across all commands
export.json / export.csv / export.txt — generated export files
Each entry is stored as YYYY-MM-DD HH:MM|<input>. Use export to back up your data anytime.
Requirements
- Bash 4+ (uses
set -euo pipefail)
- Standard Unix utilities (
date, wc, du, tail, grep, sed, cat)
- No external dependencies or internet access needed
When to Use
- Data pipeline logging — Track every step of your ETL/ELT pipeline from ingestion through transformation to export, creating a complete audit trail
- Data quality monitoring — Use
validate and profile to record data quality checks and catch anomalies before they reach production
- Schema change tracking — Log schema migrations and validation rules so you always know what changed and when
- Ad-hoc analysis journaling — Record queries, filters, and aggregations during exploratory analysis so you can reproduce your findings later
- Pipeline debugging — When a data pipeline breaks, search through ingest, transform, and export logs to pinpoint where things went wrong
Examples
# Record a data ingestion event
terminal-dashboard ingest "Loaded 2.4M rows from sales_2024.csv into staging"
# Log a transformation step
terminal-dashboard transform "Normalized phone numbers, deduplicated by email — 12k dupes removed"
# Record a query
terminal-dashboard query "SELECT region, SUM(revenue) FROM sales GROUP BY region — 8 rows returned"
# Log a validation check
terminal-dashboard validate "Schema check passed: all 47 columns match expected types"
# Record a pipeline run
terminal-dashboard pipeline "Daily ETL completed: ingest→clean→aggregate→export in 4m 23s"
# Export everything to JSON
terminal-dashboard export json
# Search logs for a dataset
terminal-dashboard search "sales_2024"
Output
All commands output to stdout. Redirect to a file if needed:
terminal-dashboard stats > pipeline-report.txt
terminal-dashboard export csv
Configuration
Set TERMINAL_DASHBOARD_DIR environment variable to override the default data directory (~/.local/share/terminal-dashboard/).
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com
1---
2version: "1.0.0"
3name: sampler
4description: "Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file. terminal-dashboard, go, alerting, charts, cmd."
5metadata:
6 source: https://skillmd.com/skills/bytesagain/sampler
7---
8
9# Terminal Dashboard
10
11Terminal Dashboard v2.0.0 — a data toolkit for building data pipelines and tracking data operations from the command line. Ingest, transform, query, filter, aggregate, and visualize your data — all logged locally with timestamps for full traceability.
12
13## Why Terminal Dashboard?
14
15- Works entirely offline — your data never leaves your machine
16- Simple command-line interface, no GUI needed
17- Timestamped logging for every operation
18- Export to JSON, CSV, or plain text anytime
19- Automatic history and activity tracking
20- Searchable records across all data pipeline stages
21
22## Getting Started
23
24```bash
25# See all available commands
26terminal-dashboard help
27
28# Check current health status
29terminal-dashboard status
30
31# View summary statistics
32terminal-dashboard stats
33```
34
35## Commands
36
37### Data Pipeline Commands
38
39Each command works in two modes: run without arguments to view recent entries, or pass input to record a new entry.
40
41| Command | Description |
42|---------|-------------|
43| `terminal-dashboard ingest <input>` | Record data ingestion events (file imports, API pulls, stream captures) |
44| `terminal-dashboard transform <input>` | Log data transformations (format conversions, cleaning steps, enrichments) |
45| `terminal-dashboard query <input>` | Record queries executed (SQL, API calls, search operations) |
46| `terminal-dashboard filter <input>` | Log filter operations (row filtering, column selection, deduplication) |
47| `terminal-dashboard aggregate <input>` | Record aggregation operations (group-by, rollups, summaries) |
48| `terminal-dashboard visualize <input>` | Log visualization outputs (charts generated, dashboards updated) |
49| `terminal-dashboard export <input>` | Record export operations (file writes, API pushes, report generation) |
50| `terminal-dashboard sample <input>` | Log sampling operations (random samples, stratified picks, head/tail) |
51| `terminal-dashboard schema <input>` | Record schema operations (schema detection, validation rules, migrations) |
52| `terminal-dashboard validate <input>` | Log validation results (data quality checks, constraint tests, anomalies) |
53| `terminal-dashboard pipeline <input>` | Record pipeline operations (end-to-end runs, DAG executions, orchestration) |
54| `terminal-dashboard profile <input>` | Log profiling results (data profiling, column stats, distribution analysis) |
55
56### Utility Commands
57
58| Command | Description |
59|---------|-------------|
60| `terminal-dashboard stats` | Show summary statistics across all log categories |
61| `terminal-dashboard export <fmt>` | Export all data (formats: `json`, `csv`, `txt`) |
62| `terminal-dashboard search <term>` | Search across all entries for a keyword |
63| `terminal-dashboard recent` | Show the 20 most recent history entries |
64| `terminal-dashboard status` | Health check — version, data dir, entry count, disk usage |
65| `terminal-dashboard help` | Show the built-in help message |
66| `terminal-dashboard version` | Print version (v2.0.0) |
67
68## Data Storage
69
70All data is stored locally in `~/.local/share/terminal-dashboard/`. Structure:
71
72- **`ingest.log`**, **`transform.log`**, **`query.log`**, etc. — one log file per command, pipe-delimited (`timestamp|value`)
73- **`history.log`** — unified activity log across all commands
74- **`export.json`** / **`export.csv`** / **`export.txt`** — generated export files
75
76Each entry is stored as `YYYY-MM-DD HH:MM|<input>`. Use `export` to back up your data anytime.
77
78## Requirements
79
80- Bash 4+ (uses `set -euo pipefail`)
81- Standard Unix utilities (`date`, `wc`, `du`, `tail`, `grep`, `sed`, `cat`)
82- No external dependencies or internet access needed
83
84## When to Use
85
861. **Data pipeline logging** — Track every step of your ETL/ELT pipeline from ingestion through transformation to export, creating a complete audit trail
872. **Data quality monitoring** — Use `validate` and `profile` to record data quality checks and catch anomalies before they reach production
883. **Schema change tracking** — Log schema migrations and validation rules so you always know what changed and when
894. **Ad-hoc analysis journaling** — Record queries, filters, and aggregations during exploratory analysis so you can reproduce your findings later
905. **Pipeline debugging** — When a data pipeline breaks, search through ingest, transform, and export logs to pinpoint where things went wrong
91
92## Examples
93
94```bash
95# Record a data ingestion event
96terminal-dashboard ingest "Loaded 2.4M rows from sales_2024.csv into staging"
97
98# Log a transformation step
99terminal-dashboard transform "Normalized phone numbers, deduplicated by email — 12k dupes removed"
100
101# Record a query
102terminal-dashboard query "SELECT region, SUM(revenue) FROM sales GROUP BY region — 8 rows returned"
103
104# Log a validation check
105terminal-dashboard validate "Schema check passed: all 47 columns match expected types"
106
107# Record a pipeline run
108terminal-dashboard pipeline "Daily ETL completed: ingest→clean→aggregate→export in 4m 23s"
109
110# Export everything to JSON
111terminal-dashboard export json
112
113# Search logs for a dataset
114terminal-dashboard search "sales_2024"
115```
116
117## Output
118
119All commands output to stdout. Redirect to a file if needed:
120
121```bash
122terminal-dashboard stats > pipeline-report.txt
123terminal-dashboard export csv
124```
125
126## Configuration
127
128Set `TERMINAL_DASHBOARD_DIR` environment variable to override the default data directory (`~/.local/share/terminal-dashboard/`).
129
130---
131Powered by BytesAgain | bytesagain.com | hello@bytesagain.com