# santhoshbhandari3008/kalakram-feedback architecture

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

- Interactive diagram: https://gitdiagram.com/santhoshbhandari3008/kalakram-feedback
- Repository: https://github.com/santhoshbhandari3008/kalakram-feedback

## Overview

Kalakram Feedback is a public correction inbox, with a separate automated Nepal-news digest that opens GitHub issues as human-review heads-ups. Contributors file corrections in the issue tracker; the digest script fetches RSS headlines, applies transparent topic, tone, and province tags, and manages digest issues. The excerpt supports these script-to-service relationships, but does not show how the workflow schedules or invokes the script, so that wiring is omitted.

Main entry points: [`scripts/news-digest.mjs`](https://github.com/santhoshbhandari3008/kalakram-feedback/blob/main/scripts/news-digest.mjs) (Digest runner)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inbox["Correction inbox"]
  node_issues[("GitHub issues")]
end

subgraph group_digest["News digest"]
  node_digest_runner["Digest runner<br/>[news-digest.mjs]"]
  node_headline_tags["Headline tagging<br/>[news-digest.mjs]"]
  node_rss_feeds["RSS feeds"]
end

node_contributors(("Contributors"))

node_contributors -->|"file corrections"| node_issues
node_digest_runner -->|"fetches headlines"| node_rss_feeds
node_digest_runner -->|"classifies titles"| node_headline_tags
node_digest_runner -->|"opens and closes"| node_issues

click node_digest_runner "https://github.com/santhoshbhandari3008/kalakram-feedback/blob/main/scripts/news-digest.mjs"
click node_headline_tags "https://github.com/santhoshbhandari3008/kalakram-feedback/blob/main/scripts/news-digest.mjs"

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_issues toneBlue
class node_digest_runner,node_headline_tags,node_rss_feeds toneAmber
class node_contributors toneIndigo
```

## Components

### Correction inbox

- **GitHub issues**

### News digest

- [Digest runner](https://github.com/santhoshbhandari3008/kalakram-feedback/blob/main/scripts/news-digest.mjs): `scripts/news-digest.mjs`
- [Headline tagging](https://github.com/santhoshbhandari3008/kalakram-feedback/blob/main/scripts/news-digest.mjs): `scripts/news-digest.mjs`
- **RSS feeds**

### Other components

- **Contributors**

## Connections

- Contributors → GitHub issues: file corrections (evidence: `README.md`)
- Digest runner → RSS feeds: fetches headlines (evidence: `scripts/news-digest.mjs`)
- Digest runner → Headline tagging: classifies titles (evidence: `scripts/news-digest.mjs`)
- Digest runner → GitHub issues: opens and closes (evidence: `scripts/news-digest.mjs`)
