ENTERPRISE SECURITY

VSCodeMobile

VSAwayFromHome

An enterprise remote development platform -- VS Code on any device. Multi-layer security, AI-powered workflows, and a 63% bundle reduction that proved mobile development could be taken seriously.

63% Bundle Reduction
5 Layers Security Depth
1.2 MB Codebase
2 AIs Claude + Gemini
1 Star
Created Jun 26, 2025 JavaScript 100% MIT License
Full-Stack Architecture
Node.js Backend
JavaScript
Multi-Agent Tabs
PostgreSQL MCP
Claude AI
Gemini AI
VPN Integration
Zero-Trust Auth
Multi-Layer Defense
Security-first architecture with five defensive layers. Every request passes through path traversal protection, rate limiting, and audit trails before reaching application logic.
Path Traversal Protection CRITICAL
Sanitizes all file paths to prevent directory escape attacks. Normalizes, validates, and rejects any path that attempts to access files outside the workspace.
Rate Limiting HIGH
Per-route and per-IP rate limits prevent brute force and DDoS. Configurable thresholds with exponential backoff on repeated violations.
Audit Trails MEDIUM
Every file access, AI query, and configuration change is logged with timestamps, user context, and request metadata for forensic analysis.
Zero-Trust Architecture STANDARD
No implicit trust. Every request is authenticated and authorized independently, regardless of network origin or previous session state.
VPN Integration STANDARD
Optional VPN layer for network-level isolation. Encrypts all traffic between the mobile client and the development server.
security-middleware.js
// Multi-layer security pipeline const securityPipeline = [ pathTraversalGuard({ allowedRoots: ['/workspace', '/tmp/builds'], rejectPatterns: ['../', '~/', '/etc/'], }), rateLimiter({ windowMs: 15 * 60 * 1000, max: 100, backoff: 'exponential', }), auditLogger({ level: 'verbose', include: ['ip', 'user', 'path', 'method'], }), zeroTrustAuth(), ];
Multi-Agent Tab System
A tab-based architecture where each workspace tab is an independent agent with its own state, AI context, and file system scope.
💻
Node.js Backend
Express server with WebSocket support for real-time file sync and terminal streaming. Handles auth, file operations, and AI proxy.
📄
Multi-Agent Tabs
Each tab maintains its own AI context window. Switch between Claude and Gemini per-tab. Isolated state prevents cross-contamination.
🤖
AI Workflows
Claude for code generation and review. Gemini for large-context analysis. Automatic model routing based on task type and context size.
🗂
PostgreSQL MCP
Model Context Protocol integration with PostgreSQL for persistent workspace state, settings sync, and cross-device continuity.
📱
Mobile-First UI
Touch-optimized editor with gesture navigation, virtual keyboard integration, and responsive panels that adapt to any screen size.
📦
63% Bundle Reduction
Aggressive tree-shaking, code splitting, and lazy loading reduced the initial bundle by 63%. Critical path loads in under 2 seconds on 3G.
Bundle Size Reduction
Before
3.2 MB
After
1.2 MB
Enterprise-Grade Mobile Dev
Dual AI Integration
Claude and Gemini working in tandem. Claude handles code generation and reviews. Gemini processes large codebases with its extended context window.
Mobile-First Design
Not a desktop app squeezed into a phone. Purpose-built touch interactions, gesture navigation, and layouts that make coding on mobile viable.
Zero-Trust Security
Five layers of security from network to application. Path traversal protection, rate limiting, audit trails, and VPN integration.
Cross-Device Sync
PostgreSQL MCP maintains workspace state across devices. Start on your phone, continue on your laptop. Context is never lost.
What This Project Taught
"Mobile development is hard. But the hardest part is not the code -- it is convincing yourself it is worth doing."
Mobile development is genuinely hard -- Touch targets, virtual keyboards, gesture conflicts, battery constraints, network variability. Every assumption from desktop development gets challenged.
Security-first architecture patterns -- Building security as the foundation (not a layer) changed how the entire app was structured. Zero-trust principles simplified auth logic even if they added upfront complexity.
Bundle optimization is an art -- The 63% reduction came from dozens of small decisions: lazy loading, code splitting, tree shaking, and ruthlessly auditing every dependency.