# yaoxin521123/ai-weekly architecture

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

- Interactive diagram: https://gitdiagram.com/yaoxin521123/ai-weekly
- Repository: https://github.com/yaoxin521123/ai-weekly

## Overview

AI Weekly is a static Chinese-language AI news briefing. Readers browse a curated snapshot, filter or search stories, open detail and verification notes, save favorites locally, and export the issue as Markdown. The content is hand-maintained rather than automatically collected. The graph focuses on the two sampled runtime modules; the page shell and styling are present in the tree, but their implementation details were not sampled.

Main entry points: [`app.js`](https://github.com/yaoxin521123/ai-weekly/blob/main/app.js) (Briefing interface), [`news.js`](https://github.com/yaoxin521123/ai-weekly/blob/main/news.js) (News snapshot)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_experience["Briefing experience"]
  node_briefing["Briefing interface<br/>[app.js]"]
  node_saved[("Saved stories<br/>[app.js]")]
  node_markdown["Markdown export<br/>[app.js]"]
end

subgraph group_content["Editorial content"]
  node_news["News snapshot<br/>[news.js]"]
end

node_reader(("Reader"))
node_browser["Browser runtime"]

node_reader -->|"uses"| node_briefing
node_briefing -->|"filters and displays"| node_news
node_briefing -->|"reads and writes"| node_saved
node_briefing -->|"triggers"| node_markdown
node_markdown -->|"downloads file"| node_browser
node_saved -->|"persists locally"| node_browser

click node_briefing "https://github.com/yaoxin521123/ai-weekly/blob/main/app.js"
click node_saved "https://github.com/yaoxin521123/ai-weekly/blob/main/app.js"
click node_markdown "https://github.com/yaoxin521123/ai-weekly/blob/main/app.js"
click node_news "https://github.com/yaoxin521123/ai-weekly/blob/main/news.js"

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_briefing,node_saved,node_markdown,node_browser toneBlue
class node_news toneAmber
class node_reader toneIndigo
```

## Components

### Briefing experience

- [Briefing interface](https://github.com/yaoxin521123/ai-weekly/blob/main/app.js): `app.js`
- [Saved stories](https://github.com/yaoxin521123/ai-weekly/blob/main/app.js): `app.js`
- [Markdown export](https://github.com/yaoxin521123/ai-weekly/blob/main/app.js): `app.js`

### Editorial content

- [News snapshot](https://github.com/yaoxin521123/ai-weekly/blob/main/news.js): `news.js`

### Other components

- **Reader**
- **Browser runtime**

## Connections

- Reader → Briefing interface: uses (evidence: `app.js`)
- Briefing interface → News snapshot: filters and displays (evidence: `app.js`)
- Briefing interface → Saved stories: reads and writes (evidence: `app.js`)
- Briefing interface → Markdown export: triggers (evidence: `app.js`)
- Markdown export → Browser runtime: downloads file (evidence: `app.js`)
- Saved stories → Browser runtime: persists locally (evidence: `app.js`)
