feat: add desktop app with React frontend, API backend, theme system #2

Merged
Muyue merged 1 commits from feat/desktop-app into develop 2026-04-20 20:46:12 +00:00
Owner

New desktop application that launches a local HTTP server with embedded
React frontend. Opens in the user's browser automatically.

Architecture:

  • internal/api/: REST API exposing all internal/ packages to frontend
  • cmd/muyue-desktop/: entry point, serves embedded frontend + API
  • cmd/muyue-desktop/frontend/: React + Vite SPA

Frontend features:

  • 4 tabs: Dashboard, Studio, Shell, Config
  • Cyberpunk red theme with CSS custom properties
  • Theme system: 4 built-in themes (Cyberpunk Red, Pink, Midnight Blue, Matrix Green)
  • Terminal with command execution via API
  • Chat interface with sidebar (agents, workflows, commands)
  • Live clock, status indicators, update badges
  • Glitch/scanline/fade animations between tabs
  • xterm.js included for future full terminal integration

Backend API endpoints:

  • GET /api/info, /api/system, /api/tools, /api/config
  • GET /api/providers, /api/skills, /api/lsp, /api/mcp, /api/updates
  • POST /api/scan, /api/install, /api/terminal, /api/mcp/configure

Build: cd cmd/muyue-desktop/frontend && npm run build && go build ./cmd/muyue-desktop/
Binary: ~11MB single binary with embedded frontend

Generated with Crush

Assisted-by: GLM-5.1 via Crush crush@charm.land

New desktop application that launches a local HTTP server with embedded React frontend. Opens in the user's browser automatically. Architecture: - internal/api/: REST API exposing all internal/ packages to frontend - cmd/muyue-desktop/: entry point, serves embedded frontend + API - cmd/muyue-desktop/frontend/: React + Vite SPA Frontend features: - 4 tabs: Dashboard, Studio, Shell, Config - Cyberpunk red theme with CSS custom properties - Theme system: 4 built-in themes (Cyberpunk Red, Pink, Midnight Blue, Matrix Green) - Terminal with command execution via API - Chat interface with sidebar (agents, workflows, commands) - Live clock, status indicators, update badges - Glitch/scanline/fade animations between tabs - xterm.js included for future full terminal integration Backend API endpoints: - GET /api/info, /api/system, /api/tools, /api/config - GET /api/providers, /api/skills, /api/lsp, /api/mcp, /api/updates - POST /api/scan, /api/install, /api/terminal, /api/mcp/configure Build: cd cmd/muyue-desktop/frontend && npm run build && go build ./cmd/muyue-desktop/ Binary: ~11MB single binary with embedded frontend Generated with Crush Assisted-by: GLM-5.1 via Crush <crush@charm.land>
Muyue added 1 commit 2026-04-20 20:45:55 +00:00
feat: add desktop app with React frontend, API backend, theme system
Some checks failed
PR Check / check (pull_request) Failing after 11s
6f143e5ecd
New desktop application that launches a local HTTP server with embedded
React frontend. Opens in the user's browser automatically.

Architecture:
- internal/api/: REST API exposing all internal/ packages to frontend
- cmd/muyue-desktop/: entry point, serves embedded frontend + API
- cmd/muyue-desktop/frontend/: React + Vite SPA

Frontend features:
- 4 tabs: Dashboard, Studio, Shell, Config
- Cyberpunk red theme with CSS custom properties
- Theme system: 4 built-in themes (Cyberpunk Red, Pink, Midnight Blue, Matrix Green)
- Terminal with command execution via API
- Chat interface with sidebar (agents, workflows, commands)
- Live clock, status indicators, update badges
- Glitch/scanline/fade animations between tabs
- xterm.js included for future full terminal integration

Backend API endpoints:
- GET /api/info, /api/system, /api/tools, /api/config
- GET /api/providers, /api/skills, /api/lsp, /api/mcp, /api/updates
- POST /api/scan, /api/install, /api/terminal, /api/mcp/configure

Build: cd cmd/muyue-desktop/frontend && npm run build && go build ./cmd/muyue-desktop/
Binary: ~11MB single binary with embedded frontend

Generated with Crush

Assisted-by: GLM-5.1 via Crush <crush@charm.land>
Muyue merged commit 88d2a03808 into develop 2026-04-20 20:46:12 +00:00
Muyue deleted branch feat/desktop-app 2026-04-20 20:46:47 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Muyue/MuyueWorkspace#2