Architecture

How the SDK keeps content instant

AutoBlogWriter separates content operations from presentation. Your app controls rendering, while the SDK handles content lifecycle automation: generation, publish orchestration, route freshness, and sitemap/indexing signals.

Full implementation docs live at docs.autoblogwriter.app.

Framework-ready SDK
Use React components and server helpers across modern SSR frameworks without rebuilding content infrastructure.
Instant route freshness
Publish events trigger revalidation hooks so newly published posts show up immediately on blog lists and post pages.
Sitemap regeneration
Each publish updates sitemap entries so crawlers can discover fresh URLs quickly and consistently.
Metadata + schema by default
Generate titles, descriptions, canonicals, and structured data with every draft and publish cycle.
Pre-publish internal linking
Before a scheduled post goes live, the SDK finds related published posts and injects valid internal links so every article ships with strong, connected site structure.
Operational visibility
Track state transitions from draft to indexed with event hooks your app can route to analytics and alerts.

Publish + Revalidate Flow

On publish, the SDK emits a deterministic event chain. Your app revalidates the affected pages and section caches so users see updates immediately.

  • POST /v1/publish

    SDK receives payload from your app

  • Persist Data

    Saves generated post and structured metadata

  • Emit Event

    Broadcasts a publish.completed event

  • Revalidate Routes

    Triggers on-demand hooks for /blog & [slug]

  • Return Payload

    Responds with success to the client

Sitemap + Indexing Flow

The same publish event can regenerate sitemap entries and send indexing notifications so crawl discovery stays fast without manual ops work.

  • publish.completed

    Event listener picks up the new publish

  • Update Sitemap

    Adds the new URL and metadata to /sitemap.xml

  • Expose in robots.txt

    Keeps sitemap location discoverable for crawlers

  • Crawler Discovery

    Googlebot and Bingbot pick it up on their next crawl

  • Track Coverage

    Monitor crawl and indexing status in analytics