internal/

directory
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: MIT

Directories

Path Synopsis
Package app holds the orchestration both front-ends call.
Package app holds the orchestration both front-ends call.
Package cli is the cobra command tree.
Package cli is the cobra command tree.
core
apitoken
Package apitoken issues and checks the REST API's bearer tokens.
Package apitoken issues and checks the REST API's bearer tokens.
checker
Package checker resolves the latest upstream version for a pack and compares it against what the pack repo vendors.
Package checker resolves the latest upstream version for a pack and compares it against what the pack repo vendors.
config
Package config loads the per-pack JSON configs and the registry that lists them, and reads and writes the version a pack repo says it vendors.
Package config loads the per-pack JSON configs and the registry that lists them, and reads and writes the version a pack repo says it vendors.
confighistory
Package confighistory keeps a timestamped copy of a config file before every save, so a bad edit -- from the web UI's editor or `config edit` -- can be seen as a diff and undone with a restore.
Package confighistory keeps a timestamped copy of a config file before every save, so a bad edit -- from the web UI's editor or `config edit` -- can be seen as a diff and undone with a restore.
docfile
Package docfile reads the JSON and YAML documents the tool is configured by.
Package docfile reads the JSON and YAML documents the tool is configured by.
gitx
Package gitx shells out to git and gh.
Package gitx shells out to git and gh.
httpx
Package httpx is the HTTP layer: a shared client, retrying JSON reads and resumable-by-existence downloads.
Package httpx is the HTTP layer: a shared client, retrying JSON reads and resumable-by-existence downloads.
jsonlog
Package jsonlog appends records to a JSON Lines file that rotates by size: the API audit log and the webhook delivery log.
Package jsonlog appends records to a JSON Lines file that rotates by size: the API audit log and the webhook delivery log.
kinds
Package kinds resolves what kind an icon-pack item is (icon or illustration) from the pack's config.json, and suggests kinds for items a human has not classified.
Package kinds resolves what kind an icon-pack item is (icon or illustration) from the pack's config.json, and suggests kinds for items a human has not classified.
manifestpack
Package manifestpack identifies, and verifies, where each set in an aggregator pack actually came from.
Package manifestpack identifies, and verifies, where each set in an aggregator pack actually came from.
packcheck
Package packcheck validates the structure of an ichava icon pack checkout: its composer.json, its manifest, that a pack config names it, its sets, licences and categories, and that every file under the sets is an SVG that parses.
Package packcheck validates the structure of an ichava icon pack checkout: its composer.json, its manifest, that a pack config names it, its sets, licences and categories, and that every file under the sets is an SVG that parses.
pathguard
Package pathguard confines a path built from config, a manifest, an archive or a request under the directory it is meant to stay in.
Package pathguard confines a path built from config, a manifest, an archive or a request under the directory it is meant to stay in.
pipeline
Package pipeline composes one source, zero or more transforms and one or more sinks, and walks them in order threading a shared context between them.
Package pipeline composes one source, zero or more transforms and one or more sinks, and walks them in order threading a shared context between them.
recipes
Package recipes composes a pack's pipelines.
Package recipes composes a pack's pipelines.
settings
Package settings resolves the tool's runtime settings from five layers.
Package settings resolves the tool's runtime settings from five layers.
sinks
Package sinks writes the in-flight tree to its destination.
Package sinks writes the in-flight tree to its destination.
sources
Package sources fetches upstream artefacts into the pipeline's working directory and records where they landed.
Package sources fetches upstream artefacts into the pipeline's working directory and records where they landed.
statefile
Package statefile reads and writes the small private JSON files the tool keeps in its state directory: API token hashes and webhook secrets.
Package statefile reads and writes the small private JSON files the tool keeps in its state directory: API token hashes and webhook secrets.
svg
Package svg enforces the shared SVG policy.
Package svg enforces the shared SVG policy.
text
Package text holds the small string helpers several packages used to write for themselves (G-04).
Package text holds the small string helpers several packages used to write for themselves (G-04).
tlscert
Package tlscert gives serve a TLS certificate when it binds beyond loopback: the operator's own (api.tls_cert and api.tls_key), or one it generates once, self-signed, and keeps in the state directory, so its fingerprint stays the same from one start to the next and a client can pin it.
Package tlscert gives serve a TLS certificate when it binds beyond loopback: the operator's own (api.tls_cert and api.tls_key), or one it generates once, self-signed, and keeps in the state directory, so its fingerprint stays the same from one start to the next and a client can pin it.
toolpath
Package toolpath finds the external programs a sync runs (git, gh, and npm for its fallback) when the process's PATH does not hold them.
Package toolpath finds the external programs a sync runs (git, gh, and npm for its fallback) when the process's PATH does not hold them.
transforms
Package transforms mutates the in-flight asset tree between a source and a sink.
Package transforms mutates the in-flight asset tree between a source and a sink.
Package defaultconfig is the copy of the repository's config/ built into the binary, used when it runs outside any checkout (a standalone binary, double-clicked from Downloads).
Package defaultconfig is the copy of the repository's config/ built into the binary, used when it runs outside any checkout (a standalone binary, double-clicked from Downloads).
Package events is the in-process event bus every integration reads: the API's event stream, the webhook dispatcher, and the per-job stream the web UI already had.
Package events is the in-process event bus every integration reads: the API's event stream, the webhook dispatcher, and the per-job stream the web UI already had.
Package mcpserver is `icon-sets-sync mcp`: a Model Context Protocol server on stdio, built on the official Go SDK, so an agent's host spawns it and no network port is opened.
Package mcpserver is `icon-sets-sync mcp`: a Model Context Protocol server on stdio, built on the official Go SDK, so an agent's host spawns it and no network port is opened.
tools
buildlayout
Package buildlayout holds the local build directory to the estate layout: build/ with one folder per OS and nothing else.
Package buildlayout holds the local build directory to the estate layout: build/ with one folder per OS and nothing else.
changelog command
Command changelog checks and closes CHANGELOG.md for the CI workflows.
Command changelog checks and closes CHANGELOG.md for the CI workflows.
checkbuild command
Command checkbuild fails when build/ breaks the local build layout: one folder per OS, checksums.txt and the tracked inputs at the root, archives/ after `make dist`, and no folder inside any of them.
Command checkbuild fails when build/ breaks the local build layout: one folder per OS, checksums.txt and the tracked inputs at the root, archives/ after `make dist`, and no folder inside any of them.
embedconfig command
Command embedconfig copies the repository's config/ into the module, so a binary run outside any checkout still has the shipped pack configs.
Command embedconfig copies the repository's config/ into the module, so a binary run outside any checkout still has the shipped pack configs.
flatdist command
Command flatdist copies GoReleaser's local output into the house layout.
Command flatdist copies GoReleaser's local output into the house layout.
launchers command
Command launchers writes what a desktop needs to start icon-sets-sync with no terminal in sight, from binaries `make cross` already built.
Command launchers writes what a desktop needs to start icon-sets-sync with no terminal in sight, from binaries `make cross` already built.
staticserve command
Command staticserve serves a directory over HTTP on a loopback address.
Command staticserve serves a directory over HTTP on a loopback address.
tablervendor command
Command tablervendor vendors the Tabler assets the web UI embeds.
Command tablervendor vendors the Tabler assets the web UI embeds.
Package tui is the interactive front-end.
Package tui is the interactive front-end.
Package ui is the shared terminal-UX layer: colour and TTY detection, status output, and the check table.
Package ui is the shared terminal-UX layer: colour and TTY detection, status output, and the check table.
Package version holds the build metadata stamped in at link time.
Package version holds the build metadata stamped in at link time.
web
Package web is the `serve` command's localhost web UI.
Package web is the `serve` command's localhost web UI.
jobs
Package jobs runs the web UI's long operations -- syncs, recipes, audits -- in the background, records what each one did as a stream of typed events, and keeps a bounded history on disk.
Package jobs runs the web UI's long operations -- syncs, recipes, audits -- in the background, records what each one did as a stream of typed events, and keeps a bounded history on disk.
Package webhooks delivers events to the receivers webhooks.endpoints names, signed in the Standard Webhooks format (https://www.standardwebhooks.com/), through a dialer that checks every address it connects to.
Package webhooks delivers events to the receivers webhooks.endpoints names, signed in the Standard Webhooks format (https://www.standardwebhooks.com/), through a dialer that checks every address it connects to.
Package tabler vendors the Tabler assets the web UI embeds: it resolves and pins versions, downloads and integrity-checks the npm tarballs, cuts the icon subset, and writes the licence texts, the hash manifest and the repository's THIRD_PARTY_NOTICES.md.
Package tabler vendors the Tabler assets the web UI embeds: it resolves and pins versions, downloads and integrity-checks the npm tarballs, cuts the icon subset, and writes the licence texts, the hash manifest and the repository's THIRD_PARTY_NOTICES.md.

Jump to

Keyboard shortcuts

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