vibex-sh
v1.0.0
Published
Zero-config observability CLI - pipe logs and visualize instantly
Downloads
3,032
Maintainers
Readme
vibex CLI
Zero-config observability CLI - pipe logs and visualize instantly.
Quick Start
# Production (default)
echo '{"cpu": 45, "memory": 78}' | vibexInstallation
npm install -g vibex-shUsage
Pipe any output to vibex:
# JSON logs
echo '{"cpu": 45, "memory": 78}' | vibex
# Script output
python script.py | vibex
node server.js | vibex
docker logs -f | vibex
# Reuse session
echo '{"more": "data"}' | vibex --session-id vibex-abc123Options
| Flag | Description | Example |
|------|-------------|---------|
| -s, --session-id <id> | Reuse existing session | vibex --session-id vibex-abc123 |
| --web <url> | Web server URL | vibex --web https://vibex.sh |
| --socket <url> | Socket server URL | vibex --socket wss://ingest.vibex.sh |
| --server <url> | Shorthand for --web (auto-derives socket) | vibex --server https://vibex.sh |
Server Configuration
The CLI automatically derives the socket URL from the web URL, but you can override it:
# Production (auto-derives socket URL)
vibex --server https://vibex.sh
# Custom domain
vibex --web https://staging.vibex.sh --socket wss://ingest-staging.vibex.shPriority Order
- Flags (
--web,--socket,--server) - Environment variables (
VIBEX_WEB_URL,VIBEX_SOCKET_URL) - Production defaults (
https://vibex.sh,wss://ingest.vibex.sh)
Environment Variables
export VIBEX_WEB_URL=https://vibex.sh
export VIBEX_SOCKET_URL=wss://ingest.vibex.shExamples
# Production (default)
echo '{"data": 123}' | vibex
# Custom web server, auto socket
echo '{"data": 123}' | vibex --server https://vibex.sh
# Staging
echo '{"data": 123}' | vibex --server https://staging.vibex.shLicense
MIT
