Documentation
¶
Overview ¶
Package meta is the module root. It embeds the authoritative JSON Schema files so the validation tooling is self-contained while the files under schema/ remain the public contract.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SchemaFS embed.FS
SchemaFS holds the JSON Schema files (schema/*.json) that define every entity's on-disk shape. metacheck validates against these embedded copies.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
metabuild
command
Command metabuild compiles the data/ tree into a SQLite artifact.
|
Command metabuild compiles the data/ tree into a SQLite artifact. |
|
metacheck
command
Command metacheck validates the entire data/ tree: schema, id/shard agreement, referential integrity, uniqueness, chapter ordering, and series positions.
|
Command metacheck validates the entire data/ tree: schema, id/shard agreement, referential integrity, uniqueness, chapter ordering, and series positions. |
|
metaextract
command
Command metaextract supports the Phase 3 epub -> characters/recaps extraction pipeline.
|
Command metaextract supports the Phase 3 epub -> characters/recaps extraction pipeline. |
|
metafmt
command
Command metafmt enforces canonical JSON formatting for data/**/*.json: keys sorted alphabetically (recursively), 2-space indent, LF, a single trailing newline, UTF-8 with no HTML escaping.
|
Command metafmt enforces canonical JSON formatting for data/**/*.json: keys sorted alphabetically (recursively), 2-space indent, LF, a single trailing newline, UTF-8 with no HTML escaping. |
|
metaimport
command
Command metaimport ingests an external audiobook-library export into the data/ tree as work/recording/person/series records, deduplicating against the existing catalog so a contributor's upload becomes a reviewable diff.
|
Command metaimport ingests an external audiobook-library export into the data/ tree as work/recording/person/series records, deduplicating against the existing catalog so a contributor's upload becomes a reviewable diff. |
|
metaissue
command
Command metaissue turns a GitHub issue-form submission into canonical data- tree records (or a single-field correction, or a placed community sidecar), deduplicating against the existing catalog.
|
Command metaissue turns a GitHub issue-form submission into canonical data- tree records (or a single-field correction, or a placed community sidecar), deduplicating against the existing catalog. |
|
metascan
command
Command metascan walks a directory of audiobooks and emits a JSON document the meta.audiosilo.app import page accepts - the low-friction way to contribute a library when you have only files, no OpenAudible or Libation export.
|
Command metascan walks a directory of audiobooks and emits a JSON document the meta.audiosilo.app import page accepts - the low-friction way to contribute a library when you have only files, no OpenAudible or Libation export. |
|
metaserve
command
Command metaserve is the read-only HTTP API over the compiled metadata artifact.
|
Command metaserve is the read-only HTTP API over the compiled metadata artifact. |
|
internal
|
|
|
build
Package build compiles a validated Catalog into a read-only SQLite artifact (see SchemaVersion) with an FTS5 search index and covering indexes for ASIN and ISBN lookup.
|
Package build compiles a validated Catalog into a read-only SQLite artifact (see SchemaVersion) with an FTS5 search index and covering indexes for ASIN and ISBN lookup. |
|
importer
Package importer converts external audiobook-library exports into audiosilo-meta records on disk.
|
Package importer converts external audiobook-library exports into audiosilo-meta records on disk. |
|
issueform
Package issueform turns a GitHub issue-form submission into the canonical data-tree records a hand-authored pull request would carry.
|
Package issueform turns a GitHub issue-form submission into the canonical data-tree records a hand-authored pull request would carry. |
|
serve
Package serve is the read-only HTTP API over the compiled metadata artifact.
|
Package serve is the read-only HTTP API over the compiled metadata artifact. |
|
pkg
|
|
|
canonical
Package canonical produces the one true on-disk JSON form for data files: object keys sorted alphabetically (recursively), 2-space indent, LF line endings, a single trailing newline, UTF-8 with no HTML escaping.
|
Package canonical produces the one true on-disk JSON form for data files: object keys sorted alphabetically (recursively), 2-space indent, LF line endings, a single trailing newline, UTF-8 with no HTML escaping. |
|
check
Package check loads the data/ tree, validates every record against its JSON Schema, and enforces the cross-record rules (location, id/shard agreement, referential integrity, global uniqueness, chapter ordering, series positions).
|
Package check loads the data/ tree, validates every record against its JSON Schema, and enforces the cross-record rules (location, id/shard agreement, referential integrity, global uniqueness, chapter ordering, series positions). |
|
extract
Package extract supports the Phase 3 epub -> characters/recaps extraction pipeline.
|
Package extract supports the Phase 3 epub -> characters/recaps extraction pipeline. |
|
model
Package model defines the on-disk entity types and the rules that tie a file to its slug, shard, and location.
|
Package model defines the on-disk entity types and the rules that tie a file to its slug, shard, and location. |
|
scan
Package scan walks a directory of audiobooks and gathers whatever metadata it can find - embedded tags (via dhowden/tag), the folder structure, and file names - into a JSON document the meta.audiosilo.app import page accepts.
|
Package scan walks a directory of audiobooks and gathers whatever metadata it can find - embedded tags (via dhowden/tag), the folder structure, and file names - into a JSON document the meta.audiosilo.app import page accepts. |
Click to show internal directories.
Click to hide internal directories.