| commit | 7660e4e48978ed32452ed444514238c41c27c0c9 | [log] [tgz] |
|---|---|---|
| author | Josh Bleecher Snyder <josharian@gmail.com> | Thu Apr 24 10:34:17 2025 -0700 |
| committer | Josh Bleecher Snyder <josharian@gmail.com> | Thu Apr 24 10:34:17 2025 -0700 |
| tree | ae9c6be37e2c2d4b593d5cc75eeb73457d911771 | |
| parent | fe3e9f7d8480ea2ed8cfa68a310a7d8bf6162160 [diff] |
dockerimg: use more modern APIs - bytes.Lines instead of bufio.NewScanner - bytes.CutPrefix instead of HasPrefix/TrimPrefix Simpler, cheaper. There is a slight change in that bytes.Lines includes the trailing newline, and bufio.Scanner does not. But we only do prefix work to start, and then we do a TrimSpace, so this ends up being a wash.
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/colima for containers.
macOS: brew install colima linux: apt install docker.io (or equivalent for your distro)
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/2xG3KEG3
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!)