Go to file
Asher 003480881b
fix: infinite proxy loop (#4676)
I think the problem is that when a proxy is not in use proxy-agent
returns the global agent...which is itself since we set it globally,
causing the loop.

VS Code already covers proxies meaning we only need to do it in our own
requests so to fix this pass in the agent in the version fetch request
instead of overidding globally.

Also avoid proxy-from-env and pass in the proxy URI instead as both
http_proxy and https_proxy can be used for either http or https requests
but it does not allow that.
2022-01-03 18:19:21 -06:00
.github chore(deps): update aquasecurity/trivy-action commit hash to 8f4c716 (#4650) 2021-12-27 10:38:13 -07:00
.tours Add vscode via vendor package. 2021-09-15 14:54:33 -04:00
ci fix: add codeServerVersion to vscode/product.json (#4632) 2021-12-17 12:58:46 -07:00
docs docs(ipad): fix link to ios-ipad related issues (#4651) 2021-12-28 12:45:28 -07:00
src fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
test fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
typings Refactor vscode endpoints to use fork directly. 2021-09-30 19:14:17 -04:00
vendor fix: add codeServerVersion to vscode/product.json (#4632) 2021-12-17 12:58:46 -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 Implement last opened functionality (#4633) 2021-12-17 13:06:52 -06:00
LICENSE.txt Shake CI and docs up 2020-02-14 19:46:17 -05:00
ThirdPartyNotices.txt Add ThirdPartyNotices.txt 2020-07-16 19:01:09 -06:00
install.sh fix: Update install.sh to use "coder" GitHub organization (#4638) 2021-12-16 10:49:16 -06:00
package.json fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00
renovate.json Add vscode via vendor package. 2021-09-15 14:54:33 -04:00
tsconfig.json Support browsers from before 2020 (#4579) 2021-12-15 10:07:42 -07:00
yarn.lock fix: infinite proxy loop (#4676) 2022-01-03 18:19:21 -06:00

docs/README.md

code-server

"GitHub Discussions" "Join us on Slack" Twitter Follow codecov See v4.0.0 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.