# cjw1724/seo-ad architecture

> Architecture diagram of the GitHub repository cjw1724/seo-ad, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cjw1724/seo-ad
- Repository: https://github.com/cjw1724/seo-ad

## Overview

Blogin 365 is an automated AI media-publishing system. Its main workflow discovers trends, scores commercial demand, creates and humanizes editorial content, assembles monetized visuals, audits quality, publishes to Blogger, and submits published URLs for indexing; social distribution and lifecycle maintenance extend the workflow. The README documents these stages, while excerpts confirm several implementations and calls. Some connections among unsampled stages are therefore documented rather than verified in source.

Main entry points: [`engine/pipeline/pipeline_flow.py`](https://github.com/cjw1724/seo-ad/blob/main/engine/pipeline/pipeline_flow.py) (Pipeline Orchestrator), [`engine/agents/cro_monetizer.py`](https://github.com/cjw1724/seo-ad/blob/main/engine/agents/cro_monetizer.py) (CRO Article Assembly), [`engine/publisher/blogger_gateway.py`](https://github.com/cjw1724/seo-ad/blob/main/engine/publisher/blogger_gateway.py) (Blogger Gateway), [`engine/indexing/instant_indexer.py`](https://github.com/cjw1724/seo-ad/blob/main/engine/indexing/instant_indexer.py) (Instant Indexer)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Discovery &amp; Scoring"]
  node_trends["Trend Scout<br/>[trend_scout.py]"]
  node_community["Community Scout"]
  node_matcher["Demand Matcher<br/>[demand_matcher.py]"]
end

subgraph group_editorial["Editorial &amp; Quality"]
  node_agency["Editorial Agency<br/>[agency_stack.py]"]
  node_verifier["Experience Verifier"]
  node_humanizer["Human Voice Engine"]
  node_cro["CRO Article Assembly<br/>[cro_monetizer.py]"]
  node_calculator["SaaS Calculator<br/>[saas_calculator.py]"]
  node_canvas["Visual Renderer<br/>[canvas_renderer.py]"]
  node_annotation["Handcrafted Annotations"]
  node_auditor["Quality Auditor<br/>[gstack_auditor.py]"]
end

subgraph group_publishing["Publishing &amp; Growth"]
  node_blogger["Blogger Gateway<br/>[blogger_gateway.py]"]
  node_indexer["Instant Indexer<br/>[instant_indexer.py]"]
  node_hookmaker["Viral Hook Maker"]
  node_distributor["Channel Distributor"]
end

subgraph group_operations["Operations &amp; Learning"]
  node_runtime["Company Runtime<br/>[company_runtime.py]"]
  node_pipeline["Pipeline Orchestrator<br/>[pipeline_flow.py]"]
  node_feedback["Feedback Loop<br/>[feedback_loop.py]"]
  node_refresher["Content Refresher"]
end

node_operator(("Operator"))
node_search["Search Engines"]
node_social["Social Channels"]
node_blog["Blogger"]

node_operator -->|"runs"| node_runtime
node_runtime -.->|"coordinates"| node_pipeline
node_pipeline -->|"discovers trends"| node_trends
node_pipeline -->|"scores demand"| node_matcher
node_pipeline -->|"gathers sentiment"| node_community
node_pipeline -->|"creates editorial"| node_agency
node_pipeline -->|"verifies experience"| node_verifier
node_pipeline -->|"humanizes copy"| node_humanizer
node_pipeline -->|"assembles article"| node_cro
node_cro -->|"renders calculator"| node_calculator
node_cro -->|"renders chart"| node_canvas
node_cro -->|"adds visuals"| node_annotation
node_pipeline -->|"audits content"| node_auditor
node_pipeline -->|"publishes article"| node_blogger
node_pipeline -->|"submits URL"| node_indexer
node_indexer -->|"pings engines"| node_search
node_blogger -->|"publishes to"| node_blog
node_pipeline -->|"creates social hooks"| node_hookmaker
node_pipeline -->|"dispatches posts"| node_distributor
node_distributor -->|"sends payloads"| node_social
node_pipeline -->|"queues refreshes"| node_refresher
node_pipeline -->|"tracks performance"| node_feedback
node_feedback -->|"tunes weights"| node_matcher

click node_runtime "https://github.com/cjw1724/seo-ad/blob/main/engine/company_runtime.py"
click node_pipeline "https://github.com/cjw1724/seo-ad/blob/main/engine/pipeline/pipeline_flow.py"
click node_trends "https://github.com/cjw1724/seo-ad/blob/main/engine/radar/trend_scout.py"
click node_community "https://github.com/cjw1724/seo-ad/blob/main/engine/radar/community_sentiment_scout.py"
click node_matcher "https://github.com/cjw1724/seo-ad/blob/main/engine/matcher/demand_matcher.py"
click node_feedback "https://github.com/cjw1724/seo-ad/blob/main/engine/analytics/feedback_loop.py"
click node_agency "https://github.com/cjw1724/seo-ad/blob/main/engine/agents/agency_stack.py"
click node_verifier "https://github.com/cjw1724/seo-ad/blob/main/engine/matcher/experiential_verifier.py"
click node_humanizer "https://github.com/cjw1724/seo-ad/blob/main/engine/agents/human_voice_engine.py"
click node_cro "https://github.com/cjw1724/seo-ad/blob/main/engine/agents/cro_monetizer.py"
click node_calculator "https://github.com/cjw1724/seo-ad/blob/main/engine/visuals/saas_calculator.py"
click node_canvas "https://github.com/cjw1724/seo-ad/blob/main/engine/visuals/canvas_renderer.py"
click node_annotation "https://github.com/cjw1724/seo-ad/blob/main/engine/visuals/handcrafted_annotation_renderer.py"
click node_auditor "https://github.com/cjw1724/seo-ad/blob/main/engine/qa/gstack_auditor.py"
click node_blogger "https://github.com/cjw1724/seo-ad/blob/main/engine/publisher/blogger_gateway.py"
click node_indexer "https://github.com/cjw1724/seo-ad/blob/main/engine/indexing/instant_indexer.py"
click node_hookmaker "https://github.com/cjw1724/seo-ad/blob/main/engine/growth/viral_hook_maker.py"
click node_distributor "https://github.com/cjw1724/seo-ad/blob/main/engine/distribution/multi_channel_distributor.py"
click node_refresher "https://github.com/cjw1724/seo-ad/blob/main/engine/maintenance/content_refresher.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_trends,node_community,node_matcher toneBlue
class node_agency,node_verifier,node_humanizer,node_cro,node_calculator,node_canvas,node_annotation,node_auditor toneAmber
class node_blogger,node_indexer,node_hookmaker,node_distributor toneMint
class node_runtime,node_pipeline,node_feedback,node_refresher toneRose
class node_operator,node_search,node_social,node_blog toneIndigo
```

## Components

### Discovery & Scoring

- [Trend Scout](https://github.com/cjw1724/seo-ad/blob/main/engine/radar/trend_scout.py): `engine/radar/trend_scout.py`
- [Community Scout](https://github.com/cjw1724/seo-ad/blob/main/engine/radar/community_sentiment_scout.py): `engine/radar/community_sentiment_scout.py`
- [Demand Matcher](https://github.com/cjw1724/seo-ad/blob/main/engine/matcher/demand_matcher.py): `engine/matcher/demand_matcher.py`

### Editorial & Quality

- [Editorial Agency](https://github.com/cjw1724/seo-ad/blob/main/engine/agents/agency_stack.py): `engine/agents/agency_stack.py`
- [Experience Verifier](https://github.com/cjw1724/seo-ad/blob/main/engine/matcher/experiential_verifier.py): `engine/matcher/experiential_verifier.py`
- [Human Voice Engine](https://github.com/cjw1724/seo-ad/blob/main/engine/agents/human_voice_engine.py): `engine/agents/human_voice_engine.py`
- [CRO Article Assembly](https://github.com/cjw1724/seo-ad/blob/main/engine/agents/cro_monetizer.py): `engine/agents/cro_monetizer.py`
- [SaaS Calculator](https://github.com/cjw1724/seo-ad/blob/main/engine/visuals/saas_calculator.py): `engine/visuals/saas_calculator.py`
- [Visual Renderer](https://github.com/cjw1724/seo-ad/blob/main/engine/visuals/canvas_renderer.py): `engine/visuals/canvas_renderer.py`
- [Handcrafted Annotations](https://github.com/cjw1724/seo-ad/blob/main/engine/visuals/handcrafted_annotation_renderer.py): `engine/visuals/handcrafted_annotation_renderer.py`
- [Quality Auditor](https://github.com/cjw1724/seo-ad/blob/main/engine/qa/gstack_auditor.py): `engine/qa/gstack_auditor.py`

### Publishing & Growth

- [Blogger Gateway](https://github.com/cjw1724/seo-ad/blob/main/engine/publisher/blogger_gateway.py): `engine/publisher/blogger_gateway.py`
- [Instant Indexer](https://github.com/cjw1724/seo-ad/blob/main/engine/indexing/instant_indexer.py): `engine/indexing/instant_indexer.py`
- [Viral Hook Maker](https://github.com/cjw1724/seo-ad/blob/main/engine/growth/viral_hook_maker.py): `engine/growth/viral_hook_maker.py`
- [Channel Distributor](https://github.com/cjw1724/seo-ad/blob/main/engine/distribution/multi_channel_distributor.py): `engine/distribution/multi_channel_distributor.py`

### Operations & Learning

- [Company Runtime](https://github.com/cjw1724/seo-ad/blob/main/engine/company_runtime.py): `engine/company_runtime.py`
- [Pipeline Orchestrator](https://github.com/cjw1724/seo-ad/blob/main/engine/pipeline/pipeline_flow.py): `engine/pipeline/pipeline_flow.py`
- [Feedback Loop](https://github.com/cjw1724/seo-ad/blob/main/engine/analytics/feedback_loop.py): `engine/analytics/feedback_loop.py`
- [Content Refresher](https://github.com/cjw1724/seo-ad/blob/main/engine/maintenance/content_refresher.py): `engine/maintenance/content_refresher.py`

### Other components

- **Operator**
- **Search Engines**
- **Social Channels**
- **Blogger**

## Connections

- Operator → Company Runtime: runs (evidence: `README.md`)
- Company Runtime → Pipeline Orchestrator: coordinates (evidence: `engine/pipeline/pipeline_flow.py`)
- Pipeline Orchestrator → Trend Scout: discovers trends (evidence: `README.md`)
- Pipeline Orchestrator → Demand Matcher: scores demand (evidence: `README.md`)
- Pipeline Orchestrator → Community Scout: gathers sentiment (evidence: `README.md`)
- Pipeline Orchestrator → Editorial Agency: creates editorial (evidence: `README.md`)
- Pipeline Orchestrator → Experience Verifier: verifies experience (evidence: `README.md`)
- Pipeline Orchestrator → Human Voice Engine: humanizes copy (evidence: `README.md`)
- Pipeline Orchestrator → CRO Article Assembly: assembles article (evidence: `README.md`)
- CRO Article Assembly → SaaS Calculator: renders calculator (evidence: `engine/agents/cro_monetizer.py`)
- CRO Article Assembly → Visual Renderer: renders chart (evidence: `engine/agents/cro_monetizer.py`)
- CRO Article Assembly → Handcrafted Annotations: adds visuals (evidence: `engine/agents/cro_monetizer.py`)
- Pipeline Orchestrator → Quality Auditor: audits content (evidence: `README.md`)
- Pipeline Orchestrator → Blogger Gateway: publishes article (evidence: `README.md`)
- Pipeline Orchestrator → Instant Indexer: submits URL (evidence: `engine/pipeline/pipeline_flow.py`)
- Instant Indexer → Search Engines: pings engines (evidence: `engine/indexing/instant_indexer.py`)
- Blogger Gateway → Blogger: publishes to (evidence: `README.md`)
- Pipeline Orchestrator → Viral Hook Maker: creates social hooks (evidence: `README.md`)
- Pipeline Orchestrator → Channel Distributor: dispatches posts (evidence: `README.md`)
- Channel Distributor → Social Channels: sends payloads (evidence: `engine/distribution/multi_channel_distributor.py`)
- Pipeline Orchestrator → Content Refresher: queues refreshes (evidence: `README.md`)
- Pipeline Orchestrator → Feedback Loop: tracks performance (evidence: `README.md`)
- Feedback Loop → Demand Matcher: tunes weights (evidence: `README.md`)
