Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
colophon
command
|
|
|
contrib
|
|
|
pronunciation
Package pronunciation embeds colophon's built-in, provider-agnostic pronunciation dictionaries so a site can reference one by name (e.g.
|
Package pronunciation embeds colophon's built-in, provider-agnostic pronunciation dictionaries so a site can reference one by name (e.g. |
|
skills
Package skills embeds colophon's authoring SKILL.md files so the `colophon skills` command can install them into a detected agent harness without the repo present.
|
Package skills embeds colophon's authoring SKILL.md files so the `colophon skills` command can install them into a detected agent harness without the repo present. |
|
internal
|
|
|
build
Package build is the content pipeline: it reads markdown from content/, renders it through the theme engine, and writes the canonical static tree to public/.
|
Package build is the content pipeline: it reads markdown from content/, renders it through the theme engine, and writes the canonical static tree to public/. |
|
cli
Package cli defines colophon's command tree using kong.
|
Package cli defines colophon's command tree using kong. |
|
clog
Package clog is colophon's human-facing progress log: a thin, nil-safe adapter over log/slog (via github.com/jmylchreest/slog-logfilter).
|
Package clog is colophon's human-facing progress log: a thin, nil-safe adapter over log/slog (via github.com/jmylchreest/slog-logfilter). |
|
config
Package config loads colophon.yaml (sites + publishers) and the personas/*.yaml files, applying {env:VAR} interpolation and basic validation.
|
Package config loads colophon.yaml (sites + publishers) and the personas/*.yaml files, applying {env:VAR} interpolation and basic validation. |
|
core
Package core holds colophon's domain model: the language-neutral types that the CLI, build pipeline, sources, and publishers all share.
|
Package core holds colophon's domain model: the language-neutral types that the CLI, build pipeline, sources, and publishers all share. |
|
feed
Package feed renders syndication formats (RSS 2.0, Atom 1.0, JSON Feed 1.1) and a sitemap from a site's built pages, using only encoding/xml + encoding/json — no external dependency.
|
Package feed renders syndication formats (RSS 2.0, Atom 1.0, JSON Feed 1.1) and a sitemap from a site's built pages, using only encoding/xml + encoding/json — no external dependency. |
|
generate
Package generate turns text prompts into images for colophon's `gen:` references.
|
Package generate turns text prompts into images for colophon's `gen:` references. |
|
persona
Package persona assembles "write-as" context for a blog persona: its style guide and references plus the most relevant exemplars drawn from that persona's own published content.
|
Package persona assembles "write-as" context for a blog persona: its style guide and references plus the most relevant exemplars drawn from that persona's own published content. |
|
profiling
Package profiling is colophon's hidden, opt-in pprof hook.
|
Package profiling is colophon's hidden, opt-in pprof hook. |
|
publish
Package publish maps publisher driver names to implementations.
|
Package publish maps publisher driver names to implementations. |
|
publish/cloudflare
Package cloudflare implements the "cloudflare-pages" publisher: it deploys the built tree to a Cloudflare Pages project via the direct-upload API (no wrangler).
|
Package cloudflare implements the "cloudflare-pages" publisher: it deploys the built tree to a Cloudflare Pages project via the direct-upload API (no wrangler). |
|
publish/command
Package command implements the "command" publisher: it materialises the built tree to a directory and runs a user-configured CLI command against it, so any deploy tool that takes a directory — surge, netlify, vercel, wrangler, rsync, scp, aws s3 sync, a bespoke script — can be a colophon publisher without a driver of its own.
|
Package command implements the "command" publisher: it materialises the built tree to a directory and runs a user-configured CLI command against it, so any deploy tool that takes a directory — surge, netlify, vercel, wrangler, rsync, scp, aws s3 sync, a bespoke script — can be a colophon publisher without a driver of its own. |
|
publish/git
Package git implements the "git" publisher (and the "github-pages" alias): it writes the built tree onto a nominated branch of a remote repository and force-pushes it, so the branch always mirrors the latest build.
|
Package git implements the "git" publisher (and the "github-pages" alias): it writes the built tree onto a nominated branch of a remote repository and force-pushes it, so the branch always mirrors the latest build. |
|
publish/local
Package local implements the "local" publisher: it copies the built tree to a directory on disk.
|
Package local implements the "local" publisher: it copies the built tree to a directory on disk. |
|
publish/r2
Package r2 implements the "cloudflare-r2" publisher: it uploads the built tree to an S3-compatible object store (Cloudflare R2, or any S3/MinIO via an explicit endpoint).
|
Package r2 implements the "cloudflare-r2" publisher: it uploads the built tree to an S3-compatible object store (Cloudflare R2, or any S3/MinIO via an explicit endpoint). |
|
publish/s3
Package s3 implements the generic "s3" publisher and the "tigris" alias: it uploads the built tree to any S3-compatible object store using the shared S3 wire client (internal/publish/s3common).
|
Package s3 implements the generic "s3" publisher and the "tigris" alias: it uploads the built tree to any S3-compatible object store using the shared S3 wire client (internal/publish/s3common). |
|
publish/s3common
Package s3common is the generic S3 client shared by S3-compatible publishers (cloudflare-r2, tigris, future backends).
|
Package s3common is the generic S3 client shared by S3-compatible publishers (cloudflare-r2, tigris, future backends). |
|
render
Package render turns templates + page data into HTML behind a pluggable Engine.
|
Package render turns templates + page data into HTML behind a pluggable Engine. |
|
retry
Package retry is the shared rate-limit/transient backoff used by every outbound HTTP subsystem (AI generation, webmention, websub, syndication).
|
Package retry is the shared rate-limit/transient backoff used by every outbound HTTP subsystem (AI generation, webmention, websub, syndication). |
|
scaffold
Package scaffold writes the initial file tree for a new colophon project.
|
Package scaffold writes the initial file tree for a new colophon project. |
|
serve
Package serve runs a local preview server.
|
Package serve runs a local preview server. |
|
showcase
Package showcase provides a built-in markdown reference page, embedded in the binary, that demonstrates every content feature a theme can enrich.
|
Package showcase provides a built-in markdown reference page, embedded in the binary, that demonstrates every content feature a theme can enrich. |
|
skills
Package skills installs colophon's embedded authoring SKILL.md files into whichever agent harness is present on the machine (Claude Code, Codex, opencode, Cursor, Copilot, Gemini CLI).
|
Package skills installs colophon's embedded authoring SKILL.md files into whichever agent harness is present on the machine (Claude Code, Codex, opencode, Cursor, Copilot, Gemini CLI). |
|
source
Package source maps content-source driver names to implementations.
|
Package source maps content-source driver names to implementations. |
|
source/mddir
Package mddir implements the "md-dir" source: a directory of markdown files.
|
Package mddir implements the "md-dir" source: a directory of markdown files. |
|
source/obsidian
Package obsidian implements the "obsidian" source: one or more Obsidian vault folders, read in place (no copy).
|
Package obsidian implements the "obsidian" source: one or more Obsidian vault folders, read in place (no copy). |
|
syndicate
Package syndicate implements POSSE: publish on your own site, then syndicate copies to silos (Mastodon, Bluesky, …) linking back.
|
Package syndicate implements POSSE: publish on your own site, then syndicate copies to silos (Mastodon, Bluesky, …) linking back. |
|
telemetry
Package telemetry sends colophon's own build/publish events to a statsfactory instance, separate from the reader-facing web beacon.
|
Package telemetry sends colophon's own build/publish events to a statsfactory instance, separate from the reader-facing web beacon. |
|
webmention
Package webmention implements the sender half of Webmention (W3C Recommendation, https://www.w3.org/TR/webmention/): after a post is live, notify every site it links to so the link can appear as a response there.
|
Package webmention implements the sender half of Webmention (W3C Recommendation, https://www.w3.org/TR/webmention/): after a post is live, notify every site it links to so the link can appear as a response there. |
|
websub
Package websub implements the publisher side of WebSub (W3C Recommendation, https://www.w3.org/TR/websub/): pinging a hub after publish so it pushes the updated feed to subscribers in real time.
|
Package websub implements the publisher side of WebSub (W3C Recommendation, https://www.w3.org/TR/websub/): pinging a hub after publish so it pushes the updated feed to subscribers in real time. |
|
Package markdown is colophon's content-file codec: it parses and generates the frontmatter-plus-markdown documents colophon and external tools exchange.
|
Package markdown is colophon's content-file codec: it parses and generates the frontmatter-plus-markdown documents colophon and external tools exchange. |
|
search
module
|
Click to show internal directories.
Click to hide internal directories.