code-server
VS Code in the browser
Understand how code server's --abs-proxy-base-path flag simplifies absproxy requests. Ensure correct links for proxied applications running under subpaths.
How code-server Handles GitHub Authentication via `--github-auth`Learn how code-server secures GitHub authentication using the GITHUB_TOKEN environment variable or config file not direct CLI arguments to prevent credential leaks.
How --disable-telemetry Controls VS Code Data Collection in code-serverLearn how the --disable-telemetry flag stops code-server data collection. Prevent outbound HTTP requests and halt all anonymous usage data gathering for enhanced privacy.
How code-server --reuse-window and --new-window Flags Interact with Existing InstancesLearn how code-server --reuse-window and --new-window flags interact with existing instances. Discover how these flags forward requests to running servers instead of starting new processes.
How the wsRouter Manages WebSocket Connections Separately from HTTP in code-serverDiscover how code-server's wsRouter separates WebSocket connections from HTTP traffic using Express to isolate TCP socket handling and streamline middleware.
Understanding the vsRootPath Mechanism: How code-server Locates VS Code BinariesDiscover how code-server uses the vsRootPath mechanism and runtime path resolution to find VS Code binaries and initialize its web server. Learn the inner workings of this dynamic import.
Best Practices for Configuring code-server Behind a Reverse ProxySecurely expose code-server with a reverse proxy. Learn best practices for TLS, Host headers, WebSockets, and port routing with code-server's proxy module for optimal internet access.
How the `--link-protection-trusted-domains` Flag Controls External Link Security in code-serverLearn how the --link-protection-trusted-domains flag in code-server enhances external link security by letting you whitelist trusted domains, bypassing confirmation prompts for specified URLs.
How the editorSessionManagerServer Enables Multi-Session Handling in code-serverDiscover how the editorSessionManagerServer manages multiple code-server sessions. Learn about its architecture for routing requests and maintaining active editor instances.
How --trusted-origins Bypasses Authentication Origin Checks in code-serverLearn how the --trusted-origins flag bypasses authentication origin checks in code-server by injecting a whitelist into origin-checking middleware to skip host-origin validation.
How the Wrapper Process Spawns and Manages the VS Code Child Process in code-serverDiscover how the code-server wrapper spawns VS Code child processes using IPC and manages their lifecycle with automatic relaunch. Learn about this dual-process architecture today.
How `--user-data-dir` and `--extensions-dir` Work Together in code-serverUnderstand how code-server's --user-data-dir and --extensions-dir interact. Learn to manage extensions independently and customize their storage location.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →