helicone-router
v0.1.0-beta.1
Published
A high-performance proxy router for LLM APIs built with Rust
Downloads
6
Maintainers
Readme
Helicone Router CLI
A Node.js CLI wrapper for the Helicone Router - a high-performance proxy router for LLM APIs built with Rust.
Installation
Using npx (Recommended)
npx helicone-router --startGlobal Installation
npm install -g helicone-router
helicone-router --startUsage
Once installed, you can use the helicone-router command from anywhere:
# Start the router
helicone-router --start
# Check version
helicone-router --version
# Get help
helicone-router --helpAll arguments are forwarded directly to the underlying Rust binary, so you can use any flags and options that the Rust CLI supports.
System Requirements
- Node.js: Version 16 or higher
- Supported Platforms:
- macOS (darwin)
- Linux (linux)
How It Works
This package includes pre-compiled Rust binaries for different platforms:
helicone-router-macosfor macOShelicone-router-linuxfor Linux
The Node.js wrapper automatically detects your operating system and runs the appropriate binary with your provided arguments.
Troubleshooting
"Binary not found" Error
Make sure you're using a supported platform (macOS or Linux). If you're on a supported platform and still getting this error, the binary might be missing from the package.
"Binary is not executable" Error
Run the following command to make the binary executable:
chmod +x ./node_modules/helicone-router/dist/helicone-router-*"Node.js version" Error
Upgrade to Node.js version 16 or higher:
# Using nvm
nvm install 16
nvm use 16
# Or download from https://nodejs.org/Contributing
This CLI wrapper is part of the Helicone Router project. Please refer to the main repository for contributing guidelines.
License
MIT
