repowiseyaozeyuan/zhihuhelp

Architecture of yaozeyuan/zhihuhelp

yaozeyuan/zhihuhelp is 287 source files holding 1,555 symbols across 6 modules, written mainly in TypeScript, JavaScript, Vue. The largest module is src, with 116 files, and 125 files are entry points into the dependency graph.

How zhihuhelp fits together

The user interface lives in client/src, and client/src/main.tsx and client/src/app.tsx are its entry points. Pages such as client/src/page/home/component/log/index.tsx show run status, and client/src/page/home/component/db_explorer/index.tsx lets you browse the saved data. The core logic is in src, the largest module, and src/index.ts is its central file. src/application/workflow/generate/customer.ts is a hotspot in the generation workflow that turns fetched content into output files. Fetched content is stored in a local SQLite database, and the output is written as HTML, Markdown and EPUB. Build and automation scripts are in client/script and scripts, and tests are in the tests directory.

Largest modules

  • src: 116 files and 15,825 lines of code
  • tests: 59 files and 6,219 lines of code
  • client: 37 files and 4,072 lines of code
  • scripts: 10 files and 2,591 lines of code
  • doc: 5 files and 524 lines of code
  • root: 2 files and 119 lines of code

Languages

By file count: TypeScript 212 files, JavaScript 15 files, Vue 1 file.

Documentation

Repowise documents zhihuhelp in 257 pages generated from the source.

More on zhihuhelp: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos