Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ your app ──▶ cordon ──▶ api.openai.com / api.anthropic.com
```bash
docker run -d --name cordon --init -p 127.0.0.1:8080:8080 \
-v cordon-data:/app/data -e ADMIN_TOKEN=change-me \
ghcr.io/askalf/cordon:v0.2.0
ghcr.io/askalf/cordon:v0.3.0
```

Then change one thing in your client: the base URL. Anthropic clients use `http://localhost:8080`, OpenAI clients use `http://localhost:8080/v1`. Your provider key goes through untouched; cordon never holds it. Every response says what it did: `X-Redacted: 2`, `X-Redacted-Types: EMAIL:1,CREDIT_CARD:1`.
Expand Down
2 changes: 1 addition & 1 deletion docs/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ docker compose up -d --build # from a clone: cordon on 127.0.0.1:8080, audi
Every tagged release publishes a multi-arch image (linux/amd64, linux/arm64) to GHCR with keyless Sigstore provenance and an SBOM. Verify it came from this repository's release workflow:

```bash
gh attestation verify oci://ghcr.io/askalf/cordon:v0.2.0 --repo askalf/cordon
gh attestation verify oci://ghcr.io/askalf/cordon:v0.3.0 --repo askalf/cordon
```

Sharing one Claude or ChatGPT subscription through [dario](https://github.com/askalf/dario) without leaking PII: dario's [cordon integration guide](https://github.com/askalf/dario/blob/main/docs/integrations/cordon.md).
Loading