This package is the Ghost-facing AVL adapter work area.
Ghost is not a WordPress-style plugin platform for arbitrary public route handling, so this package is structured as a helper service and document renderer that can be connected to Ghost through Content API, theme, proxy, or deployment-specific routing.
- TOON serialization for AVL documents.
- Ghost post/page data mapping into the six AVL sections.
- A small HTTP server for
.agentandagent.txtstyle responses. - Tests for serialization, document generation, and server behavior.
Choose the lightest integration that fits the Ghost deployment:
- Theme integration: add HTML discovery links and badge markup in the active Ghost theme.
- Reverse proxy route: route
/*.agentand/agent.txtto the helper service. - Static generation: generate
.agentfiles from Ghost Content API during deploy. - Admin/API workflow: use Ghost Admin API only when write access is truly needed.
Do not commit Ghost API keys or local .env files. Document required environment variables instead.
cd plugins/Ghost
npm install
npm test- Document the selected integration shape.
- Verify public
.agentresponses returntext/agent-view; version=1. - Verify
agent.txtadvertises available routes. - Verify theme discovery links point at page-specific
.agentcompanions. - Verify API credentials are loaded from environment only.