Files
coder/README.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

140 lines
7.6 KiB
Markdown
Raw Normal View History

<!-- markdownlint-disable MD041 -->
2023-01-29 19:45:00 -06:00
<div align="center">
<a href="https://coder.com#gh-light-mode-only">
<img src="./docs/images/logo-black.png" alt="Coder Logo Light" style="width: 128px">
</a>
<a href="https://coder.com#gh-dark-mode-only">
<img src="./docs/images/logo-white.png" alt="Coder Logo Dark" style="width: 128px">
</a>
2022-01-03 18:54:27 -08:00
2023-01-29 19:45:00 -06:00
<h1>
Self-Hosted Cloud Development Environments and AI Agents
2023-01-29 19:45:00 -06:00
</h1>
<a href="https://coder.com#gh-light-mode-only">
<img src="./docs/images/banner-black.png" alt="Coder Banner Light" style="width: 650px">
</a>
<a href="https://coder.com#gh-dark-mode-only">
<img src="./docs/images/banner-white.png" alt="Coder Banner Dark" style="width: 650px">
</a>
2023-01-29 19:45:00 -06:00
<br>
<br>
2024-11-04 09:55:40 -08:00
[Quickstart](#quickstart) | [Docs](https://coder.com/docs) | [Why Coder](https://coder.com/why) | [Premium](https://coder.com/pricing#compare-plans)
2023-01-29 19:45:00 -06:00
[![discord](https://img.shields.io/discord/747933592273027093?label=discord)](https://discord.gg/coder)
2023-02-01 13:14:49 -06:00
[![release](https://img.shields.io/github/v/release/coder/coder)](https://github.com/coder/coder/releases/latest)
2023-01-29 19:45:00 -06:00
[![godoc](https://pkg.go.dev/badge/github.com/coder/coder.svg)](https://pkg.go.dev/github.com/coder/coder)
[![Go Report Card](https://goreportcard.com/badge/github.com/coder/coder/v2)](https://goreportcard.com/report/github.com/coder/coder/v2)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9511/badge)](https://www.bestpractices.dev/projects/9511)
2024-11-04 09:55:40 -08:00
[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/coder/coder/badge)](https://scorecard.dev/viewer/?uri=github.com%2Fcoder%2Fcoder)
2023-01-29 19:45:00 -06:00
[![license](https://img.shields.io/github/license/coder/coder)](./LICENSE)
2022-01-03 18:52:07 +00:00
2023-01-29 19:45:00 -06:00
</div>
[Coder](https://coder.com) is a self-hosted platform for cloud development environments and AI coding agents. Workspaces are defined with Terraform, connected through a secure Wireguard® tunnel, and automatically shut down when not used. Coder Agents runs a native AI coding agent whose loop executes in the control plane on your infrastructure, with no API keys in workspaces.
2023-01-29 19:45:00 -06:00
- Define cloud development environments in Terraform
2023-01-29 19:45:00 -06:00
- EC2 VMs, Kubernetes Pods, Docker Containers, etc.
- Automatically shutdown idle resources to save on costs
- Onboard developers in seconds instead of days
- Delegate coding work to AI agents on your infrastructure
- Bring any model (Anthropic, OpenAI, Google, Bedrock, self-hosted)
- No LLM credentials in workspaces, user identity on every action
- Centralized model governance, cost tracking, and audit logging
2022-11-16 20:15:33 +10:00
2022-05-24 19:40:57 -05:00
<p align="center">
<img src="./docs/images/hero-image.png" alt="Coder platform showing templates and a running workspace">
2022-05-24 19:40:57 -05:00
</p>
2022-05-05 20:09:27 -05:00
2023-01-29 19:45:00 -06:00
## Quickstart
2022-05-24 19:40:57 -05:00
The most convenient way to try Coder is to install it on your local machine and experiment with provisioning cloud development environments using Docker (works on Linux, macOS, and Windows).
2022-05-24 19:40:57 -05:00
```shell
2023-01-29 19:45:00 -06:00
# First, install Coder
curl -L https://coder.com/install.sh | sh
# Start the Coder server (caches data in ~/.cache/coder)
coder server
2024-03-18 14:40:47 +01:00
# Navigate to http://localhost:3000 to create your initial user,
# create a Docker template and provision a workspace
2023-01-29 19:45:00 -06:00
```
## Install
The easiest way to install Coder is to use the
2022-10-26 00:19:54 +10:00
[install script](https://github.com/coder/coder/blob/main/install.sh) for Linux
and macOS. For Windows, use the latest `..._installer.exe` file from GitHub
Releases.
```shell
2022-06-19 15:49:42 -05:00
curl -L https://coder.com/install.sh | sh
2022-06-01 14:15:09 -05:00
```
2024-03-18 14:40:47 +01:00
You can run the install script with `--dry-run` to see the commands that will be used to install without executing them. Run the install script with `--help` for additional flags.
2022-06-19 15:49:42 -05:00
> See [install](https://coder.com/docs/install) for additional methods.
2022-06-19 15:49:42 -05:00
2024-03-18 14:40:47 +01:00
Once installed, you can start a production deployment with a single command:
```shell
# Automatically sets up an external access URL on *.try.coder.app
2022-10-07 08:05:56 -05:00
coder server
2022-10-17 19:24:49 -05:00
# Requires a PostgreSQL instance (version 13 or higher) and external access URL
coder server --postgres-url <url> --access-url <url>
2022-06-01 14:15:09 -05:00
```
Use `coder --help` to get a list of flags and environment variables. See the [install guides](https://coder.com/docs/install) for a complete tutorial.
2022-04-26 12:10:50 -05:00
## Documentation
Browse the [documentation](https://coder.com/docs) or visit a specific section below:
- [**Workspaces**](https://coder.com/docs/workspaces): Workspaces contain the IDEs, dependencies, and configuration information needed for software development
- [**Templates**](https://coder.com/docs/templates): Templates are written in Terraform and describe the infrastructure for workspaces
- [**Coder Agents**](https://coder.com/docs/ai-coder/agents): Delegate coding work to AI agents running on your self-hosted infrastructure
- [**Administration**](https://coder.com/docs/admin): Learn how to operate Coder
- [**Premium**](https://coder.com/pricing#compare-plans): Learn about paid features built for large teams
- [**IDEs**](https://coder.com/docs/ides): Connect your existing editor to a workspace
2024-03-18 14:40:47 +01:00
## Support
2023-01-29 19:45:00 -06:00
Feel free to [open an issue](https://github.com/coder/coder/issues/new) if you have questions, run into bugs, or have a feature request.
[Join our Discord](https://discord.gg/coder) to provide feedback on in-progress features and chat with the community using Coder!
2024-03-18 14:40:47 +01:00
## Integrations
2022-05-27 11:34:03 -05:00
New integrations are always in progress. Open an issue to request one. Contributions are welcome in any official or community repository.
2022-05-27 11:34:03 -05:00
2023-01-29 19:45:00 -06:00
### Official
2022-05-27 11:34:03 -05:00
- [**Coder Registry**](https://registry.coder.com): Templates, modules, and integrations for common development environments
2023-01-29 19:45:00 -06:00
- [**VS Code Extension**](https://marketplace.visualstudio.com/items?itemName=coder.coder-remote): Open any Coder workspace in VS Code with a single click
2025-05-29 17:56:44 -07:00
- [**JetBrains Toolbox Plugin**](https://plugins.jetbrains.com/plugin/26968-coder): Open any Coder workspace from JetBrains Toolbox with a single click
- [**JetBrains Gateway Plugin**](https://plugins.jetbrains.com/plugin/19620-coder): Open any Coder workspace in JetBrains Gateway with a single click
- [**Dev Containers**](https://github.com/coder/envbuilder): Build development environments using `devcontainer.json` on Docker, Kubernetes, and OpenShift
2024-03-18 14:40:47 +01:00
- [**Kubernetes Log Stream**](https://github.com/coder/coder-logstream-kube): Stream Kubernetes Pod events to the Coder startup logs
2023-01-29 19:45:00 -06:00
- [**Self-Hosted VS Code Extension Marketplace**](https://github.com/coder/code-marketplace): A private extension marketplace that works in restricted or airgapped networks integrating with [code-server](https://github.com/coder/code-server).
- [**GitHub Actions**](https://github.com/marketplace/actions/setup-coder): An action to set up the Coder CLI in GitHub workflows
2022-05-27 11:34:03 -05:00
2023-01-29 19:45:00 -06:00
### Community
- [**Community Templates**](https://registry.coder.com/templates): Community-contributed workspace templates in the Coder Registry
- [**Community Modules**](https://registry.coder.com/modules): Community-contributed modules to extend Coder templates
2023-01-29 19:45:00 -06:00
- [**Provision Coder with Terraform**](https://github.com/ElliotG/coder-oss-tf): Provision Coder on Google GKE, Azure AKS, AWS EKS, DigitalOcean DOKS, IBMCloud K8s, OVHCloud K8s, and Scaleway K8s Kapsule with Terraform
2024-03-18 14:40:47 +01:00
- [**Coder Template GitHub Action**](https://github.com/marketplace/actions/update-coder-template): A GitHub Action that updates Coder templates
- [**Discord**](https://discord.gg/coder): Chat with the community and provide feedback on in-progress features
## Contributing
New contributors are always welcome. If you are new to the Coder codebase, see
[the contribution guide](https://coder.com/docs/CONTRIBUTING) to get started.
2024-05-22 12:01:29 -05:00
## Hiring
Apply on the [careers page](https://jobs.ashbyhq.com/coder?utm_source=github&utm_medium=readme&utm_campaign=unknown) if you are interested in joining the team.