- rdp.ts: dynamically acknowledge guacd's VERSION_x_y_z parameter by
echoing it back in the connect instruction. Without this, guacd 1.5+
runs in legacy mode which crashes FreeRDP on modern Windows targets.
Also add disable-glyph-caching and resize-method params.
- docker-compose: upgrade guacd from 1.5.4 to latest to get FreeRDP 3.x
which fixes known crash bugs with Windows 11 22H2+ / Server 2022
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- docker-compose: override guacd command with -L debug flag so FreeRDP
errors are visible in `docker logs mremotify-guacd-1`
- rdp.ts: log RDP host/user, arg names, ready instruction, proxy-mode
entry, and any error/disconnect instructions from guacd
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Inline tsconfig.base.json settings into backend/tsconfig.json so the
Docker build (which only copies backend/) can resolve them
- Replace default imports of Node built-ins (crypto, net) with named imports
- Replace default bcrypt import with named imports (compare, hash)
- Switch @fastify/websocket from v8 to v7 (SocketStream API) to match
Fastify v4 peer dependency; update WebSocket handler signatures accordingly
- Remove obsolete `version` key from docker-compose.yml
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sets up the complete mRemotify project — a browser-based remote
connection manager — with a working pnpm workspace monorepo:
Frontend (React + TypeScript + Vite + Ant Design 5):
- Login page with JWT auth
- Resizable sidebar with drag-and-drop connection tree (folders + connections)
- Tabbed session area (SSH via xterm.js, RDP via guacamole-common-js)
- Connection CRUD modal with SSH/RDP-specific fields
- Zustand store for auth, tree data, and open sessions
Backend (Fastify + TypeScript + Prisma + PostgreSQL):
- JWT authentication (login + /me endpoint)
- Full CRUD REST API for folders (self-referencing) and connections
- AES-256-CBC password encryption at rest
- WebSocket proxy for SSH sessions (ssh2 <-> xterm.js)
- WebSocket proxy for RDP sessions (guacd TCP handshake + bidirectional relay)
- Admin user seeding on first start
Infrastructure:
- Docker Compose: postgres (healthcheck) + guacd + backend + frontend/nginx
- nginx: serves SPA, proxies /api and /ws (with WebSocket upgrade) to backend
- .env.example with all required variables documented
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>