Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Newsletter System Architecture

This file contains a Mermaid collaboration diagram showing the flow from User preferences to Delivery (Email / WhatsApp). Paste this file into a GitHub repository and GitHub will render the diagram.

graph TD

    %% --- Participants ---
    User(["👤 User"]):::actor
    Backend["System Backend"]
    DB["Database"]
    Scraper["Web Scraper"]
    LLM["LLM Processor"]
    Generator["Newsletter Generator"]
    Delivery["Delivery Service"]

    %% --- Interaction Flow ---
    User -->|1. submitPreferences()| Backend
    Backend -->|1.1. storePreferences()| DB
    Backend -->|2.1. fetchNews()| Scraper
    Scraper -->|2.2. rawNews| LLM
    LLM -->|2.3. simplifiedContent| Generator
    Generator -->|2.4. newsletterFiles| Backend
    Backend -->|3. sendNewsletter()| Delivery
    Delivery -->|3.1. deliverViaEmail()| User
    Delivery -->|3.2. deliverViaWhatsApp()| User

    %% --- Styling ---
    classDef actor fill:#fff,stroke:#333,stroke-width:2px;
    style Backend fill:#fff,stroke:#333,stroke-width:2px;
    style DB fill:#fff,stroke:#333,stroke-width:2px;
    style Scraper fill:#fff,stroke:#333,stroke-width:2px;
    style LLM fill:#fff,stroke:#333,stroke-width:2px;
    style Generator fill:#fff,stroke:#333,stroke-width:2px;
    style Delivery fill:#fff,stroke:#333,stroke-width:2px;
Loading

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors