Remote development environments on your infrastructure
Go to file
Spike Curtis 70e481e7a5
fix: use terminal emulator that keeps state in ReconnectingPTY tests (#9765)
* Add more pty diagnostics for terminal parsing

Signed-off-by: Spike Curtis <spike@coder.com>

* print escaped strings

Signed-off-by: Spike Curtis <spike@coder.com>

* Only log on failure - heisenbug?

Signed-off-by: Spike Curtis <spike@coder.com>

* use the terminal across matches to keep cursor & contents state

Signed-off-by: Spike Curtis <spike@coder.com>

* Only log bytes if we're not expecting EOF

Signed-off-by: Spike Curtis <spike@coder.com>

---------

Signed-off-by: Spike Curtis <spike@coder.com>
2023-09-19 17:57:30 +00:00
.devcontainer chore: use dogfood-oss image in .devcontainer (#8231) 2023-07-11 10:48:34 -04:00
.github chore: fix permission for kubeconfig (#9768) 2023-09-19 08:36:00 +00:00
.vscode chore: exclude generated files from vscode search by default (#9530) 2023-09-05 15:05:46 +00:00
agent fix: use terminal emulator that keeps state in ReconnectingPTY tests (#9765) 2023-09-19 17:57:30 +00:00
buildinfo feat: add boringcrypto builds for linux (#9543) 2023-09-06 12:48:27 +04:00
cli test(cli): ensure first option selected with is expected (#9770) 2023-09-19 13:55:51 +02:00
cmd chore(cli): replace lipgloss with coder/pretty (#9564) 2023-09-07 16:28:22 -05:00
coderd fix: use terminal emulator that keeps state in ReconnectingPTY tests (#9765) 2023-09-19 17:57:30 +00:00
codersdk fix(coderd): subscribe to workspace when streaming agent logs to detect outdated build (#9729) 2023-09-19 20:02:27 +03:00
cryptorand chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
docs feat(coderd): support weekly aggregated insights (#9684) 2023-09-19 13:06:19 +02:00
dogfood chore(dogfood): add a coder_app for JetBrains gateway IDEs (#9644) 2023-09-13 17:49:36 +03:00
enterprise feat: integrate Acquirer for provisioner jobs (#9717) 2023-09-19 10:25:57 +04:00
examples fix: make sure fly_app name is lower case (#9771) 2023-09-19 12:30:52 +00:00
helm feat: add envFrom value to Helm chart (#9587) 2023-09-19 16:03:13 +04:00
offlinedocs chore: bump react-icons from 4.10.1 to 4.11.0 in /offlinedocs (#9740) 2023-09-18 16:31:48 +03:00
provisioner feat: add template_id and template_name to workspace data source (#9655) 2023-09-13 11:09:08 -05:00
provisionerd feat: integrate Acquirer for provisioner jobs (#9717) 2023-09-19 10:25:57 +04:00
provisionersdk perf(cli): optimize CPU consumption of help pages (#9607) 2023-09-14 19:48:29 -05:00
pty fix: use terminal emulator that keeps state in ReconnectingPTY tests (#9765) 2023-09-19 17:57:30 +00:00
scaletest feat(scaletest): add scaletest-runner template (#9662) 2023-09-15 13:23:37 +00:00
scripts feat(coderd/database/dbtestutil): set default database timezone to non-UTC in unit tests (#9672) 2023-09-15 09:01:32 +01:00
site refactor: get rid of `templateVariablesXService` (#9763) 2023-09-19 11:54:14 -06:00
tailnet refactor(coderd/database): split `Time` and `Now` into `dbtime` package (#9482) 2023-09-01 16:50:12 +00:00
testutil fix: use terminal emulator that keeps state in ReconnectingPTY tests (#9765) 2023-09-19 17:57:30 +00:00
.editorconfig chore: Improve project-wide prettier formatting and ignored files (#5505) 2023-01-03 15:11:13 +02:00
.git-blame-ignore-revs chore: add #9555 to .git-blame-ignore-revs (#9557) 2023-09-06 13:10:58 -06:00
.gitattributes chore: mark `site/src/api/typesGenerated.ts` as generated (#8798) 2023-07-28 18:22:37 -05:00
.gitignore feat(coderd/database/dbtestutil): add ability to dump database on failure (#9704) 2023-09-18 11:50:15 +01:00
.golangci.yaml ci: enable nestif linter (#9363) 2023-08-30 21:50:43 +00:00
.prettierignore feat(coderd/database/dbtestutil): add ability to dump database on failure (#9704) 2023-09-18 11:50:15 +01:00
.prettierignore.include refactor(examples): pre-parse frontmatter via scripts/examplegen (#9514) 2023-09-04 20:15:29 +03:00
.prettierrc.yaml chore: format code with semicolons when using prettier (#9555) 2023-09-06 12:59:26 -06:00
.swaggo chore: add /v2 to import module path (#9072) 2023-08-18 18:55:43 +00:00
LICENSE chore: Add license (#841) 2022-04-04 11:55:06 -05:00
LICENSE.enterprise Add Enterprise License text (#3932) 2022-09-07 16:55:57 +00:00
Makefile feat: clean stale provisioner files (#9545) 2023-09-11 07:37:14 +00:00
README.md chore(docs): update docs for correct use of shell and console and enforce linewidth (#9245) 2023-08-23 12:27:57 +03:00
SECURITY.md chore(docs): update docs for correct use of shell and console and enforce linewidth (#9245) 2023-08-23 12:27:57 +03:00
coder.env feat: Add tunnel by default (#4399) 2022-10-07 08:05:56 -05:00
docker-compose.yaml fix: use `CODER_HTTP_ADDRESS` in `docker-compose.yml` (#7185) 2023-04-18 11:44:41 -05:00
filebrowser.db Docs coder apps web ides (#9613) 2023-09-10 20:26:59 +00:00
flake.lock fix(flake.nix): add gcloud auth plugin (#9215) 2023-08-21 10:58:34 +00:00
flake.nix chore: downgrade dogfood image to postgres 13 (#9228) 2023-08-21 19:26:31 +00:00
go.mod chore: bump github.com/klauspost/compress from 1.16.5 to 1.17.0 (#9735) 2023-09-19 05:30:04 +00:00
go.sum chore: bump github.com/klauspost/compress from 1.16.5 to 1.17.0 (#9735) 2023-09-19 05:30:04 +00:00
install.sh refactor: bring back updated install.sh with patches (#9583) 2023-09-07 21:17:16 +00:00
package.json docs: ui option for adding licenses (#9322) 2023-08-24 22:23:59 -05:00
pnpm-lock.yaml docs: ui option for adding licenses (#9322) 2023-08-24 22:23:59 -05:00
release.key feat: PGP sign the checksum file in releases (#5757) 2023-01-18 04:45:27 +10:00
shell.nix chore: Add nix shell for simple development setup (#3399) 2022-08-08 15:49:12 +00:00

README.md

Self-Hosted Remote Development Environments



Quickstart | Docs | Why Coder | Enterprise

discord codecov release godoc Go Report Card license

Coder enables organizations to set up development environments in the cloud. Environments are defined with Terraform, connected through a secure high-speed Wireguard® tunnel, and are automatically shut down when not in use to save on costs. Coder gives engineering teams the flexibility to use the cloud for workloads that are most beneficial to them.

  • Define development environments in Terraform
    • EC2 VMs, Kubernetes Pods, Docker Containers, etc.
  • Automatically shutdown idle resources to save on costs
  • Onboard developers in seconds instead of days

Quickstart

The most convenient way to try Coder is to install it on your local machine and experiment with provisioning development environments using Docker (works on Linux, macOS, and Windows).

# First, install Coder
curl -L https://coder.com/install.sh | sh

# Start the Coder server (caches data in ~/.cache/coder)
coder server

# Navigate to http://localhost:3000 to create your initial user
# Create a Docker template, and provision a workspace

Install

The easiest way to install Coder is to use our install script for Linux and macOS. For Windows, use the latest ..._installer.exe file from GitHub Releases.

curl -L https://coder.com/install.sh | sh

You can run the install script with --dry-run to see the commands that will be used to install without executing them. You can modify the installation process by including flags. Run the install script with --help for reference.

See install for additional methods.

Once installed, you can start a production deployment1 with a single command:

# Automatically sets up an external access URL on *.try.coder.app
coder server

# Requires a PostgreSQL instance (version 13 or higher) and external access URL
coder server --postgres-url <url> --access-url <url>

1 For production deployments, set up an external PostgreSQL instance for reliability.

Use coder --help to get a list of flags and environment variables. Use our install guides for a full walkthrough.

Documentation

Browse our docs here or visit a specific section below:

  • Templates: Templates are written in Terraform and describe the infrastructure for workspaces
  • Workspaces: Workspaces contain the IDEs, dependencies, and configuration information needed for software development
  • IDEs: Connect your existing editor to a workspace
  • Administration: Learn how to operate Coder
  • Enterprise: Learn about our paid features built for large teams

Community and Support

Feel free to open an issue if you have questions, run into bugs, or have a feature request.

Join our Discord to provide feedback on in-progress features, and chat with the community using Coder!

Contributing

Contributions are welcome! Read the contributing docs to get started.

Find our list of contributors here.

We are always working on new integrations. Feel free to open an issue to request an integration. Contributions are welcome in any official or community repositories.

Official

Community

  • Provision Coder with Terraform: Provision Coder on Google GKE, Azure AKS, AWS EKS, DigitalOcean DOKS, IBMCloud K8s, OVHCloud K8s, and Scaleway K8s Kapsule with Terraform
  • Coder GitHub Action: A GitHub Action that updates Coder templates
  • Various Templates: Hetzner Cloud, Docker in Docker, and other templates the community has built.