blob-cli
v0.1.0
Published
Deploy web apps from the command line — blob hosting platform
Maintainers
Readme
blob-cli
CLI for Blob — deploy web apps from the command line.
Install
npx blob-cli --helpOr install globally:
npm install -g blob-cliUsage
AI-assisted flow
Your AI tool generates a deploy token, then runs the CLI:
npx blob-cli deploy my-app ./dist --token <token>Standalone flow
# Log in (prompts for email and password)
blob-cli login
# Deploy a directory
blob-cli deploy my-app ./dist
# Deploy to preview first
blob-cli deploy my-app ./build --preview
# Deploy with custom server code
blob-cli deploy my-app ./dist --worker ./server.js
# Skip staging health check
blob-cli deploy my-app ./dist --skip-checksLog out
blob-cli logoutCommands
blob-cli deploy <app> <directory>
Upload files from a directory and deploy them to your app.
| Option | Description |
|--------|-------------|
| --token <t> | Deploy token (from get_deploy_token MCP tool) |
| --worker <file> | Custom server code file |
| --description <msg> | Changelog description |
| --preview | Deploy to preview URL instead of production |
| --skip-checks | Skip staging health check |
| --server <url> | Override server URL |
Skipped files: node_modules, .git, .env, .env.*, .DS_Store, __pycache__, .next, .vercel
Binary files: Detected and skipped with a warning (text files only in v1).
blob-cli login
Log in with your Blob email and password. Credentials are saved to ~/.blob-cli/config.json.
blob-cli logout
Clear saved credentials.
Requirements
- Node.js 18+
- Zero runtime dependencies
License
MIT
