repowisejackyzha0/quartz

Architecture of jackyzha0/quartz

jackyzha0/quartz is 259 source files holding 473 symbols across 2 modules, written mainly in TypeScript, JavaScript, Dockerfile. The largest module is quartz, with 123 files, and 1 file is an entry point into the dependency graph.

How quartz fits together

The entry point is quartz/bootstrap-cli.mjs, which starts the command line tool that drives a build. Input is the Markdown content and a quartz.config.yaml file, and the output is a built site. The quartz/processors directory does the core work: it parses Markdown into a unified AST, filters out unwanted ProcessedContent, and emits the output files. quartz/plugins defines the plugin type definitions and configuration shapes, and gathers the static resources the build needs from the build context and plugin configurations. quartz/plugins/loader/gitLoader.ts handles plugins that are installed from Git. quartz/components holds UI primitives, such as mobile-only and desktop-only rendering helpers, that accept QuartzComponentProps and return a QuartzComponent. quartz/util contains small helpers for files, slugs and path-like strings.

Largest modules

  • quartz: 123 files and 14,512 lines of code
  • root: 4 files and 49 lines of code

Languages

By file count: TypeScript 117 files, JavaScript 9 files, Dockerfile 1 file.

Documentation

Repowise documents quartz in 118 pages generated from the source, 14 of them written explanations of the repository and its modules. Module guides include:

  • quartz: CLI Worker Bootstrapping
  • quartz/processors: Emit, Filter, and Parse Pipeline
  • quartz/i18n/locales: Localization Locale Definitions

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

Related guide: Best dependency graph tools for monorepos