Skip to main content
Zingat includes a command-line client (clipclient) for creating and managing clips from the terminal.

Installation

The CLI client is built as part of the Zingat project:

Basic Usage

Options:
  • --api-key <api-key>: API key for authentication (required)
  • [addr]: Server address (optional, defaults to http://127.0.0.1:8000)
    • Can also be set via ZINGAT_ADDR environment variable
Subcommands:
  • get: Retrieve a clip by shortcode
  • new: Create a new clip
  • update: Update an existing clip
  • help: Show help information

Examples

Generate API Key

First, generate an API key:

Create Clip

Get Clip

Update Clip

Using Environment Variable