CLI
Post to social media directly from your terminal. The @voxburst/cli package provides a full-featured command-line interface for VoxBurst.
Installation
Global install
npm install -g @voxburst/cli
voxburst --helpQuick Start
# Set your API key
voxburst config set api-key sk_your_api_key_here
# Connect a social account
voxburst accounts connect twitter
# Post to all connected accounts
voxburst post "Hello from VoxBurst! 🚀"Commands
Configuration
Manage CLI settings stored in ~/.voxburst/config.json.
voxburst config set api-key sk_xxx # Set a config value
voxburst config get api-key # Get a config value
voxburst config list # Show all config
voxburst config delete api-key # Remove a config valueAuthentication
voxburst whoami # Show current account infoPosting
Create and publish posts from the command line.
# Post to all connected accounts
voxburst post "Hello world!"
# Post to specific platforms
voxburst post "Hello!" --platforms twitter,linkedin
# Schedule a post
voxburst post "Future post" --schedule "2026-03-01 14:00"
# Post with media
voxburst post "Check this out!" --media ./image.png,./photo.jpg
# Post from a JSON file
voxburst post --file ./post.jsonpost.json format:
{
"content": "Post content here",
"platforms": ["twitter", "linkedin"],
"scheduledFor": "2026-03-01T14:00:00Z",
"overrides": {
"twitter": {
"content": "Short tweet version"
}
}
}Posts Management
voxburst posts list # List all posts
voxburst posts list --status scheduled # Filter by status
voxburst posts get post_123 # Get a specific post
voxburst posts delete post_123 # Delete a postAccounts
voxburst accounts list # List connected accounts
voxburst accounts connect twitter # Connect a new account
voxburst accounts get acc_123 # Get account details
voxburst accounts disconnect acc_123 # Disconnect an accountAnalytics
voxburst analytics post_123 # Analytics for a post
voxburst analytics account acc_123 # Account analytics
voxburst analytics account acc_123 --since 30d # Last 30 daysValidation
Test whether content is valid for specific platforms before posting.
voxburst validate "Check this content"
voxburst validate "Check this" --platforms twitter,instagramDebugging
voxburst debug request GET /v1/posts # Make a raw API request
voxburst debug config # Show resolved configurationOutput Formats
| Flag | Description |
|---|---|
| (default) | Human-readable formatted output |
--json | Machine-readable JSON output |
--quiet / -q | Minimal output (e.g., just the post ID) |
The --quiet flag is useful for scripts:
# Store the post ID in a variable
POST_ID=$(voxburst post "Hello!" --quiet)
echo "Created post: $POST_ID"Configuration
Config file location: ~/.voxburst/config.json
Environment variables take precedence over the config file:
| Variable | Description |
|---|---|
VOXBURST_API_KEY | Your API key |
VOXBURST_API_URL | API base URL (default: production) |
CI/CD Integration
GitHub Actions
- name: Post release announcement
env:
VOXBURST_API_KEY: ${{ secrets.VOXBURST_API_KEY }}
run: |
voxburst post "🚀 Version ${{ github.ref_name }} released!" \
--platforms twitter,linkedinBatch posting from a script
for file in posts/*.json; do
id=$(voxburst post --file "$file" --quiet)
echo "Created: $id"
doneCross-post to multiple platforms
voxburst post "Exciting news! 🎉" --platforms twitter,linkedin,facebookSupported Platforms
twitter, linkedin, facebook, instagram, threads, bluesky, mastodon
Platform names in the CLI are lowercase (twitter, linkedin). The API uses uppercase constants (TWITTER, LINKEDIN).
Last updated on