# yuqianyi1001/faguquanji architecture

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

- Interactive diagram: https://gitdiagram.com/yuqianyi1001/faguquanji
- Repository: https://github.com/yuqianyi1001/faguquanji

## Overview

This repository is primarily a curated collection of Sheng Yen’s works, organized into nine subject series and supplied in EPUB, MOBI, and/or PDF. A reader chooses a series and reads a book in an available format. The README describes the collection’s 2022 organization and its digital-edition source. Separately, main.py downloads source HTML and images; ebook-helper.py converts EPUBs to MOBI and PDF. Those scripts support collection preparation rather than reader-facing software. The graph reflects the tree and README; conversion details come from the sampled scripts.

Main entry points: [`main.py`](https://github.com/yuqianyi1001/faguquanji/blob/master/main.py) (HTML and image download), [`01 第一輯 教義論述類`](https://github.com/yuqianyi1001/faguquanji/tree/master/01%20%E7%AC%AC%E4%B8%80%E8%BC%AF%20%E6%95%99%E7%BE%A9%E8%AB%96%E8%BF%B0%E9%A1%9E) (Doctrine), [`02 第二輯 佛教史類`](https://github.com/yuqianyi1001/faguquanji/tree/master/02%20%E7%AC%AC%E4%BA%8C%E8%BC%AF%20%E4%BD%9B%E6%95%99%E5%8F%B2%E9%A1%9E) (Buddhist history), [`03 第三輯 文集類`](https://github.com/yuqianyi1001/faguquanji/tree/master/03%20%E7%AC%AC%E4%B8%89%E8%BC%AF%20%E6%96%87%E9%9B%86%E9%A1%9E) (Essays)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_research["Study and essays"]
  node_doctrine["Doctrine"]
  node_history["Buddhist history"]
  node_essays["Essays"]
  node_classics["Scripture commentary"]
end

subgraph group_practice["Practice and guidance"]
  node_chan["Chan practice"]
  node_intro["Buddhism introduction"]
  node_everyday["Everyday Dharma"]
end

subgraph group_life["Life and vision"]
  node_autobiography["Life and travel"]
  node_vision["Ideas and vision"]
  node_catalog["Historical catalog<br/>[目錄（含歷史版本）.xlsx]"]
end

subgraph group_preparation["Collection preparation"]
  node_source_site(("Digital edition source"))
  node_downloader["HTML and image download<br/>[main.py]"]
  node_ebook_files["EPUB collection"]
  node_converter["Format conversion<br/>[ebook-helper.py]"]
end

node_reader(("Reader"))

node_reader -->|"reads"| node_doctrine
node_reader -->|"reads"| node_history
node_reader -->|"reads"| node_essays
node_reader -->|"reads"| node_classics
node_reader -->|"reads"| node_chan
node_reader -->|"reads"| node_intro
node_reader -->|"reads"| node_everyday
node_reader -->|"reads"| node_autobiography
node_reader -->|"reads"| node_vision
node_reader -->|"consults"| node_catalog
node_source_site -.->|"provides pages"| node_downloader
node_downloader -.->|"requests HTML/images"| node_source_site
node_ebook_files -->|"converts"| node_converter

click node_doctrine "https://github.com/yuqianyi1001/faguquanji/tree/master/01%20%E7%AC%AC%E4%B8%80%E8%BC%AF%20%E6%95%99%E7%BE%A9%E8%AB%96%E8%BF%B0%E9%A1%9E"
click node_history "https://github.com/yuqianyi1001/faguquanji/tree/master/02%20%E7%AC%AC%E4%BA%8C%E8%BC%AF%20%E4%BD%9B%E6%95%99%E5%8F%B2%E9%A1%9E"
click node_essays "https://github.com/yuqianyi1001/faguquanji/tree/master/03%20%E7%AC%AC%E4%B8%89%E8%BC%AF%20%E6%96%87%E9%9B%86%E9%A1%9E"
click node_classics "https://github.com/yuqianyi1001/faguquanji/tree/master/07%20%E7%AC%AC%E4%B8%83%E8%BC%AF%20%E7%B6%93%E5%85%B8%E9%87%8B%E7%BE%A9%E9%A1%9E"
click node_chan "https://github.com/yuqianyi1001/faguquanji/tree/master/04%20%E7%AC%AC%E5%9B%9B%E8%BC%AF%20%E7%A6%AA%E4%BF%AE%E9%A1%9E%E3%80%81%E6%B3%95%E9%96%80%E6%8C%87%E5%B0%8E%E9%A1%9E"
click node_intro "https://github.com/yuqianyi1001/faguquanji/tree/master/05%20%E7%AC%AC%E4%BA%94%E8%BC%AF%20%E4%BD%9B%E6%95%99%E5%85%A5%E9%96%80%E9%A1%9E"
click node_everyday "https://github.com/yuqianyi1001/faguquanji/tree/master/08%20%E7%AC%AC%E5%85%AB%E8%BC%AF%20%E7%94%9F%E6%B4%BB%E4%BD%9B%E6%B3%95%E9%A1%9E"
click node_autobiography "https://github.com/yuqianyi1001/faguquanji/tree/master/06%20%E7%AC%AC%E5%85%AD%E8%BC%AF%20%E8%87%AA%E5%82%B3%E3%80%81%E9%81%8A%E8%A8%98%E9%A1%9E"
click node_vision "https://github.com/yuqianyi1001/faguquanji/tree/master/09%20%E7%AC%AC%E4%B9%9D%E8%BC%AF%20%E7%90%86%E5%BF%B5%E9%A1%98%E6%99%AF%E9%A1%9E"
click node_catalog "https://github.com/yuqianyi1001/faguquanji/blob/master/%E7%9B%AE%E9%8C%84%EF%BC%88%E5%90%AB%E6%AD%B7%E5%8F%B2%E7%89%88%E6%9C%AC%EF%BC%89.xlsx"
click node_downloader "https://github.com/yuqianyi1001/faguquanji/blob/master/main.py"
click node_converter "https://github.com/yuqianyi1001/faguquanji/blob/master/ebook-helper.py"

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_doctrine,node_history,node_essays,node_classics toneBlue
class node_chan,node_intro,node_everyday toneAmber
class node_autobiography,node_vision,node_catalog toneMint
class node_source_site,node_downloader,node_ebook_files,node_converter toneRose
class node_reader toneIndigo
```

## Components

### Study and essays

- [Doctrine](https://github.com/yuqianyi1001/faguquanji/tree/master/01%20%E7%AC%AC%E4%B8%80%E8%BC%AF%20%E6%95%99%E7%BE%A9%E8%AB%96%E8%BF%B0%E9%A1%9E): `01 第一輯 教義論述類`
- [Buddhist history](https://github.com/yuqianyi1001/faguquanji/tree/master/02%20%E7%AC%AC%E4%BA%8C%E8%BC%AF%20%E4%BD%9B%E6%95%99%E5%8F%B2%E9%A1%9E): `02 第二輯 佛教史類`
- [Essays](https://github.com/yuqianyi1001/faguquanji/tree/master/03%20%E7%AC%AC%E4%B8%89%E8%BC%AF%20%E6%96%87%E9%9B%86%E9%A1%9E): `03 第三輯 文集類`
- [Scripture commentary](https://github.com/yuqianyi1001/faguquanji/tree/master/07%20%E7%AC%AC%E4%B8%83%E8%BC%AF%20%E7%B6%93%E5%85%B8%E9%87%8B%E7%BE%A9%E9%A1%9E): `07 第七輯 經典釋義類`

### Practice and guidance

- [Chan practice](https://github.com/yuqianyi1001/faguquanji/tree/master/04%20%E7%AC%AC%E5%9B%9B%E8%BC%AF%20%E7%A6%AA%E4%BF%AE%E9%A1%9E%E3%80%81%E6%B3%95%E9%96%80%E6%8C%87%E5%B0%8E%E9%A1%9E): `04 第四輯 禪修類、法門指導類`
- [Buddhism introduction](https://github.com/yuqianyi1001/faguquanji/tree/master/05%20%E7%AC%AC%E4%BA%94%E8%BC%AF%20%E4%BD%9B%E6%95%99%E5%85%A5%E9%96%80%E9%A1%9E): `05 第五輯 佛教入門類`
- [Everyday Dharma](https://github.com/yuqianyi1001/faguquanji/tree/master/08%20%E7%AC%AC%E5%85%AB%E8%BC%AF%20%E7%94%9F%E6%B4%BB%E4%BD%9B%E6%B3%95%E9%A1%9E): `08 第八輯 生活佛法類`

### Life and vision

- [Life and travel](https://github.com/yuqianyi1001/faguquanji/tree/master/06%20%E7%AC%AC%E5%85%AD%E8%BC%AF%20%E8%87%AA%E5%82%B3%E3%80%81%E9%81%8A%E8%A8%98%E9%A1%9E): `06 第六輯 自傳、遊記類`
- [Ideas and vision](https://github.com/yuqianyi1001/faguquanji/tree/master/09%20%E7%AC%AC%E4%B9%9D%E8%BC%AF%20%E7%90%86%E5%BF%B5%E9%A1%98%E6%99%AF%E9%A1%9E): `09 第九輯 理念願景類`
- [Historical catalog](https://github.com/yuqianyi1001/faguquanji/blob/master/%E7%9B%AE%E9%8C%84%EF%BC%88%E5%90%AB%E6%AD%B7%E5%8F%B2%E7%89%88%E6%9C%AC%EF%BC%89.xlsx): `目錄（含歷史版本）.xlsx`

### Collection preparation

- **Digital edition source**
- [HTML and image download](https://github.com/yuqianyi1001/faguquanji/blob/master/main.py): `main.py`
- **EPUB collection**
- [Format conversion](https://github.com/yuqianyi1001/faguquanji/blob/master/ebook-helper.py): `ebook-helper.py`

### Other components

- **Reader**

## Connections

- Reader → Doctrine: reads
- Reader → Buddhist history: reads
- Reader → Essays: reads
- Reader → Scripture commentary: reads
- Reader → Chan practice: reads
- Reader → Buddhism introduction: reads
- Reader → Everyday Dharma: reads
- Reader → Life and travel: reads
- Reader → Ideas and vision: reads
- Reader → Historical catalog: consults
- Digital edition source → HTML and image download: provides pages
- HTML and image download → Digital edition source: requests HTML/images
- EPUB collection → Format conversion: converts
