# krjangid/blockium-website architecture

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

- Interactive diagram: https://gitdiagram.com/krjangid/blockium-website
- Repository: https://github.com/krjangid/blockium-website

## Overview

Blockium is a multilingual static website for an ad-blocking product. The visitor-facing workflow is to browse the home page and its product information, choose a language, and access supporting pages such as privacy, terms, and reporting. Internally, a locale renderer combines templates and translation dictionaries to generate localized pages and a sitemap. The README is empty, and only the locale builder and audit scripts were sampled; visitor interactions and links beyond those documented by the builder are therefore not asserted.

Main entry points: [`scripts/build-locales.py`](https://github.com/krjangid/blockium-website/blob/main/scripts/build-locales.py) (Locale renderer), [`site-src`](https://github.com/krjangid/blockium-website/tree/main/site-src) (Page templates), [`locales`](https://github.com/krjangid/blockium-website/tree/main/locales) (Translation dictionaries), [`index.html`](https://github.com/krjangid/blockium-website/blob/main/index.html) (Product home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website"]
  node_home["Product home<br/>[index.html]"]
  node_support["Policy and report pages"]
  node_site_assets["Site interactions and styling"]
  node_localized_pages["Localized pages<br/>[index.html]"]
  node_sitemap["Localized sitemap<br/>[sitemap.xml]"]
end

subgraph group_localization["Localization"]
  node_templates["Page templates"]
  node_dictionaries[("Translation dictionaries")]
  node_renderer["Locale renderer<br/>[build-locales.py]"]
end

node_visitor(("Site visitor"))

node_visitor -.->|"browses"| node_home
node_templates -->|"rendered by"| node_renderer
node_dictionaries -->|"translated with"| node_renderer
node_renderer -->|"generates"| node_localized_pages
node_renderer -->|"generates"| node_sitemap

click node_home "https://github.com/krjangid/blockium-website/blob/main/index.html"
click node_support "https://github.com/krjangid/blockium-website/tree/main/site-src"
click node_site_assets "https://github.com/krjangid/blockium-website/tree/main/assets"
click node_templates "https://github.com/krjangid/blockium-website/tree/main/site-src"
click node_dictionaries "https://github.com/krjangid/blockium-website/tree/main/locales"
click node_renderer "https://github.com/krjangid/blockium-website/blob/main/scripts/build-locales.py"
click node_localized_pages "https://github.com/krjangid/blockium-website/blob/main/de/index.html"
click node_sitemap "https://github.com/krjangid/blockium-website/blob/main/sitemap.xml"

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_home,node_support,node_site_assets,node_localized_pages,node_sitemap toneBlue
class node_templates,node_dictionaries,node_renderer toneAmber
class node_visitor toneIndigo
```

## Components

### Website

- [Product home](https://github.com/krjangid/blockium-website/blob/main/index.html): `index.html`
- [Policy and report pages](https://github.com/krjangid/blockium-website/tree/main/site-src): `site-src`
- [Site interactions and styling](https://github.com/krjangid/blockium-website/tree/main/assets): `assets`
- [Localized pages](https://github.com/krjangid/blockium-website/blob/main/de/index.html): `de/index.html`
- [Localized sitemap](https://github.com/krjangid/blockium-website/blob/main/sitemap.xml): `sitemap.xml`

### Localization

- [Page templates](https://github.com/krjangid/blockium-website/tree/main/site-src): `site-src`
- [Translation dictionaries](https://github.com/krjangid/blockium-website/tree/main/locales): `locales`
- [Locale renderer](https://github.com/krjangid/blockium-website/blob/main/scripts/build-locales.py): `scripts/build-locales.py`

### Other components

- **Site visitor**

## Connections

- Site visitor → Product home: browses
- Page templates → Locale renderer: rendered by (evidence: `scripts/build-locales.py`)
- Translation dictionaries → Locale renderer: translated with (evidence: `scripts/build-locales.py`)
- Locale renderer → Localized pages: generates (evidence: `scripts/build-locales.py`)
- Locale renderer → Localized sitemap: generates (evidence: `scripts/build-locales.py`)
