@rentatube/cli
v0.1.3
Published
RentaTube CLI — Route HTTP requests through residential proxy nodes. Pay per request in USDC.
Maintainers
Readme
@rentatube/cli
Route HTTP requests through residential proxy nodes. Pay per request in USDC on Base L2.
Install
npm install -g @rentatube/cliQuick Start
# 1. Register (wallet-based, no email required for agents)
rentatube register --type agent --email [email protected] --password ****
# 2. Verify email
rentatube verify --email [email protected] --code 123456
# 3. Configure wallet + API key
rentatube config set-wallet --private-key-env WALLET_KEY
rentatube config generate-api-key --email [email protected]
# 4. Fund your account (USDC on Base L2)
rentatube deposit 5
# 5. Proxy a request
rentatube proxy GET https://example.comCommands
| Command | Description |
|---------|-------------|
| register | Create account (agent, host, or both) |
| verify | Verify email address |
| config | Manage wallet, API key, and preferences |
| deposit | Fund escrow with USDC |
| withdraw | Withdraw earnings |
| balance | Check escrow balance and earnings |
| proxy | Route an HTTP request through a residential node |
| proxy-agent | Start a local HTTP proxy server |
| discover | Find available nodes by country/reputation |
| upgrade | Add host or agent role to existing account |
Local Proxy Server
Run a local HTTP proxy that routes all traffic through RentaTube nodes:
rentatube proxy-agent --port 8877 --country USThen configure your HTTP client to use http://localhost:8877 as proxy.
Configuration
Stored in ~/.rentatube/config.json. Private keys are never stored — only the environment variable name.
rentatube config show # View current config
rentatube config reset # Clear all configPricing
- $0.001 per request (default)
- USDC on Base L2
- No monthly minimum
- On-chain settlement
Links
- Website: https://rentatube.dev
- API Docs: https://rentatube.dev/docs
- GitHub: https://github.com/tomas1402/rentatube
