Navigate:
code-server
~$CODE0.2%

code-server: VS Code in the browser

Run VS Code on remote servers via browser.

LIVE RANKINGS • 12:26 PM • STEADY
OVERALL
#228
30
DEVELOPER TOOLS
#38
2
30 DAY RANKING TREND
ovr#228
·Devel#38
STARS
76.4K
FORKS
6.5K
7D STARS
+120
7D FORKS
+13
See Repo:
Share:

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.

code-server

1

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.

2

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.

3

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}`);
}


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers