Skip to content

philippkueng/datalite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataLite

CI

Disclaimer: This repo is highly experimental, expect APIs and implementations to change.

Datalog meets SQLite for low volume data.

Reasoning & Vision

The thought being that while Datomic, DataScript, Datalevin, XTDB all have their niche I was thinking of another niche, that it'd be handy to be able to query a SQLite database using Datalog and hence expand the reach of applications written but also tap in the tools that are being developed for SQLite currently eg. litestream.

This is the reason why I'd like to explore the idea of creating a wrapper on top of SQLite, mapping a schema as used for Datomic and create SQL tables from it supporting both nested maps and arrays (to a certain degree) and then offering the database to be queried with a Datalog like language (from what I read this might not be a trivial feat). Furthermore, having a Clojure-wrapper over SQLite, with SQLite basically running anywhere from embedded devices to in the browser using WASM and Clojure being deployable pretty much anywhere too there's a chance that if one writes their local-first application against DataLite one can lift and shift it to another environment with minimal adaptations.

License

Open Source but haven't decided on the actual license yet, recommendations welcome.

Releases

No releases published