Self-hosted SSH + SFTP + RDP in a browser — MobaXterm replacement
- guacamole.service.ts: raw TCP client to guacd on GUACD_HOST:GUACD_PORT. Performs SELECT rdp → CONNECT handshake with full RDP parameter set. Provides encode/decode helpers for length-prefixed Guacamole wire format. - rdp.gateway.ts: WebSocket gateway at /ws/rdp. JWT auth via WsAuthGuard. Handles connect (host lookup, credential decrypt, guacd tunnel open) and guac (bidirectional instruction forwarding). Updates lastConnectedAt and creates ConnectionLog on connect (same pattern as SSH gateway). - rdp.module.ts: imports VaultModule, ConnectionsModule, AuthModule. - app.module.ts: registers RdpModule. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| backend | ||
| docs/superpowers | ||
| frontend | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yml | ||
| Dockerfile | ||
| README.md | ||
| Remote-Spec.md | ||
Wraith
Self-hosted MobaXterm replacement — SSH + SFTP + RDP in a browser.
Stack
- Backend: NestJS 10, Prisma 6, PostgreSQL 16, ssh2, guacd
- Frontend: Nuxt 3 (SPA), PrimeVue 4, Tailwind CSS, xterm.js 5
Quick Start
cp .env.example .env
# Edit .env with real secrets
docker compose up -d
Default credentials: admin@wraith.local / wraith
Development
# Backend
cd backend && npm install && npm run dev
# Frontend
cd frontend && npm install && npm run dev