speqs
v0.4.0
Published
The command-line interface for Speqs
Maintainers
Readme
speqs
CLI tool to expose your localhost to Speqs for simulation testing.
Install
Quick install (recommended)
macOS / Linux:
curl -fsSL https://speqs.io/install.sh | shWindows (PowerShell):
irm https://speqs.io/install.ps1 | iexnpm (all platforms)
npm install -g speqsHomebrew (macOS / Linux)
brew tap speqs-io/tap
brew install speqsUsage
speqs connect <port>Options
| Flag | Description |
|------|-------------|
| -t, --token <token> | Auth token (or set SPEQS_TOKEN env var, or enter interactively) |
| --api-url <url> | Backend API URL (default: https://api.speqs.io or SPEQS_API_URL env var) |
| --version | Show version |
Token Configuration
The CLI resolves your auth token in this order:
--tokenCLI argumentSPEQS_TOKENenvironment variable- Saved token from
speqs login(stored in~/.speqs/config.json)
Examples
# Expose port 3000
speqs connect 3000
# With explicit token
speqs connect 3000 --token YOUR_TOKEN
# Using environment variable
SPEQS_TOKEN=YOUR_TOKEN speqs connect 8080License
Copyright (c) 2025 Speqs. All rights reserved. See LICENSE.
