# forestplus/moex architecture

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

- Interactive diagram: https://gitdiagram.com/forestplus/moex
- Repository: https://github.com/forestplus/moex

## Overview

This repository appears to be a small protected web site with index, bonds, favorites, and news pages, plus a Node.js tool that encrypts supplied HTML into password-gated shells. The source excerpt documents the builder’s encryption and login behavior, but the page files were not sampled and the README is empty; their contents and connections therefore remain uncertain.

Main entry points: [`build_protected.js`](https://github.com/forestplus/moex/blob/main/build_protected.js) (Protected builder)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Website pages"]
  node_index["Index page<br/>[index.html]"]
  node_index_src["Index source<br/>[index.src]"]
  node_bonds["Bonds page<br/>[bonds.html]"]
  node_bonds_src["Bonds source<br/>[bonds.src]"]
  node_news["News page<br/>[news.html]"]
  node_news_src["News source<br/>[news.src]"]
  node_favorites["Favorites source<br/>[favorites.src]"]
end

subgraph group_protection["Page protection"]
  node_builder["Protected builder<br/>[build_protected.js]"]
end

node_operator(("Site operator"))

node_operator -->|"runs with inputs"| node_builder

click node_index "https://github.com/forestplus/moex/blob/main/index.html"
click node_index_src "https://github.com/forestplus/moex/blob/main/index.src"
click node_bonds "https://github.com/forestplus/moex/blob/main/bonds.html"
click node_bonds_src "https://github.com/forestplus/moex/blob/main/bonds.src"
click node_news "https://github.com/forestplus/moex/blob/main/news.html"
click node_news_src "https://github.com/forestplus/moex/blob/main/news.src"
click node_favorites "https://github.com/forestplus/moex/blob/main/favorites.src"
click node_builder "https://github.com/forestplus/moex/blob/main/build_protected.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_index,node_index_src,node_bonds,node_bonds_src,node_news,node_news_src,node_favorites toneBlue
class node_builder toneAmber
class node_operator toneIndigo
```

## Components

### Website pages

- [Index page](https://github.com/forestplus/moex/blob/main/index.html): `index.html`
- [Index source](https://github.com/forestplus/moex/blob/main/index.src): `index.src`
- [Bonds page](https://github.com/forestplus/moex/blob/main/bonds.html): `bonds.html`
- [Bonds source](https://github.com/forestplus/moex/blob/main/bonds.src): `bonds.src`
- [News page](https://github.com/forestplus/moex/blob/main/news.html): `news.html`
- [News source](https://github.com/forestplus/moex/blob/main/news.src): `news.src`
- [Favorites source](https://github.com/forestplus/moex/blob/main/favorites.src): `favorites.src`

### Page protection

- [Protected builder](https://github.com/forestplus/moex/blob/main/build_protected.js): `build_protected.js`

### Other components

- **Site operator**

## Connections

- Site operator → Protected builder: runs with inputs (evidence: `build_protected.js`)
