Butterfly Dev
b7d6c950cf
fix: terminal now auto-scrolls on output (was missing AfterViewChecked)
2026-04-07 04:00:51 +00:00
Butterfly Dev
f3da41da01
fix: taskbar clock now updates every second (was computed signal that never changed)
2026-04-07 04:00:30 +00:00
Butterfly Dev
5ea4cdfa0d
cargo: remove unused rand and tokio-stream dependencies
2026-04-07 03:58:46 +00:00
Butterfly Dev
4bc5e099cc
api: wire up real agent channel for HUD commands, add connected_viewers to health
2026-04-07 03:58:33 +00:00
Butterfly Dev
2344060d73
ws/handler: implement real bidirectional relay — mpsc channels, viewer catch-up, select! loop
2026-04-07 03:57:45 +00:00
Butterfly Dev
29eda76675
state: add viewer/agent channel registries, broadcast/forward methods, fix stats()
2026-04-07 03:57:00 +00:00
Butterfly Dev
fc15cadf6a
docs: update progress.md — Phase 2 Angular frontend complete, both backend and frontend build successfully
2026-04-07 03:46:48 +00:00
Butterfly Dev
dcfaceb395
desktop: production build works (328KB, 85KB gzip), configure outputPath dist/browser, update .gitignore
2026-04-07 03:45:21 +00:00
Butterfly Dev
f4b7e2542e
desktop: fix build errors — FormsModule for settings, nativeWindow alias, move provideHttpClient to appConfig
2026-04-07 03:44:31 +00:00
Butterfly Dev
b792b36eae
desktop: global styles (scrollbar, reset, animations), update index.html with Butterfly branding
2026-04-07 03:41:11 +00:00
Butterfly Dev
8a9429c946
desktop: components/desktop — main shell: window rendering, app launcher, session picker dialog, animated gradient background
2026-04-07 03:40:11 +00:00
Butterfly Dev
eea8197ece
desktop: components/apps/browser — simple web browser with URL bar, navigation, iframe sandbox
2026-04-07 03:38:14 +00:00
Butterfly Dev
6beb93b16f
desktop: components/apps/settings — settings panel with display/audio/network/about sections
2026-04-07 03:37:09 +00:00
Butterfly Dev
0048eabb60
desktop: components/apps/file-explorer — dual-pane file browser with navigation, icons, selection, status bar
2026-04-07 03:35:30 +00:00
Butterfly Dev
283e53d1dc
desktop: components/apps/text-editor — code editor with toolbar, cursor position, dark theme
2026-04-07 03:34:27 +00:00
Butterfly Dev
7496fbeced
desktop: components/apps/terminal — basic terminal emulator with command history, help/clear/echo/date/uptime/whoami
2026-04-07 03:33:40 +00:00
Butterfly Dev
6b4c6419ce
desktop: components/remote-display — canvas-based display viewer, mouse/keyboard HUD forwarding, FPS counter, connection status overlays
2026-04-07 03:32:23 +00:00
Butterfly Dev
8ad129ed17
desktop: components/start-menu — Windows 11-style centered start menu with app grid, search, animated slide-up
2026-04-07 03:31:11 +00:00
Butterfly Dev
490317b3ea
desktop: components/taskbar — Windows 11-style taskbar with start button, quick launch, window list, system tray clock
2026-04-07 03:29:54 +00:00
Butterfly Dev
b5e23e16b7
desktop: components/window — draggable/resizable window chrome with title bar, min/max/close controls, dark theme
2026-04-07 03:28:44 +00:00
Butterfly Dev
7991237978
desktop: app.ts/html/scss — root component with DesktopComponent, HTTP provider, global reset
2026-04-07 03:27:30 +00:00
Butterfly Dev
9d8aaa5c1a
desktop: services/window-manager.service.ts — window lifecycle (open/close/focus/minimize/maximize/drag/resize)
2026-04-07 03:26:59 +00:00
Butterfly Dev
4041625f06
desktop: services/api.service.ts — HTTP client for REST endpoints matching backend
2026-04-07 03:26:25 +00:00
Butterfly Dev
710560d300
desktop: services/websocket.service.ts — WebSocket client matching Rust WsMessage protocol
2026-04-07 03:26:04 +00:00
Butterfly Dev
2b0537395d
desktop: scaffold Angular 21 project with routing and SCSS
2026-04-07 03:25:07 +00:00
Butterfly Dev
2da0c62f8f
docs: add progress.md with architecture diagram and phase checklist
2026-04-07 03:22:37 +00:00
Butterfly Dev
bae17ae444
server: fix pong bytes reference — backend now compiles cleanly (only dead_code warnings for future-use types)
2026-04-07 03:21:47 +00:00
Butterfly Dev
2e55d5c832
server: add .gitignore, fix compile errors — static paths, CORS !Clone, ws handler, route vs service, Debug derives, unused imports, remove target/
2026-04-07 03:19:52 +00:00
Butterfly Dev
fb5027b667
server: fix all compile errors — main.rs static paths, CORS !Clone, ws handler API, route vs service, Debug derives, unused imports
2026-04-07 03:17:14 +00:00
Butterfly Dev
b2f4f7ffa6
server: fix Cargo.toml dependency versions — actix-ws 0.4, remove rustls/multipart features
2026-04-07 03:14:04 +00:00
Butterfly Dev
bb9b7582b5
server: fix unused imports in ws/handler.rs and api/sessions.rs
2026-04-07 03:13:27 +00:00
Butterfly Dev
0c35db1746
server: main.rs — Actix-web entry point with CORS, compression, static serving, SPA fallback; placeholder static/index.html
2026-04-07 03:12:35 +00:00
Butterfly Dev
a0b834ed15
server: stream/ — StreamStats tracker for display/audio frame counting, byte relay stats
2026-04-07 03:11:44 +00:00
Butterfly Dev
74591a45ab
server: ws/handler.rs — full WebSocket handler: agent/viewer connect, display/audio frame relay, HUD forwarding, heartbeat timeout
2026-04-07 03:10:46 +00:00
Butterfly Dev
e00fbf43ff
server: ws/mod.rs — WebSocket route /ws/{session_id}
2026-04-07 03:09:51 +00:00
Butterfly Dev
94a992d72a
server: api/sessions.rs — CRUD endpoints + HUD command forwarding
2026-04-07 03:09:32 +00:00
Butterfly Dev
40bf516264
server: api/health.rs — GET /api/health returns uptime, session/agent counts
2026-04-07 03:09:08 +00:00
Butterfly Dev
843c7bbbf2
server: api/mod.rs — route scope /api with health + session endpoints
2026-04-07 03:08:57 +00:00
Butterfly Dev
ff476f12dc
server: state.rs — AppState with DashMap sessions/agents, FrameBuffer ring for late-joiners
2026-04-07 03:08:36 +00:00
Butterfly Dev
fdde57c7e2
server: config.rs — env-based configuration with BUTTERFLY_ prefix defaults
2026-04-07 03:08:03 +00:00
Butterfly Dev
5c8f84848f
server: models.rs — Session, Agent, WsMessage types, API response helpers
2026-04-07 03:07:22 +00:00
Butterfly Dev
bf8e9f79f8
server: Cargo.toml — full dependency list for Actix 4, WebSocket, CORS, DashMap, etc.
2026-04-07 03:06:45 +00:00
Butterfly Dev
578a6bde90
init: scaffold Rust server with cargo init
2026-04-07 03:06:12 +00:00
Butterfly Dev
bbfeabc6da
Clean slate - prepare for Butterfly project
2026-04-07 03:05:59 +00:00
28bb0ad1e2
rm old
2026-04-06 16:06:22 -07:00
Z User
01b72bc3c1
Clean slate — content moved to dedicated repos
2026-04-06 22:32:13 +00:00
Z User
7b758ebe01
Add standalone RustDesk web client (reverse-engineered)
...
Complete browser-based remote desktop client built from protocol analysis:
- Protobuf message definitions (75+ message types, 10 enums)
- NaCl encryption (Ed25519 + Curve25519 ECDH + XSalsa20-Poly1305)
- WebSocket signaling (hbbs) + relay (hbbr) connection lifecycle
- VP8/VP9/AV1 video decoding via ogvjs WASM + yuv-canvas WebGL
- Opus audio decoding via libopus WASM + Web Audio API
- Full mouse/keyboard input forwarding to protobuf events
- Connection dialog, status bar, toolbar, log panel UI
Also tracked web_deps (codec libraries) in rustdesk-as-ref/
2026-04-06 21:11:21 +00:00
04d0eac748
move dep
2026-04-06 12:58:23 -07:00
6218245549
add web deps
2026-04-06 12:54:40 -07:00
Z User
3f0893cdf7
refactor: switch from sidecar IPC to webview-based RustDesk integration
...
Previous approach used Tauri sidecar binary with IPC commands. New approach
uses the RustDesk web architecture correctly:
- RustDesk server runs as native binary in --server mode (ports 21115-21119)
- RustDesk web client (Flutter web build) loaded in a Tauri webview window
- Web client communicates with server via WebSocket (21118/21119)
Backend changes:
- main.rs: Simplified IPC - start/stop server + open webview window
- Removed tokio dependency (no longer needed)
- Removed sidecar bundle config from tauri.conf.json
Frontend changes:
- RemoteDesktop.js: Toggle server on/off, launch web client webview
- New UI with server control section + web client launcher
- Updated CSS for the new layout
- Updated HTML with server URL input and launch button
Documentation:
- Updated binaries/README.md with full build pipeline:
1. Build RustDesk native binary
2. Build Flutter web client
3. WASM bridge dependency note
4. Server ports reference
2026-04-06 19:35:50 +00:00