The ElevenLabs text-to-speech CLI for OpenCharly images.
The sag candy go-installs github.com/steipete/sag into the user's GOPATH bin
(~/go/bin) and appends that directory to PATH, so sag is invokable by the
container user. On Fedora the alsa-lib-devel headers are pulled in for the cgo
audio backend.
| Property | Value |
|---|---|
| Layer / candy | sag |
| Binary | ~/go/bin/sag |
| Install | go install github.com/steipete/sag/cmd/sag@latest |
| Requires | layer-golang |
| Env | GOPATH=~/go, PATH append ~/go/bin |
| Fedora package | alsa-lib-devel (cgo audio backend) |
| Service / port | none |
Compose the layer by pinning this repo in a box's candy: list:
my-tts-box:
candy:
base: fedora
candy:
- '@github.com/opencharly/layer-sag:v2026.243.0409'Then, inside the built image (or on a dev host):
sag --help # the ElevenLabs TTS CLISupply ELEVENLABS_API_KEY via charly secrets at runtime.
The candy's plan: asserts the binary is present, resolves on PATH from the Go
bin directory, and that the Fedora alsa-lib-devel package is installed.
charly.yml— thesag:candy entity (therequire:, thedistro.fedora:package section, theenv:/path_append:, thego installstep, and thecheck:probes) and the embeddedsag-skill:skill entity..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.README.md— this user overview.
- Owning skill:
/charly-tools:sag - Dependency:
/charly-coder:golang - Sibling TTS:
/charly-tools:sherpa-onnx(offline) - Speech-to-text:
/charly-tools:whisper opencharly/charly— the charly CLI and image builderopencharly/opencharly— the umbrella