AI Web FeedsAI Web FeedsOpen web AI reader
Documentation

Architecture Overview

High-level structure for the catalog, runtime data, web app, CLI, and optional backend.

Source: apps/web/content/docs/development/architecture.mdx

AI Web Feeds has one repository but several clear responsibilities inside it.

High-Level Pieces

Catalog Layer

The catalog starts from checked-in YAML files and schemas under data/. Those files define which sources exist and how they are grouped.

Runtime Layer

The runtime database stores fetched entries, validation history, analytics data, recommendation inputs, and other operational state. The generated article library is exported from that runtime data so the standalone web app can browse recent posts without depending on direct database access.

Web Layer

The Next.js app serves:

  • the public pages such as Feeds, Explorer, Downloads, and Stats
  • the docs site
  • API routes that read from repository data and generated artifacts
  • optional proxy routes that forward to the Python backend when configured

CLI Layer

The CLI is the operator surface for tasks such as:

  • validating catalog data
  • enriching feed metadata
  • refreshing runtime data
  • exporting OPML and article artifacts

Optional Backend Layer

The Python backend is only required for server-backed features such as recommendations and analytics endpoints. The main browsing and export flow works without it.

Architecture Overview | AI Web Feeds