Technical overviewΒΆ
monsterbrain is an Electron app in TypeScript (Electron with TypeScript (DEC_ELECTRON)). Files and Git are the truth; there is no database (monsterbrain keeps no state... (DEC_NO_INTERACTION_STATE)).
Part |
Runs in |
Where |
Task |
|---|---|---|---|
main process |
|
folder tree, frontmatter, links and backlinks, concepts, Git status and diffs, file watcher |
|
main process |
|
IPC API for the UI, protocol |
|
main process |
|
MCP server for Claude, channel for agent actions |
|
main process and renderer |
|
extension host v0 |
|
ui |
renderer |
|
React; views per file type, diff views, panels |
shared |
both |
|
types and path helpers |
The UI talks to core only through one typed API, so a later server mode can serve the same UI in a browser.