Generate TOTP and Steam codes from your API client
Generate Time-based One-Time Password (TOTP) and Steam codes directly inside Yaak.
Insert {[ otp.generate ]} in any text field. A configuration dialog will open where you can set:
| Field | Description |
|---|---|
| Secret Key | The shared secret (Base32, Hex, or Text) |
| Input Format | How the secret is encoded |
| Code Type | TOTP or Steam |
| Algorithm | SHA1, SHA256, SHA512 |
| Digits | 6, 7, or 8 (TOTP only) |
| Period | Time step in seconds (TOTP only) |
| Custom Timestamp | Unix timestamp in milliseconds (optional) |
| Verification Window | Number of time steps to check (1–3) |
Insert {[ otp.verify ]} to check if a given code is valid for a secret. Returns true or false.
Bearer {[ otp.generate ]}
X-TOTP: {[ otp.verify ]}
npm install -g @yaakapp/cli
npm install
npm run dev # watch mode
npm run build # production build
MIT