claude-proxy
Claude-only local reverse proxy with OAuth/API-key auth, logging, usage stats, and macOS tray app
File Explorer
- modelsdev_anthropic.json
- oauth_usage.json
- app.js
- index.html
- style.css
- .gitignore
- admin.go
- admin_handlers.go
- auth.go
- build-macos.sh
- claude_handler.go
- claude_identity.go
- config.go
- credentials.go
- credentials_darwin.go
- credentials_linux.go
- credentials_linux_test.go
- credentials_test.go
- credentials_unsupported.go
- go.mod
- go.sum
- icon.go
- logger.go
- logger_persist.go
- logger_usage.go
- logger_usage_test.go
- main.go
- model_discovery.go
- pricing.go
- pricing_test.go
- private_file.go
- README.md
- request_auth.go
- request_auth_test.go
- retry.go
- router.go
- subscription_usage.go
- subscription_usage_test.go
- token_manager.go
- tray_darwin.go
- tray_stub.go
- usage.go
- usage_test.go
- version.go
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
go build
View Details ▼
go build
Compile Go sources.
go build {{path/to/main.go}}
Compile a 'package main' file (output will be the filename without extension):
go build -o {{path/to/binary}} {{path/to/source.go}}
Compile, specifying the output filename:
go build -o {{path/to/binary}} {{path/to/package}}
Compile a package:
go test
View Details ▼
go test
Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.
go test
Test the package found in the current directory:
go test -v
[v]erbosely test the package in the current directory:
go test -v ./...
Test the packages in the current directory and all subdirectories:
