repowiseyetone/magpie

Architecture of yetone/magpie

yetone/magpie is 8,168 source files holding 61,124 symbols across 8 modules, written mainly in Go, JavaScript, Shell. The largest module is internal, with 7,588 files, and 12 files are entry points into the dependency graph.

How magpie fits together

The internal directory holds 7588 of the project's 8168 files, and it contains the core code. internal/cli/main.go is the command line entry point, and internal/gui/app.go is the entry point for the desktop window. internal/gui/assets/app.js is the script that runs the web interface. The gateway at 127.0.0.1:3425 accepts requests in OpenAI Chat, OpenAI Responses, Anthropic Messages and Gemini formats and translates between them, including streaming and tool calls. Provider handling lives under internal/provider, and the site directory, which holds 20 files including site/worker.js, is separate from the app code.

Largest modules

  • internal: 7,588 files and 1,238,687 lines of code
  • plugins: 23 files and 1,085 lines of code
  • site: 20 files and 5,152 lines of code
  • third_party: 15 files and 4,494 lines of code
  • .github: 5 files and 1,195 lines of code
  • root: 5 files and 295 lines of code
  • build: 4 files and 576 lines of code
  • native: 2 files and 272 lines of code

Languages

By file count: Go 6,051 files, JavaScript 1,589 files, Shell 6 files, C++ 3 files, C 2 files, Objectivec 2 files.

Documentation

Repowise documents magpie in 3,271 pages generated from the source, 46 of them written explanations of the repository and its modules.

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

Related guide: Best dependency graph tools for monorepos