# cdr/code-server

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/cdr-code-server).**

78,072 stars · 6,723 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/cdr/code-server
- Homepage: https://coder.com
- awesome-repositories: https://awesome-repositories.com/repository/cdr-code-server.md

## Description

code-server is a browser-based integrated development environment that allows a VS Code compatible editor to run on a remote server. It functions as a self-hosted code editor, enabling users to access a persistent development workspace from any web browser without requiring local software installation.

The project focuses on remote development environment hosting, moving heavy compilation and processing tasks to remote hardware to offload resources. This architecture enables cloud development environments that standardize workspaces and preserve local battery life by shifting computation to a distant machine.

The system integrates a virtual file system to link remote directories to the browser interface and uses a proxy-based routing system to manage authentication and networking. It employs the Language Server Protocol for background analysis and WebSocket-based communication for real-time editor and terminal updates.

## Tags

### Development Tools & Productivity

- [Browser-Based IDEs](https://awesome-repositories.com/f/development-tools-productivity/development-environment-management/development-environments/cloud-remote-workspaces/browser-based-ides.md) — Provides a full-featured integrated development environment accessible through any web browser.
- [Remote Development Environments](https://awesome-repositories.com/f/development-tools-productivity/remote-development-environments.md) — A hosted setup for running compilers, shells, and editors on remote hardware to offload heavy computation.
- [Cloud and Remote Workspaces](https://awesome-repositories.com/f/development-tools-productivity/development-environment-management/development-environments/cloud-remote-workspaces.md) — Creates consistent, remote workspaces that decouple the coding environment from local hardware.
- [Language Server Protocol Integrations](https://awesome-repositories.com/f/development-tools-productivity/language-server-protocol-integrations.md) — Integrates the Language Server Protocol to provide real-time autocomplete and error checking.
- [Remote Backend Hosting](https://awesome-repositories.com/f/development-tools-productivity/remote-backend-hosting.md) — Hosts the editor's core logic and language servers on a remote machine to offload local processing.
- [In-Browser Code Editing](https://awesome-repositories.com/f/development-tools-productivity/terminal-syntax-highlighting-engines/in-browser-code-editing.md) — Provides the capability to write and edit code directly within a web browser.

### Data & Databases

- [Virtual File Systems](https://awesome-repositories.com/f/data-databases/virtual-file-systems.md) — Implements a virtual file system that maps remote server directories to the browser interface.

### DevOps & Infrastructure

- [Remote Development Environments](https://awesome-repositories.com/f/devops-infrastructure/remote-development-environments.md) — Enables the deployment and management of full development environments on remote cloud infrastructure. ([source](https://github.com/cdr/code-server#readme))
- [Self-Hosted IDEs](https://awesome-repositories.com/f/devops-infrastructure/self-hosted-ides.md) — Allows for a private, self-hosted deployment of a persistent development workspace.

### Networking & Communication

- [Remote VS Code Servers](https://awesome-repositories.com/f/networking-communication/remote-instance-connectors/code-server-instance-connectors/remote-vs-code-servers.md) — Hosts a full VS Code compatible editor on a remote server for browser-based access.
- [WebSocket Clients and Servers](https://awesome-repositories.com/f/networking-communication/distributed-systems-p2p/distributed-computing/communication-protocols/websocket-implementations/websocket-clients-and-servers.md) — Uses bidirectional WebSocket connections for real-time synchronization of editor state and terminal data.
- [Session and Traffic Routing](https://awesome-repositories.com/f/networking-communication/proxy-servers/proxy-configurations/session-and-traffic-routing.md) — Implements proxy-based routing to manage authentication and WebSocket traffic for the editor.

### Artificial Intelligence & ML

- [Computational Offloading](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-deployment-and-serving/local-and-on-device-inference/local-model-inference-servers/remote-inference-offloaders/task-offloaders/computational-offloading.md) — Offloads intensive processing to remote hardware to preserve local battery and increase performance. ([source](https://github.com/cdr/code-server#readme))
- [Development Task Offloading](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-deployment-and-serving/local-and-on-device-inference/local-model-inference-servers/remote-inference-offloaders/task-offloaders/development-task-offloading.md) — Moves heavy compilation and processing tasks to remote servers to save local battery and increase speed.

### Part of an Awesome List

- [Developer Experience](https://awesome-repositories.com/f/awesome-lists/devops/developer-experience.md) — Run VS Code in the browser for remote development.
- [Cloud IDEs](https://awesome-repositories.com/f/awesome-lists/devtools/cloud-ides.md) — VS Code running in a browser.
- [Developer Tools](https://awesome-repositories.com/f/awesome-lists/devtools/developer-tools.md) — Run VS Code in a browser.
