You can try this library out in your browser (via Pyodide) at tools.simonwillison.net/sqlite-ast. {'type': 'select', 'distinct': False, 'all': False, 'columns ...
Serves queries using denormalized read models built from events. Each side owns its own database and can be scaled or replaced independently.