VS Code in the browser
Go to file
Asher 0a8e71c647
Refactor wrapper
- Immediately create ipcMain so it doesn't have to be a function which I
  think feels cleaner.
  - Move exit handling to a separate function to compensate (otherwise
    the VS Code CLI for example won't be able to exit on its own).
- New isChild prop that is clearer than checking for parentPid (IMO).
- Skip all the checks that aren't necessary for the child process (like
  --help, --version, etc).
  - Since we check if we're the child in entry go ahead and move the
    wrap code into entry as well since that's basically what it does.
- Use a single catch at the end of the entry.
- Split out the VS Code CLI and existing instance code into separate
  functions.
2020-10-09 16:57:40 -05:00
.github Switch off debian:8 to debian:10 for the typescript build image 2020-10-07 15:58:30 -04:00
ci Adjust npm package postinstall to install extension dependencies (#2180) 2020-10-09 15:00:49 -04:00
doc Document KEEP_MODULES 2020-10-07 16:16:01 -04:00
lib Update VS code to 1.49.3 (#2081) 2020-10-07 12:37:37 -05:00
src Refactor wrapper 2020-10-09 16:57:40 -05:00
test Skip update tests (#2059) 2020-09-04 06:30:15 -04:00
typings/httpolyglot Format and lint 2020-02-14 20:00:19 -05:00
.dockerignore Simplify packaging and improve scripts 2020-05-08 01:04:24 -04:00
.editorconfig Add back .editorconfig 2020-02-19 14:22:14 -05:00
.eslintrc.yaml Unlink socket before using (#2181) 2020-10-09 12:34:52 -04:00
.gitignore Add $HOME to ./ci/dev/image/run.sh 2020-10-07 15:58:30 -04:00
.gitmodules Ignore dirty lib/vscode 2020-10-07 15:58:30 -04:00
.ignore Rename dev/container -> dev/image 2020-06-03 15:45:16 -04: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
LICENSE.txt Shake CI and docs up 2020-02-14 19:46:17 -05:00
README.md Add social badges (#2142) 2020-10-06 16:29:53 -05:00
ThirdPartyNotices.txt Add ThirdPartyNotices.txt 2020-07-16 19:01:09 -06:00
install.sh install.sh: Allow installing directly onto a remote host (#2183) 2020-10-09 15:33:58 -04:00
package.json Remove dead code 2020-10-07 15:58:30 -04:00
tsconfig.json Remove unnecessary tsc settings 2020-08-13 17:11:33 -05:00
yarn.lock Update yarn.lock 2020-10-07 17:40:19 -04:00

README.md

code-server · "GitHub Discussions" "Join us on Slack" Twitter Follow

Run VS Code on any machine anywhere and access it in the browser.

Screenshot

Highlights

  • Code everywhere
    • Code on your Chromebook, tablet, and laptop with a consistent development 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 as all intensive tasks run on your server.
    • Make use of a spare computer you have lying around and turn it into a full development environment.

Getting Started

For a full setup and walkthrough, please see ./doc/guide.md.

Quick Install

We have a script to install code-server for Linux, macOS and FreeBSD.

It tries to use the system package manager if possible.

First run to print out the install process:

curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run

Now to actually install:

curl -fsSL https://code-server.dev/install.sh | sh

The install script will print out how to run and start using code-server.

Manual Install

Docs on the install script, manual installation and docker image are at ./doc/install.md.

FAQ

See ./doc/FAQ.md.

Contributing

See ./doc/CONTRIBUTING.md.

Hiring

We (@cdr) are looking for engineers to help maintain code-server, innovate on open source and streamline dev workflows.

Our main office is in Austin, Texas. Remote is ok as long as you're in North America or Europe.

Please get in touch with your resume/github if interested.

We're also hiring someone specifically to help maintain code-server. See the listing here.

For Organizations

Visit our website for more information about remote development for your organization or enterprise.