From 9bc19d9448a74d204a60ceb59df4083ceb051f59 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Fri, 15 May 2026 14:17:19 -0500 Subject: [PATCH] Fix go install by building in a static dash --- .gitignore | 2 +- Makefile | 4 +- web/dist/index.html | 187 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 190 insertions(+), 3 deletions(-) create mode 100644 web/dist/index.html diff --git a/.gitignore b/.gitignore index a5e7ade..10df105 100644 --- a/.gitignore +++ b/.gitignore @@ -65,7 +65,7 @@ testdata/output/ # Web dashboard web/node_modules/ -web/dist/ +web/dist/assets/ # Claude Code settings .claude/settings.local.json diff --git a/Makefile b/Makefile index 2409c03..2623d16 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ web-dev: web-deps ## Start web dev server with API proxy web-clean: ## Clean web build artifacts @echo "$(BLUE)Cleaning web artifacts...$(NC)" - @rm -rf web/dist web/node_modules + @rm -rf web/dist/assets web/node_modules @echo "$(GREEN)✓ Web artifacts cleaned$(NC)" # Ensure web/dist exists for go:embed (stub if not built) @@ -253,7 +253,7 @@ clean: ## Clean build artifacts @echo "$(BLUE)Cleaning build artifacts...$(NC)" @rm -rf $(BUILD_DIR) @rm -rf $(DIST_DIR) - @rm -rf web/dist + @rm -rf web/dist/assets @rm -f $(BINARY_NAME) @echo "$(GREEN)✓ Cleaned$(NC)" diff --git a/web/dist/index.html b/web/dist/index.html new file mode 100644 index 0000000..4eba059 --- /dev/null +++ b/web/dist/index.html @@ -0,0 +1,187 @@ + + + + + +Dstl8 Lite — powered by Gonzo + + + +
+ + + LITE + +

Web Dashboard Available with Full Install

+

+ You're running Gonzo via go install, which includes the full TUI but can't bundle the web dashboard. + Install via one of the methods below to get the complete Dstl8 Lite experience. +

+ +
+
📊 Live Severity Heatmap
+
📋 Log Viewer & Search
+
🔍 Pattern Analysis
+
Real-time WebSocket Updates
+
🎨 Dark & Light Themes
+
🤖 AI-Powered Insights
+
+ +
+

Install with Full Dashboard

+
+ Homebrew + brew install gonzo +
+
+ Releases + github.com/control-theory/gonzo/releases +
+
+ From source + git clone && make build +
+
+ + + View Documentation + + + github.com/control-theory/gonzo + + +
+ Your TUI is fully functional — this page is only for the web dashboard.
+ Press d in the TUI to open this page, or ? for help. +
+
+ +