repowiseqybaihe/bla

Architecture of qybaihe/bla

qybaihe/bla is 445 source files holding 4,065 symbols across 7 modules, written mainly in TypeScript, JavaScript, Python. The largest module is tests, with 168 files, and 9 files are entry points into the dependency graph.

How bla fits together

Input enters through the bla command in a terminal or through an MCP client, and both routes end in the protection engine. The engine in src/engine audits shipped artifacts such as .wasm and .sqlite files before protection runs, and it can be called with a project directory or a single file. src/mcp/server.ts exposes bla's MCP tools so a coding agent can drive the same engine. The shield code rewrites the files, and src/core supplies shared configuration that names generated output, sets the seed and signs manifests. scripts/redteam/run.mjs checks whether REA's analyzers still read files correctly after bla has shielded them.

Largest modules

  • tests: 168 files and 22,905 lines of code
  • src: 116 files and 47,573 lines of code
  • scripts: 23 files and 5,153 lines of code
  • challenge: 19 files and 30,997 lines of code
  • examples: 6 files and 109 lines of code
  • website: 5 files and 2,231 lines of code
  • root: 1 file and 20 lines of code

Languages

By file count: TypeScript 290 files, JavaScript 46 files, Python 2 files.

Documentation

Repowise documents bla in 335 pages generated from the source, 17 of them written explanations of the repository and its modules. Module guides include:

  • src/shields/exhaustion: AST and Exhaustion Shields
  • src/shields/formats: Binary Format Parsers
  • scripts: Build and Site Sync Scripts

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

Related guide: Best dependency graph tools for monorepos