Archived
1
0
VS Code in the browser
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.
Go to file
Joe Previte 78658f1cf4
refactor: remove folder/workspace from vsCodeCliArgs (#4932)
* refactor: remove folder/workspace from vsCodeCliArgs

Since we handle this in the vscode.ts route, we no longer need to pass it to VS
Code as a CLI arg since it's deprecated on that side.

* feat(vscode): redirect to folder from cli

* Update src/node/routes/vscode.ts

Co-authored-by: Asher <ash@coder.com>

* fixup!: update _: type

* fixup!: move vars to lower if block

* fixup!: share redirect block

* fixup!: mmove req.query.ew block into if

* fixup!: refactor vscode tests

* refactor: make vscode.ts logic easier to read

* fixup!: fix broken tests and clean up logic

* chore: upgrade vscode version

* fixup!: delete unnecessary if closed block

* Update src/node/routes/vscode.ts

Co-authored-by: Asher <ash@coder.com>

* fixup!: rename to FOLDER_OR_WORKSPACE_WAS_CLOSED

Co-authored-by: Asher <ash@coder.com>
2022-03-02 15:36:38 -07:00
.github chore(deps): update actions/download-artifact action to v3 (#4937) 2022-03-02 14:31:21 -07:00
.tours docs: Update some more links (#4806) 2022-02-01 09:45:19 -07:00
ci feat: Add support for imagePullSecrets to Helm chart (#4838) 2022-02-14 15:34:07 -07:00
docs Update requirements.md (#4882) 2022-02-18 11:06:58 -07:00
src refactor: remove folder/workspace from vsCodeCliArgs (#4932) 2022-03-02 15:36:38 -07:00
test refactor: remove folder/workspace from vsCodeCliArgs (#4932) 2022-03-02 15:36:38 -07:00
typings docs: Update some more links (#4806) 2022-02-01 09:45:19 -07:00
vendor refactor: remove folder/workspace from vsCodeCliArgs (#4932) 2022-03-02 15:36:38 -07:00
.dockerignore Simplify packaging and improve scripts 2020-05-08 01:04:24 -04:00
.editorconfig Revert .editorconfig (#4640) 2021-12-16 15:30:07 -06:00
.eslintrc.yaml chore: replace eslint-import-resolver-alias with eslint-import-resolver-typescript (#4546) 2021-12-07 14:39:01 -07:00
.gitattributes browser: Add favicon.afdesign 2021-01-08 23:03:34 -05:00
.gitignore Revert "Add linkup command to improve link functionality" (#4439) 2021-11-03 14:42:14 -07:00
.node-version chore: Update dependency requirements. Fix node version manager. 2021-07-21 14:32:16 -04:00
.nvmrc chore: Update dependency requirements. Fix node version manager. 2021-07-21 14:32:16 -04:00
.prettierrc.yaml Refactor vscode endpoints to use fork directly. 2021-09-30 19:14:17 -04:00
.stylelintrc.yaml Fix bugs in CI 2020-02-18 19:06:35 -05:00
CHANGELOG.md docs: Update some more links (#4806) 2022-02-01 09:45:19 -07:00
install.sh fix: Update install.sh to use "coder" GitHub organization (#4638) 2021-12-16 10:49:16 -06:00
LICENSE.txt Shake CI and docs up 2020-02-14 19:46:17 -05:00
package.json fix: Pin express to 5.0.0-alpha.8 (#4918) 2022-03-01 11:24:06 -07:00
renovate.json Add vscode via vendor package. 2021-09-15 14:54:33 -04:00
ThirdPartyNotices.txt Add ThirdPartyNotices.txt 2020-07-16 19:01:09 -06:00
tsconfig.json Support browsers from before 2020 (#4579) 2021-12-15 10:07:42 -07:00
yarn.lock fix: Pin express to 5.0.0-alpha.8 (#4918) 2022-03-01 11:24:06 -07:00

code-server

"GitHub Discussions" "Join us on Slack" Twitter Follow codecov See v4.0.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
🔔 code-server is a free browser-based IDE while Coder is our enterprise developer workspace platform. For more information, visit Coder.com

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.

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.