internal/

directory
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2026 License: MIT

Directories

Path Synopsis
Package authcmd holds the auth command's non-Cobra logic.
Package authcmd holds the auth command's non-Cobra logic.
Package avatar resolves the named avatar registry (config `avatars.*`) and composes per-panel image prompts for the "actor" capability: a recurring character (the author, later co-authors) composited into reel panels via image-to-image, reacting to each beat.
Package avatar resolves the named avatar registry (config `avatars.*`) and composes per-panel image prompts for the "actor" capability: a recurring character (the author, later co-authors) composited into reel panels via image-to-image, reacting to each beat.
Package avatarcmd is the shared logic behind `keryx avatar` (add/list/show): register a recurring character, auto-capture its likeness/style/palette via a one-off vision analysis (spec 0006 §4), and persist it to the config registry (avatars.*).
Package avatarcmd is the shared logic behind `keryx avatar` (add/list/show): register a recurring character, auto-capture its likeness/style/palette via a one-off vision analysis (spec 0006 §4), and persist it to the config registry (avatars.*).
Package certsource resolves keryx's TLS certificate source (spec 0027), shared by the studio HTTPS bind and the OAuth callback loopback.
Package certsource resolves keryx's TLS certificate source (spec 0027), shared by the studio HTTPS bind and the OAuth callback loopback.
Package chatgen wires the GTB chat client for keryx's optional AI generation (storyboard draft, social copy).
Package chatgen wires the GTB chat client for keryx's optional AI generation (storyboard draft, social copy).
Package cliout adapts keryx commands to the GTB output model.
Package cliout adapts keryx commands to the GTB output model.
Package configstore assembles keryx's configuration — once (spec 0048).
Package configstore assembles keryx's configuration — once (spec 0048).
Package configtest builds in-memory config.Store values for tests.
Package configtest builds in-memory config.Store values for tests.
Package content is keryx's SSG-agnostic content source (spec 0033 §4).
Package content is keryx's SSG-agnostic content source (spec 0033 §4).
gen
elevenlabs
Package elevenlabs adapts ElevenLabs into keryx's voice and music provider seams (pkg/provider).
Package elevenlabs adapts ElevenLabs into keryx's voice and music provider seams (pkg/provider).
gemini
Package gemini adapts Google's Gemini / Imagen into keryx's image provider seam (pkg/provider).
Package gemini adapts Google's Gemini / Imagen into keryx's image provider seam (pkg/provider).
Package gencache is keryx's content-addressed generation cache (R-GEN-8 / R-GLOBAL-9): a generated artefact set — a VO line's takes, a music bed, a card's illustrations — is keyed by a hash of its request (text/scene/prompt + all the settings that affect the output).
Package gencache is keryx's content-addressed generation cache (R-GEN-8 / R-GLOBAL-9): a generated artefact set — a VO line's takes, a music bed, a card's illustrations — is keyed by a hash of its request (text/scene/prompt + all the settings that affect the output).
Package gencmd holds workspace-aware take generation for the authoring loop: generate N candidate takes from a workspace's storyboard into <kind>/takes/, to be auditioned and selected (internal/takes).
Package gencmd holds workspace-aware take generation for the authoring loop: generate N candidate takes from a workspace's storyboard into <kind>/takes/, to be auditioned and selected (internal/takes).
Package genutil holds small shared helpers for the generation commands (theme resolution from props, flag-default fallbacks, output paths).
Package genutil holds small shared helpers for the generation commands (theme resolution from props, flag-default fallbacks, output paths).
Package gitrepo is keryx's thin wrapper over GTB's pkg/vcs/repo — the single git layer for the studio (spec 0012).
Package gitrepo is keryx's thin wrapper over GTB's pkg/vcs/repo — the single git layer for the studio (spec 0012).
Package lexicon reads and writes a project's pronunciation.yaml — the local, version-controlled source of truth for its pronunciation-dictionary rules (spec 0022 R-GEN-35).
Package lexicon reads and writes a project's pronunciation.yaml — the local, version-controlled source of truth for its pronunciation-dictionary rules (spec 0022 R-GEN-35).
Package lexiconcmd is the shared logic behind `keryx voice lexicon` — the list/add/sync verbs that manage a project's pronunciation.yaml and push it to the active voice provider's dictionary (spec 0022 R-GEN-35).
Package lexiconcmd is the shared logic behind `keryx voice lexicon` — the list/add/sync verbs that manage a project's pronunciation.yaml and push it to the active voice provider's dictionary (spec 0022 R-GEN-35).
Package mediastore syncs a reel workspace's MEDIA to the configured object store.
Package mediastore syncs a reel workspace's MEDIA to the configured object store.
Package postcmd is the posting state machine behind `keryx approve` and `keryx post`/`post all`/`post due` (spec 0002 §3.3, R-POST/R-AUTH).
Package postcmd is the posting state machine behind `keryx approve` and `keryx post`/`post all`/`post due` (spec 0002 §3.3, R-POST/R-AUTH).
publish
instagram
Package instagram is the Instagram Reels publisher (spec 0001 §4, build-order #1 — own-account posting under Standard Access, no App Review).
Package instagram is the Instagram Reels publisher (spec 0001 §4, build-order #1 — own-account posting under Standard Access, no App Review).
linkedin
`keryx auth linkedin` — the interactive LinkedIn OAuth flow (spec 0009 §3).
`keryx auth linkedin` — the interactive LinkedIn OAuth flow (spec 0009 §3).
tiktok
`keryx auth tiktok` — the interactive TikTok OAuth flow (spec 0008 §3).
`keryx auth tiktok` — the interactive TikTok OAuth flow (spec 0008 §3).
youtube
Package youtube is the YouTube (Shorts) publisher + auth adapter (spec 0007).
Package youtube is the YouTube (Shorts) publisher + auth adapter (spec 0007).
Package reel holds the deterministic core of the reel pipeline: the storyboard schema and validation, the VO-driven timing maths, orphan-controlled text wrapping, and accent-word parsing.
Package reel holds the deterministic core of the reel pipeline: the storyboard schema and validation, the VO-driven timing maths, orphan-controlled text wrapping, and accent-word parsing.
Package reelcmd holds the shared logic behind the `keryx reel` workspace subcommands (new/list/rename/duplicate/rm/link).
Package reelcmd holds the shared logic behind the `keryx reel` workspace subcommands (new/list/rename/duplicate/rm/link).
Package refreshcmd orchestrates `keryx auth refresh` (spec 0010): it builds the configured write-back + notifier backends, fans out across the enabled platforms' refreshers, fires alerts, and reports per-platform status.
Package refreshcmd orchestrates `keryx auth refresh` (spec 0010): it builds the configured write-back + notifier backends, fans out across the enabled platforms' refreshers, fires alerts, and reports per-platform status.
render
afmpeg
Package afmpeg renders a keryx timeline by driving FFmpeg compiled to WebAssembly (the ffmpeg-wasi engine) through the afmpeg library — no system ffmpeg binary, entirely in memory.
Package afmpeg renders a keryx timeline by driving FFmpeg compiled to WebAssembly (the ffmpeg-wasi engine) through the afmpeg library — no system ffmpeg binary, entirely in memory.
cards
Package cards renders a single storyboard card to a PNG — block mode (a line over a solid palette background, optional cover bookend) and overlay mode (a full-bleed media panel + bottom scrim + overlaid line).
Package cards renders a single storyboard card to a PNG — block mode (a line over a solid palette background, optional cover bookend) and overlay mode (a full-bleed media panel + bottom scrim + overlaid line).
ffmpeg
Package ffmpeg renders a keryx timeline into a finished MP4 by shelling out to ffmpeg — the default Renderer adapter (spec §3.4).
Package ffmpeg renders a keryx timeline into a finished MP4 by shelling out to ffmpeg — the default Renderer adapter (spec §3.4).
progress
Package progress parses ffmpeg's `-progress` output — the machine-readable key=value blocks ffmpeg emits (one `key=value` per line, a block terminated by `progress=continue|end`) when run with `-progress pipe:N`.
Package progress parses ffmpeg's `-progress` output — the machine-readable key=value blocks ffmpeg emits (one `key=value` per line, a block terminated by `progress=continue|end`) when run with `-progress pipe:N`.
silence
Package silence parses ffmpeg's silencedetect filter log — the shared piece both render backends (shell-out ffmpeg and in-memory afmpeg) use to surface internal silences for VO take screening (spec 0023).
Package silence parses ffmpeg's silencedetect filter log — the shared piece both render backends (shell-out ffmpeg and in-memory afmpeg) use to surface internal silences for VO take screening (spec 0023).
Package social models the per-platform social set (social.json) — the supporting copy for each platform plus its posting status/schedule/result (contract 0002 §4.4).
Package social models the per-platform social set (social.json) — the supporting copy for each platform plus its posting status/schedule/result (contract 0002 §4.4).
Package socialcmd is the shared logic behind `keryx social` (set/show/gen).
Package socialcmd is the shared logic behind `keryx social` (set/show/gen).
Package spend is keryx's shared generation-cost model (spec 0013 §5, 0031 §5): the per-unit price estimate every surface agrees on (CLI, studio, MCP), and the spend guard threshold that gates a runaway batch.
Package spend is keryx's shared generation-cost model (spec 0013 §5, 0031 §5): the per-unit price estimate every surface agrees on (CLI, studio, MCP), and the spend guard threshold that gates a runaway batch.
Package takes manages candidate takes and the selected slot for a reel workspace (spec 0001 §3.2 "take management"; contract 0002 §2, R-WS-1).
Package takes manages candidate takes and the selected slot for a reel workspace (spec 0001 §3.2 "take management"; contract 0002 §2, R-WS-1).
Package takescmd is the shared logic behind the take-management verbs (voice/music/cards pick, cards set, reel prune).
Package takescmd is the shared logic behind the take-management verbs (voice/music/cards pick, cards set, reel prune).
Package textleak screens generated card illustrations for accidental text (R-GEN-26): image models sometimes render stray letters/words into the art, which look wrong in a promo reel.
Package textleak screens generated card illustrations for accidental text (R-GEN-26): image models sometimes render stray letters/words into the art, which look wrong in a promo reel.
Package theme models keryx's config-driven aesthetic profiles.
Package theme models keryx's config-driven aesthetic profiles.
Package themecmd holds the shared logic behind the `keryx theme` subcommands (list/show/add/edit/rm).
Package themecmd holds the shared logic behind the `keryx theme` subcommands (list/show/add/edit/rm).
Package themestore assembles the config store themes resolve through (spec 0042 §3.6, absorbing spec 0046 step 3).
Package themestore assembles the config store themes resolve through (spec 0042 §3.6, absorbing spec 0046 step 3).
Package workspace models a reel workspace on disk — the resumable unit of the authoring loop (spec 0001 §3.2, contract 0002 §2).
Package workspace models a reel workspace on disk — the resumable unit of the authoring loop (spec 0001 §3.2, contract 0002 §2).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL