Skip to content

code-server

Run VS Code on a server and access it from anywhere via a browser.

Self-hostedNot yet verified
Report issueDemo online
MIT★ 70000

Open the official app on coder.com

This tool is hosted by its maintainers. Click below to open coder.com in a new tab — it's their official demo.

Browse developer tools →

What's next with code-server?

Choose how you want to get started.

Use it free

Open the official tool or demo — no account needed.

Free

Self-host it

Run the open-source version on your own infrastructure.

Open

What is code-server?

code-server is an open-source tool that enables developers to run Visual Studio Code (VS Code) in a web browser, effectively transforming it into a remote development environment. By hosting VS Code on a local server, code-server allows users to access their code editor via a web interface, eliminating the need for a local installation. This tool is particularly useful for developers working in environments where a full desktop setup is impractical, such as remote work, shared infrastructure, or low-resource devices. Its MIT license ensures broad accessibility, and its popularity (78.8k GitHub stars) reflects its value in enabling flexible, cross-platform coding workflows. The tool addresses challenges like inconsistent development environments, collaboration limitations, and the need for secure, remote access to code repositories and tools.

How it works

How code-server works — see the article below for details on this code playgrounds tool.

How to use it

  1. 1Use the code-server tool to complete your task.
  2. 2Use the code-server tool to complete your task.
  3. 3Use the code-server tool to complete your task.
  4. 4Use the code-server tool to complete your task.

What it can do

  • VS Code in browser

Use cases

Assumptions and limitations

Assumptions

  • source: https://github.com/coder/code-server
  • license: MIT — free to use
  • privacy: Self-hosted — you control your data

Limitations

  • Self-hosted — requires setup, maintenance, and your own infrastructure.
  • Relies on an external source (github.com); availability depends on that service.
  • Focused on the devtools category: Run VS Code on a server and access it from anywhere via a browser..

Understanding the result

Run VS Code on a server and access it from anywhere via a browser.

Tool details

  • Clearly flagged when a network request is needed.
  • No account, no sign-up, and no tracking of your content.
  • Powered by (MIT).
Built with
(coder/code-server)
License
MIT
Runs locally
No — requires a network request
Verification
Not yet verified
Input
Query
Output
Text
Open-source source & license

Built with coder/code-server. OpenToolVault provides the discovery and browser interface while crediting the original project maintainers.

Built with
License
MIT
View source on GitHub

Open-source project

OpenToolVault is an independent directory. We are not affiliated with or endorsed by this project.

References

Frequently asked

What is code-server and how does it differ from regular VS Code?

code-server is a server-side application that runs VS Code in a web browser, allowing remote access to the editor. Unlike standard VS Code, which requires a local installation, code-server hosts the editor on a server, enabling users to interact with it via a web interface. This makes it ideal for remote development, team collaboration, and scenarios where a local IDE isn't feasible. It retains all VS Code's features, including extensions, debugging, and version control integration, but adds web-based accessibility.

How does code-server securely handle user data and authentication?

code-server uses HTTPS encryption for data in transit and supports authentication via SSH keys, passwords, or OAuth providers. By default, it runs on a local server, limiting external access unless configured otherwise. Users can restrict access by binding the server to specific IP addresses or using reverse proxies. While it doesn't include built-in user management, it integrates with external identity providers for enterprise use cases, ensuring secure access to sensitive code repositories.

How do I set up code-server on my local machine?

Install code-server via npm (npm install -g code-server) or download the binary from GitHub. Run it with the command 'code-server', then navigate to http://localhost:8080 in your browser. Follow the on-screen prompts to set a password or SSH key. For remote access, configure the server to bind to your public IP and use a reverse proxy (e.g., Nginx) with SSL. Ensure firewalls allow traffic on the designated port (e.g., 8080) and secure the connection with a valid certificate.

How does code-server compare to VS Code Remote Development?

code-server and VS Code Remote Development both enable remote editing but operate differently. code-server runs a full VS Code instance on a server, providing a standalone web-based editor. VS Code Remote Development (via the Remote - SSH, WSL, or Container extensions) connects to a remote machine's VS Code instance, requiring the remote environment to have VS Code installed. code-server is simpler for quick remote access, while Remote Development offers deeper integration with remote systems but demands more setup.

What should I do if code-server fails to start due to a port conflict?

If code-server encounters a port conflict (e.g., port 8080 is already in use), modify the port in the configuration file (e.g., --port 8081) or use the --no-ssl flag to bypass SSL requirements. Check for running processes with 'netstat -ano' (Windows) or 'lsof -i :<port>' (Linux/macOS) to identify conflicts. If using a reverse proxy, ensure it's correctly forwarding traffic to the new port. Restart code-server after adjusting settings to resolve the issue.

Spotted something wrong with code-server, or want to maintain it? See how to help.