# thalisvn/resumosdev architecture

> Architecture diagram of the GitHub repository thalisvn/resumosdev, 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/thalisvn/resumosdev
- Repository: https://github.com/thalisvn/resumosdev

## Overview

This is a React study-notes reader: users browse or search course notes, open a document, read rendered Markdown, and navigate between notes. The architecture separates the app shell, navigation, reading widgets, and the Markdown corpus/theme state. Source excerpts establish the main component calls and content flow; no README product capabilities beyond the generic template are documented, and Viewer.jsx appears unconnected in the sampled files.

Main entry points: [`src/App.jsx`](https://github.com/thalisvn/resumosdev/blob/main/src/App.jsx) (Reader), [`src/components/Article.jsx`](https://github.com/thalisvn/resumosdev/blob/main/src/components/Article.jsx) (Article renderer), [`src/lib/content.js`](https://github.com/thalisvn/resumosdev/blob/main/src/lib/content.js) (Content index), [`src/components/Sidebar.jsx`](https://github.com/thalisvn/resumosdev/blob/main/src/components/Sidebar.jsx) (Search and tree)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shell["Application shell"]
  node_reader["Reader<br/>[App.jsx]"]
  node_entry["React entry<br/>[main.jsx]"]
  node_icons["UI icons<br/>[icons.jsx]"]
end

subgraph group_navigation["Note navigation"]
  node_sidebar["Search and tree<br/>[Sidebar.jsx]"]
end

subgraph group_reading["Reading experience"]
  node_article["Article renderer<br/>[Article.jsx]"]
  node_code_block["Code block<br/>[CodeBlock.jsx]"]
  node_toc["Page contents<br/>[Toc.jsx]"]
  node_viewer["Alternate viewer<br/>[Viewer.jsx]"]
end

subgraph group_data["Notes and preferences"]
  node_content_index["Content index<br/>[content.js]"]
  node_markdown_notes["Markdown notes"]
  node_theme["Theme preference<br/>[useTheme.js]"]
end

node_person(("Reader"))
node_browser_storage[("Browser storage")]
node_clipboard["System clipboard"]

node_entry -->|"renders"| node_reader
node_person -.->|"uses"| node_reader
node_reader -->|"renders"| node_sidebar
node_reader -->|"renders"| node_article
node_reader -->|"renders"| node_icons
node_reader -->|"reads documents"| node_content_index
node_reader -->|"uses"| node_theme
node_sidebar -->|"searches and lists"| node_content_index
node_sidebar -->|"renders"| node_icons
node_article -->|"renders"| node_code_block
node_article -->|"renders"| node_toc
node_article -->|"builds links"| node_content_index
node_content_index -->|"loads"| node_markdown_notes
node_code_block -->|"copies code"| node_clipboard
node_theme -->|"stores preference"| node_browser_storage

click node_reader "https://github.com/thalisvn/resumosdev/blob/main/src/App.jsx"
click node_entry "https://github.com/thalisvn/resumosdev/blob/main/src/main.jsx"
click node_sidebar "https://github.com/thalisvn/resumosdev/blob/main/src/components/Sidebar.jsx"
click node_content_index "https://github.com/thalisvn/resumosdev/blob/main/src/lib/content.js"
click node_markdown_notes "https://github.com/thalisvn/resumosdev/tree/main/src/content"
click node_article "https://github.com/thalisvn/resumosdev/blob/main/src/components/Article.jsx"
click node_code_block "https://github.com/thalisvn/resumosdev/blob/main/src/components/CodeBlock.jsx"
click node_toc "https://github.com/thalisvn/resumosdev/blob/main/src/components/Toc.jsx"
click node_viewer "https://github.com/thalisvn/resumosdev/blob/main/src/components/Viewer.jsx"
click node_icons "https://github.com/thalisvn/resumosdev/blob/main/src/components/icons.jsx"
click node_theme "https://github.com/thalisvn/resumosdev/blob/main/src/lib/useTheme.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_reader,node_entry,node_icons toneBlue
class node_sidebar,node_browser_storage toneAmber
class node_article,node_code_block,node_toc,node_viewer toneMint
class node_content_index,node_markdown_notes,node_theme toneRose
class node_person,node_clipboard toneIndigo
```

## Components

### Application shell

- [Reader](https://github.com/thalisvn/resumosdev/blob/main/src/App.jsx): `src/App.jsx`
- [React entry](https://github.com/thalisvn/resumosdev/blob/main/src/main.jsx): `src/main.jsx`
- [UI icons](https://github.com/thalisvn/resumosdev/blob/main/src/components/icons.jsx): `src/components/icons.jsx`

### Note navigation

- [Search and tree](https://github.com/thalisvn/resumosdev/blob/main/src/components/Sidebar.jsx): `src/components/Sidebar.jsx`

### Reading experience

- [Article renderer](https://github.com/thalisvn/resumosdev/blob/main/src/components/Article.jsx): `src/components/Article.jsx`
- [Code block](https://github.com/thalisvn/resumosdev/blob/main/src/components/CodeBlock.jsx): `src/components/CodeBlock.jsx`
- [Page contents](https://github.com/thalisvn/resumosdev/blob/main/src/components/Toc.jsx): `src/components/Toc.jsx`
- [Alternate viewer](https://github.com/thalisvn/resumosdev/blob/main/src/components/Viewer.jsx): `src/components/Viewer.jsx`

### Notes and preferences

- [Content index](https://github.com/thalisvn/resumosdev/blob/main/src/lib/content.js): `src/lib/content.js`
- [Markdown notes](https://github.com/thalisvn/resumosdev/tree/main/src/content): `src/content`
- [Theme preference](https://github.com/thalisvn/resumosdev/blob/main/src/lib/useTheme.js): `src/lib/useTheme.js`

### Other components

- **Reader**
- **Browser storage**
- **System clipboard**

## Connections

- React entry → Reader: renders (evidence: `src/main.jsx`)
- Reader → Reader: uses
- Reader → Search and tree: renders (evidence: `src/App.jsx`)
- Reader → Article renderer: renders (evidence: `src/App.jsx`)
- Reader → UI icons: renders (evidence: `src/App.jsx`)
- Reader → Content index: reads documents (evidence: `src/App.jsx`)
- Reader → Theme preference: uses (evidence: `src/App.jsx`)
- Search and tree → Content index: searches and lists (evidence: `src/components/Sidebar.jsx`)
- Search and tree → UI icons: renders (evidence: `src/components/Sidebar.jsx`)
- Article renderer → Code block: renders (evidence: `src/components/Article.jsx`)
- Article renderer → Page contents: renders (evidence: `src/components/Article.jsx`)
- Article renderer → Content index: builds links (evidence: `src/components/Article.jsx`)
- Content index → Markdown notes: loads (evidence: `src/lib/content.js`)
- Code block → System clipboard: copies code (evidence: `src/components/CodeBlock.jsx`)
- Theme preference → Browser storage: stores preference (evidence: `src/lib/useTheme.js`)
