code-server

code-server is our supported method of running VS Code in the web browser.

code-server in a workspace

Differences between code-server and VS Code Web

Some of the key differences between code-server and VS Code Web are:

Featurecode-serverVS Code Web
AuthenticationOptional login formNo built-in auth
Built-in proxyIncludes development proxy (not needed with Coder)No built-in development proxy
Clipboard integrationSupports piping text from terminal (similar to xclip)More limited
Display languagesSupports language pack extensionsLimited language support
File operationsOptions to disable downloads and uploadsNo built-in restrictions
Health endpointProvides /healthz endpointLimited health monitoring
MarketplaceOpen VSX by default, configurable via flags/env varsUses Microsoft marketplace; modify product.json to use your own
Path-based routingHas fixes for state collisions when used path-basedMay have issues with path-based routing in certain configurations
Proposed APIAlways enabled for all extensionsOnly Microsoft extensions without configuration
Proxy integrationIntegrates with Coder's proxy for ports panelIntegration is more limited
SourcemapsLoads locallyUses CDN
TelemetryConfigurable endpointDoes not allow a configurable endpoint
Terminal access to filesYou can use a terminal outside of the integrated one to interact with filesLimited to integrated terminal access
User settingsStored on remote diskStored in browser
Web viewsSelf-containedUses Microsoft CDN

For more information about code-server, visit the code-server FAQ.