Archived
1
0
This repository has been archived on 2024-09-09. You can view files and clone it, but cannot push or open issues or pull requests.
Asher 27ba64c7e4
Improve request error handling
See #1532 for more context.

- Errored JSON requests will get back the error in JSON instead of using
  the status text. This seems better to me because it seems more correct
  to utilize the response body over hijacking the status text. The
  caller is expecting JSON anyway. Worst of all I never actually set the
  status text like I thought I did so it wasn't working to begin with.
- Allow the update error to propagate for JSON update requests. It was
  caught to show the error inline instead of an error page when using
  the update page but for JSON requests it meant there was no error and
  no error code so it looked like it succeeded.
- Make errors for failed requests to GitHub less incomprehensible.
  Previously they would just be the code which is no context at all.
2020-04-17 15:16:10 -05:00
2020-02-19 00:58:28 -05:00
2020-04-17 15:16:10 -05:00
2020-04-01 15:27:28 -05:00
2020-04-17 15:16:10 -05:00
2020-02-14 20:00:19 -05:00
2020-02-19 00:27:02 -05:00
2020-02-19 14:22:14 -05:00
2020-02-14 20:00:19 -05:00
2020-02-25 18:23:35 -06:00
2020-02-04 14:31:44 -06:00
2020-02-14 19:46:17 -05:00
2020-02-18 19:06:35 -05:00
2020-02-14 19:46:17 -05:00
2020-04-17 15:16:10 -05:00
2020-02-14 20:00:19 -05:00
2020-04-02 13:40:19 -05:00

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" -u "$(id -u):$(id -g)" codercom/code-server:latest
  • 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.

Description
VS Code in the browser
Readme 97 MiB
Languages
TypeScript 81.6%
Shell 14.9%
HTML 1%
HCL 0.7%
CSS 0.7%
Other 1.1%