How blacksmithgu/datacore works
Main Components
a) Core System Components:
• Index Engine (src/index/)
• Expression Engine (src/expression/)
• API Layer (src/api/)
• UI Components (src/ui/)
• Web Worker System (src/index/web-worker/)
b) Data Flow Components:
• Storage System (src/index/storage/)
• Data Types Handlers (src/index/types/)
• Import System (src/index/import/)
┌─────────────────────────────────────────────┐
• UI Layer │
• ┤
• API Interface │
• ┤
• Expression Engine │
• ┤
• Index Engine │
• ┤
• Storage Layer │
• ┘
Component Relationships
• UI Layer → API Interface (React-based views interaction)
• API Interface → Expression Engine (Query processing)
• Expression Engine → Index Engine (Data retrieval)
• Index Engine → Storage Layer (Data persistence)
• Web Worker → Index Engine (Asynchronous processing)
Detailed Component Breakdown
UI Layer:
• Views (cards, tables, lists)
• Field editors
• Error boundaries
• Loading states
API Layer:
• Local API
• Data Array handling
• Result processing
• Script cache
Expression Engine:
• Parser
• Evaluator
• Functions
• Filters
Index Engine:
• Datastore
• Persister
• Import handlers
• Query executor
Integration Points
Integration with:
• Obsidian API
• File system
• Markdown processing
• YAML handling