code-server: VS Code in the browser
Run VS Code on remote servers via browser.
Learn more about code-server
code-server is a tool that packages VS Code as a web application, allowing it to run on a remote server and be accessed via a browser interface. It works by running the VS Code server component on a Linux machine with WebSockets support, then streaming the interface to clients through HTTP. The tool preserves most VS Code functionality including extensions, themes, and settings while offloading computation to the server machine. Common deployment scenarios include cloud VMs, remote workstations, and team development infrastructure where consistent environments and centralized resources are beneficial.
Browser-based access
Runs on any machine with a web browser, eliminating the need to install VS Code locally. The interface is streamed over HTTP/WebSockets to the client.
Server-side computation
Intensive operations like compilation, testing, and package downloads execute on the remote server rather than the client device. This reduces local resource consumption and battery drain on portable devices.
VS Code compatibility
Maintains compatibility with the VS Code extension ecosystem and configuration system. Users can install extensions and apply settings as they would in a standard VS Code installation.
import * as vscode from 'vscode';
// Access code-server environment
const extension = vscode.extensions.getExtension('coder.code-server');
if (extension) {
const api = extension.exports;
const serverInfo = await api.getServerInfo();
console.log(`Running on: ${serverInfo.host}:${serverInfo.port}`);
}Updates embedded VS Code to 1.105.1; release notes do not specify breaking changes, requirements, or bug fixes.
- –Upgrade to Code 1.105.1 for latest upstream editor features and patches.
- –Review upstream VS Code 1.105.1 changelog separately for detailed changes and potential impacts.
Upgrades embedded VS Code to 1.105.0; release notes do not specify breaking changes, requirements, or migration steps.
- –Update to Code 1.105.0 to receive upstream editor improvements and fixes.
- –Review VS Code 1.105.0 changelog separately for feature and compatibility details.
Release candidate updates the embedded VS Code engine to 1.105.0; release notes do not specify breaking changes or new requirements.
- –Upgrade to Code 1.105.0 for the latest upstream editor features and fixes.
- –Test this RC in non-production environments before deploying to verify compatibility with existing extensions and workflows.
Top in Developer Tools
Related Repositories
Discover similar tools and frameworks used by developers
redoc
React component rendering OpenAPI specifications as interactive HTML documentation.
pybind11
Header-only library creating minimal-boilerplate C++ Python bindings.
bun
Fast JavaScript runtime with built-in bundler and package manager.
json-server
Zero-config REST API server from JSON files.
git
Snapshot-based version control with distributed repository architecture.