Dev Container Features maintained by the UniRate team.
| Feature | Description |
|---|---|
unirate-cli |
Installs the unirate CLI — currency exchange rates, conversion, and VAT lookups from the UniRate API. |
Reference a feature in your .devcontainer/devcontainer.json:
Pin a specific CLI version with the version option:
{
"features": {
"ghcr.io/unirate-api/devcontainer-features/unirate-cli:1": {
"version": "0.1.0"
}
}
}Then, inside the container:
export UNIRATE_API_KEY="your-api-key" # free key at https://unirateapi.com
unirate convert 100 USD EUR
unirate rate USD JPY
unirate vat FRunirate-cli does not pull an npm/pip/other dependency tree. Its
install.sh:
- Downloads the prebuilt, statically-linked release archive for the
container's OS/arch from the official
UniRate-API/unirate-cliGitHub releases. - Downloads that release's
checksums.txtand verifies the archive's SHA-256 before extracting anything. A mismatch aborts the install. - Installs the single
uniratebinary to/usr/local/bin.
The only prerequisites installed (if absent) are curl, tar, ca-certificates,
and a SHA-256 tool, via the base image's own package manager.
MIT — see LICENSE.
{ "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "ghcr.io/unirate-api/devcontainer-features/unirate-cli:1": {} } }