burp is a chat server that connects clients to OpenAI and Anthropic APIs. It provides HTTP endpoints and a browser-based chat frontend.
Install it with:
go install github.com/tetsuo/burp $ burp
2025/08/18 23:16:55 enabling anthropic models
2025/08/18 23:16:55 enabling openai models
2025/08/18 23:16:55 listening on localhost:9042- Defaults to
localhost:9042. - Requires one of:
OPENAI_API_KEYANTHROPIC_API_KEY
POST to /ask?id=<channel>&model=<model> with body text
curl --header "Content-Type: text/plain" \
--request POST \
--data "tell me a joke" \
"http://localhost:9042/chat?id=emu&model=claude-3-haiku-20240307&temp=0.75"
/wait?id=<channel>- long-poll up to 30s/recent?id=<channel>- fetch message history
Open /chat?id=<channel>&model=<model> in a browser
For example, visit http://localhost:9042/chat?id=warez&model=gpt-5-nano
Forwarded to the provider:
temp- temperature: [0.0–2.0] OpenAI, [0.0–1.0] Anthropicmax_tokens- per-model capped maximum (see provider.go)top_p- optional nucleus samplingtop_k- Anthropic only