CLI Usage
How to use the ZLS command-line interface.
The ZLS CLI is a native binary that provides fast URL compression and decompression without a browser.
Installation
From Source
Requires Zig 0.16.0.
git clone https://gitlab.com/zillowe/zillwen/zusty/zls
cd zls
just cliThe binary will be available at ./zig-out/bin/zls.
Commands
Shorten
Compresses a URL into a stateless payload.
zls shorten <url>Example:
zls shorten https://google.com/
# Output: ~.Expand
Decompresses a payload back into the original URL.
zls expand <payload>Example:
zls expand ~.
# Output: https://google.comHelp
Shows the usage message.
zls help2026 © All Rights Reserved.
- All the content is available under CC BY-SA 4.0, expect where otherwise stated.
- Source code is available on GitLab, licensed under Apache 2.0.
Last updated on
