VS Code in the browser
Go to file
Asher 26584f2060
Strip protocol from remote authority
In Google cloud shell the host header is 127.0.0.1:8080 instead of the
actual URL. This is what we write out to the HTML so VS Code can pick it
up. However cloud shell rewrites this string when found in the HTML
before serving it so it becomes https://8080-[...].appspot.com,
resulting in an extra unexpected https:// in the
URI (vscode-remote://https://8080[...]). The resulting malformed URI
causes the extension host to exit.

- Fixes #1471
- Fixes #1468
- Fixes #1440 (most likely).
2020-04-01 13:41:05 -05:00
.github Update issue template 2020-02-19 00:58:28 -05:00
ci Strip protocol from remote authority 2020-04-01 13:41:05 -05:00
doc Fix documentation for build process 2020-03-23 12:26:54 +03:00
lib Catch error when openssl isn't installed 2020-03-16 15:14:54 -05:00
src Run ssh server listen after http 2020-03-30 17:43:11 -05:00
test Fix crash when unable to request an update 2020-03-25 15:00:35 -05:00
typings/httpolyglot Format and lint 2020-02-14 20:00:19 -05:00
.dockerignore Doc fixes 2020-02-19 00:27:02 -05:00
.editorconfig Add back .editorconfig 2020-02-19 14:22:14 -05:00
.eslintrc.yaml Format and lint 2020-02-14 20:00:19 -05:00
.gitignore Switch to loose files 2020-02-25 18:23:35 -06:00
.gitmodules Implement new structure 2020-02-04 14:31:44 -06:00
.prettierrc.yaml Shake CI and docs up 2020-02-14 19:46:17 -05:00
.stylelintrc.yaml Fix bugs in CI 2020-02-18 19:06:35 -05:00
.travis.yml Skip vscode dependencies for test phase 2020-03-27 13:40:42 -05:00
LICENSE.txt Shake CI and docs up 2020-02-14 19:46:17 -05:00
README.md Add link to contributing 2020-03-19 18:53:31 -03:00
package.json Output commit along with the version 2020-03-30 17:43:09 -05:00
tsconfig.json Format and lint 2020-02-14 20:00:19 -05:00
yarn.lock Remove duplication in dependencies 2020-03-24 09:43:14 +03:00

README.md

code-server

code-server is VS Code running on a remote server, accessible through the browser.

Try it out:

docker run -it -p 127.0.0.1:8080:8080 -v "$PWD:/home/coder/project" codercom/code-server
  • Code anywhere: Code on your Chromebook, tablet, and laptop with a consistent dev environment. Develop on a Linux machine and pick up from any device with a web browser.
  • Server-powered: Take advantage of large cloud servers to speed up tests, compilations, downloads, and more. Preserve battery life when you're on the go since all intensive computation runs on your server.

Example gif

Getting Started

Requirements

  • 64-bit host.
  • At least 1GB of RAM.
  • 2 cores or more are recommended (1 core works but not optimally).
  • Secure connection over HTTPS or localhost (required for service workers and clipboard support).
  • For Linux: GLIBC 2.17 or later and GLIBCXX 3.4.15 or later.

Run over SSH

Use sshcode for a simple setup.

Digital Ocean

Create a Droplet

Releases

  1. Download a release. (Linux and OS X supported. Windows support planned.)
  2. Unpack the downloaded release then run the included code-server script.
  3. In your browser navigate to localhost:8080.

FAQ

See ./doc/FAQ.md.

Contributing

See ./doc/CONTRIBUTING.md.

Enterprise

Visit our enterprise page for more information about our enterprise offerings.