| commit | 995704692a260e7792a6116d19882bc1943e08b4 | [log] [tgz] |
|---|---|---|
| author | Josh Bleecher Snyder <josharian@gmail.com> | Mon May 05 10:26:14 2025 -0700 |
| committer | Josh Bleecher Snyder <josharian@gmail.com> | Mon May 05 10:26:21 2025 -0700 |
| tree | 54d2b592cb77cf09cc462da3df92849a7095ea37 | |
| parent | 50608b1df40053cb18d91a8493872a7ce9243655 [diff] |
dockerimg: remove configurability from open browser request Innie is untrusted, so we can't let it provide a url to open (duh). There's a chicken-and-egg problem here: we need to start the git server before launching the container, but we need the container port information to store the ps1URL on the git server. Solve it with a little sync/atomic. There's a logical race here, but if we lose the race, the behavior is that nothing happens, at which point the user tries again and it works. Good enough for now. Co-Authored-By: sketch <hello@sketch.dev>
Sketch is an agentic coding tool focused on the Go programming language. Sketch runs in your terminal, has a web UI, understands your code, and helps you get work done. To keep your environment pristine, sketch starts a docker container and outputs its work onto a branch in your host git repository.
To get started:
go install sketch.dev/cmd/sketch@latest sketch
Currently sketch runs on macOS and linux. It uses docker for containers.
macOS: brew install colima (or an equivalent, like Docker Desktop or Orbstack) linux: apt install docker.io (or equivalent for your distro) WSL2: install Docker Desktop for Windows (docker entirely inside WSL2 is tricky)
The sketch.dev service is used to provide access to an LLM service and give you a way to access the web UI from anywhere.
We have a discord server to discuss sketch.
Join if you want! https://discord.gg/R82YagTASx
See CONTRIBUTING.md
Sketch is open source. It is right here in this repository! Have a look around and mod away.
If you want to run sketch entirely without the sketch.dev service, you can set the flag -skaband-addr="" and then provide an ANTHROPIC_API_KEY environment variable. (More LLM services coming soon!)