1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-26 12:15:26 +00:00
VS Code in the browser
Go to file
Joe Previte 7ce9ee0db6
fix: check path is string in pathToFsPath
There's a chance this function can be called with a path that is not a string.

To catch that, we check if path is of a different type and throw an error if it
is.

This also adds a couple tests for this function.
2021-07-12 16:39:42 -07:00
.github fix(dependabot): ignore updates for node 16.x 2021-07-08 14:05:46 -07:00
.tours chore: update node to v14 (#3481) 2021-06-01 22:49:03 +05:30
ci Spawn a code-server instance for each test suite 2021-06-29 12:06:38 -05:00
docs refactor(docs): clean up and restructure 2021-07-12 14:03:09 -05:00
lib/vscode fix: openFolder by using command ID for Explorer 2021-07-06 14:05:27 -07:00
src fix: check path is string in pathToFsPath 2021-07-12 16:39:42 -07:00
test fix: check path is string in pathToFsPath 2021-07-12 16:39:42 -07:00
typings refactor: parse options with multiple = in cli 2021-06-08 14:33:17 -07: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 fix: remove eslint-plugin-jest-playwright 2021-04-29 10:46:14 -07:00
.gitattributes browser: Add favicon.afdesign 2021-01-08 23:03:34 -05:00
.gitignore refactor: migrate parcel to browserify 2021-06-28 11:41:45 -07: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
CHANGELOG.md refactor: migrate parcel to browserify 2021-06-28 11:41:45 -07:00
install.sh chore: fix broken link in install.sh 2021-07-02 11:14:36 -07:00
LICENSE.txt Shake CI and docs up 2020-02-14 19:46:17 -05:00
package.json revert: add eslint-import-resolver-alias as dependency 2021-07-07 11:10:53 -07:00
ThirdPartyNotices.txt Add ThirdPartyNotices.txt 2020-07-16 19:01:09 -06:00
tsconfig.json refactor: migrate parcel to browserify 2021-06-28 11:41:45 -07:00
yarn.lock Merge pull request #3767 from cdr/dependabot/npm_and_yarn/ts-node-10.1.0 2021-07-12 10:45:42 -07:00

code-server

"GitHub Discussions" "Join us on Slack" Twitter Follow codecov See v3.10.2 docs

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

Screenshot

Highlights

  • Code on any device with a consistent development environment
  • Use cloud servers to speed up tests, compilations, downloads, and more
  • Preserve battery life when you're on the go; all intensive tasks run on your server

Requirements

See requirements for minimum specs, as well as instructions on how to set up a Google VM on which you can install code-server.

TL;DR: Linux machine with WebSockets enabled, 1 GB RAM, and 2 CPUs

Getting started

There are three ways to get started:

  1. Using the install script, which automates most of the process. The script uses the system package manager if possible.
  2. Manually installing code-server
  3. Using our one-click buttons and guides to deploy code-server to a cloud provider

If you use the install script, you can preview what occurs during the install process:

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

To install, run:

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

When done, the install script prints out instructions for running and starting code-server.

We also have an in-depth setup and configuration guide.

We're working on a cloud platform that makes deploying and managing code-server easier. Consider running code-server with the beta flag --link if you don't want to worry about:

  • TLS
  • Authentication
  • Port forwarding
$ code-server --link
Proxying code-server, you can access your IDE at https://example.cdr.co

Questions?

See answers to frequently asked questions.

Want to help?

See Contributing for details.

Hiring

Interested in working at Coder? Check out our open positions!

For Organizations

Want remote development for your organization or enterprise? Visit our website to learn more about Coder.