Sign inSign up

andrewhannigan/coder

By andrewhannigan

Updated over 2 years ago

Image
0

97

andrewhannigan/coder repository overview

Recommended usage for interactive use:

  1. Create a ~/.coder-env file containing your openai api key and any other environment variables you wish to make available to coder's execution environment
OPENAI_API_KEY=__your_key_here__
  1. Add the following to your ~/.bashrc file
coder() {
    eval "docker run --tty -i --env-file ~/.coder-env -v "$(pwd):/app/" andrewhannigan/coder:latest"
}
  1. Run coder from your terminal.
$ coder

Enter your message:

Note: coder will have read/write access to your current directory and all subdirectories with it. Set your current directory accordingly before running coder.

Tag summary

Content type

Image

Digest

sha256:2ee144d42

Size

461.3 MB

Last updated

over 2 years ago

docker pull andrewhannigan/coder