code-server

VS Code in the browser

23 articles 76.4k View on GitHub ↗
23 articles
How the `--abs-proxy-base-path` Mechanism Works for absproxy Requests in code-server

Understand how code server's --abs-proxy-base-path flag simplifies absproxy requests. Ensure correct links for proxied applications running under subpaths.

internals
Mar 1, 2026
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.

internals
Mar 1, 2026
How --disable-telemetry Controls VS Code Data Collection in code-server

Learn how the --disable-telemetry flag stops code-server data collection. Prevent outbound HTTP requests and halt all anonymous usage data gathering for enhanced privacy.

deep-dive
Mar 1, 2026
How code-server --reuse-window and --new-window Flags Interact with Existing Instances

Learn 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-to-guide
Mar 1, 2026
How the wsRouter Manages WebSocket Connections Separately from HTTP in code-server

Discover how code-server's wsRouter separates WebSocket connections from HTTP traffic using Express to isolate TCP socket handling and streamline middleware.

internals
Mar 1, 2026
Understanding the vsRootPath Mechanism: How code-server Locates VS Code Binaries

Discover 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.

internals
Mar 1, 2026
Best Practices for Configuring code-server Behind a Reverse Proxy

Securely 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.

best-practices
Mar 1, 2026
How the `--link-protection-trusted-domains` Flag Controls External Link Security in code-server

Learn 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-to-guide
Mar 1, 2026
How the editorSessionManagerServer Enables Multi-Session Handling in code-server

Discover how the editorSessionManagerServer manages multiple code-server sessions. Learn about its architecture for routing requests and maintaining active editor instances.

architecture
Mar 1, 2026
How --trusted-origins Bypasses Authentication Origin Checks in code-server

Learn 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.

internals
Mar 1, 2026
How the Wrapper Process Spawns and Manages the VS Code Child Process in code-server

Discover 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.

internals
Mar 1, 2026
How `--user-data-dir` and `--extensions-dir` Work Together in code-server

Understand how code-server's --user-data-dir and --extensions-dir interact. Learn to manage extensions independently and customize their storage location.

internals
Mar 1, 2026

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:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →