From 8923c15bd31ce96daf34f6e22e006555f18feebc Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:26:25 +0000 Subject: [PATCH 1/3] Initial plan From b181095f1a9e90b1ec0dc032353832fc367e317e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 9 Feb 2026 18:37:37 +0000 Subject: [PATCH 2/3] Add web-based terminal with WebSocket shell access - Create terminal package with WebSocket-based shell handler - Add terminal page with mobile-friendly UI (responsive CSS) - Register terminal routes in main.go (admin-only access) - Add terminal navigation entry in sidebar - Add terminal icon - Add unit tests for terminal package Co-authored-by: asim <17530+asim@users.noreply.github.com> --- app/app.go | 1 + app/html/terminal.png | Bin 0 -> 204 bytes main.go | 10 +- terminal/terminal.go | 399 ++++++++++++++++++++++++++++++++++++++ terminal/terminal_test.go | 78 ++++++++ 5 files changed, 487 insertions(+), 1 deletion(-) create mode 100644 app/html/terminal.png create mode 100644 terminal/terminal.go create mode 100644 terminal/terminal_test.go diff --git a/app/app.go b/app/app.go index a44c027..2ae6410 100644 --- a/app/app.go +++ b/app/app.go @@ -217,6 +217,7 @@ var Template = ` News Video Wallet + Terminal