
MarcoPorcellato/logseq-matryca-parser
🔧 ToolMarcoPorcellato
A deterministic Logseq parser that preserves parent-child context for high-quality RAG and knowledge graph integration.
Logseq-matryca-parser solves the common problem of 'broken' Markdown ingestion in AI workflows. Standard Markdown parsers often flatten hierarchical data, stripping away the vital context of nested bullet points and block references that define Logseq's structure. This tool acts as a deterministic parser, transforming Logseq files into an Abstract Syntax Tree (AST) that maintains the integrity of parent-child relationships. This is critical for RAG (Retrieval-Augmented Generation) systems, as it allows the AI to understand the semantic hierarchy of notes rather than treating them as disconnected snippets. The repository also features a high-performance 60FPS visualizer, enabling users to inspect their knowledge graph in real-time, and an append-only writer module to safely manage data updates without corrupting existing logs. It is built with Python, focusing on reliability and local-first data ownership.
💡Highlights
- ├─Preserves parent-child hierarchy
- ├─Deterministic AST parsing
- └─60FPS knowledge graph visualizer
🎯For
- ├─AI Engineers
- ├─Knowledge Management Enthusiasts
- └─RAG Pipeline Developers