streamsplit

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 1 Imported by: 0

README

StreamSplit

Fork streams to multiple destinations.

StreamSplit tees live SSE streams to multiple consumers: user, logger, quality checker, webhook. Zero latency for primary.

Quickstart

export OPENAI_API_KEY=sk-...
npx @stockyard/streamsplit

# Your app:   http://localhost:6380/v1/chat/completions
# Dashboard:  http://localhost:6380/ui

What You Get

  • Tee SSE to multiple destinations
  • Zero latency for primary consumer
  • Configurable destinations
  • Per-destination filtering
  • Webhook forwarding
  • Dashboard with split stats

Config

# streamsplit.yaml
port: 6380
streamsplit:
  destinations:
    - type: primary
    - type: webhook
      url: ${LOG_WEBHOOK}
    - type: quality_check

Docker

docker run -p 6380:6380 -e OPENAI_API_KEY=sk-... stockyard/streamsplit

Part of Stockyard

StreamSplit is part of Stockyard — an open-source LLM proxy and control plane. MIT licensed.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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