vpsfree-client

v0.20.1

Ruby CLI and client library for vpsFree.cz API. Available as a Homebrew formula in the toobab/tap tap for macOS.

Install with Homebrew

brew tap toobab/tap
brew install toobab/tap/vpsfree-client

# upgrade / uninstall
brew upgrade vpsfree-client
brew uninstall vpsfree-client

Details

Caveats & Instructions
Running the client:
        vpsfreectl

      ---
      Authentication with 2FA (TOTP) workaround:
      Generating a token purely via the CLI (vpsfreectl token request) often fails
      due to two-factor authentication. A reliable workaround is to generate the token via cURL:

      1. Request a pending token:
         PENDING_TOKEN=$(curl -s -X POST https://api.vpsfree.cz/_auth/token/tokens \\
         -H "Content-Type: application/json" -d '{"user":"your-username","password":"your-password"}')

      2. Confirm the token with your TOTP code:
         curl -X POST https://api.vpsfree.cz/_auth/token/tokens/totp \\
         -H "Content-Type: application/json" -d "{\\"token\\":\\"$PENDING_TOKEN\\",\\"code\\":\\"123456\\"}"

      Finally, save the active token to your local configuration for automatic login:
        vpsfreectl --auth token --save your-username

← All packages in toobab/tap