How yashagrawall/knowledge-base works
Yash’s Knowledge Base is a static browser viewer for an Obsidian vault. Readers navigate or search notes, open them in a multi-tab workspace, and explore rendered content, context, and graph connections. The documented author workflow compiles Markdown into browser-ready data; the graph includes this preparation stage because it produces the runtime vault data. Relationships are based on README statements and sampled source; unsampled wiring is not inferred.
Main entry points: vault-app.jsx Workspace and routing · vault-editor.jsx Note reader · build-vault.js Vault compiler · vault-rightpanel.jsx Note context panel
Components 15
Vault preparation
- Vault compiler
build-vault.js - Compiled vault data
vault-data.js
Reader workspace
- Workspace and routing
vault-app.jsx - Command search
vault-app.jsx - File explorer
vault-sidebar.jsx
Content and context
- Note reader
vault-editor.jsx - Dataview queries
vault-editor.jsx - Note context panel
vault-rightpanel.jsx
Knowledge exploration
- Force-directed graph
vault-graph.jsx - Graph settings
vault-graph.jsx
Presentation controls
- Reader preferences
vault-app.jsx - Themes and layout
index.html - Icon components
vault-icons.jsx
Other components
- Vault author
- Vault reader
Connections 15
- Vault author → Vault compiler: compiles vault
README.md - Vault compiler → Compiled vault data: generates data
README.md - Vault reader → Workspace and routing: opens viewer
README.md - Workspace and routing → Compiled vault data: reads notes
README.md - Workspace and routing → Command search: offers search
README.md - Workspace and routing → File explorer: shows tree
README.md - Workspace and routing → Note reader: opens tabs
README.md - Note reader → Dataview queries: evaluates queries
vault-editor.jsx - Workspace and routing → Note context panel: shows context
README.md - Note context panel → Note reader: navigates headings
vault-rightpanel.jsx - Workspace and routing → Force-directed graph: opens graph
README.md - Graph settings → Force-directed graph: adjusts physics
vault-graph.jsx - Workspace and routing → Reader preferences: sets preferences
vault-app.jsx - Workspace and routing → Themes and layout: renders themed UI
README.md - Workspace and routing → Icon components: uses icons
vault-icons.jsx