claude-code-router

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2026 License: BSD-2-Clause Imports: 5 Imported by: 0

README

claude-code-router

CI

Local HTTP router for Claude Code that forwards /v1/messages requests to one of several LLM providers (Anthropic subscription, MiniMax, local Ollama, company vLLM/DeepSeek) based on the request's model field — using a declarative config at ~/.dark-factory/config.yaml.

v1 skeleton state (this commit): minimal HTTP listener on 127.0.0.1:8788 with a /healthz endpoint. Provider routing logic + config loading land in subsequent commits.

Install

make install   # builds binary, installs launchd plist, starts service

Develop

make precommit   # gofmt, lint, vet, test
make run         # run locally on 127.0.0.1:8788

License

BSD-2. See LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
cli
Package cli holds the application struct that service.MainCmd parses CLI args into, plus the Run entry-point that delegates to the injected server factory.
Package cli holds the application struct that service.MainCmd parses CLI args into, plus the Run entry-point that delegates to the injected server factory.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL