What does HackerNews think of cozo?
A transactional, relational database that uses Datalog and focuses on graph data and algorithms. Time-travel-capable, and fast!
This is a go template for an interactive todos app [1] that I'm experimenting with. The html content of the entire page is present in one template definition which is split into 6 inline {{block}} definitions / "fragments". The page supports 5 interactions indicated by {{define}} definitions, each of which reuse various block fragments relevant to that interaction. I'm in the process of converting it to use embedded cozodb [2] queries which act as a server side data store. The idea here is that the entire 'app', including all html fragments, styles, http requests and responses, db schema, and queries are embedded into this single 100-line file.
[0]: https://htmx.org/essays/template-fragments/
[1]: https://github.com/infogulch/go-htmx/blob/master/templates/t...
About the integrated vector search: https://docs.cozodb.org/en/latest/releases/v0.6.html
It also does duplicate detection (Minhash-LSH) and full-text search within the query language itself: https://docs.cozodb.org/en/latest/releases/v0.7.html
HN discussion a few days ago: https://news.ycombinator.com/item?id=35641164
Disclaimer: I wrote it.
Rust and MPL2.0 License. https://github.com/cozodb/cozo/blob/main/LICENSE.txt
If this stuff would work and not crash adding calendars/todo-lists in the ui would hopefully work and the original ideas and research concepts could be implemented in a fast an good way.
Well, one can dream :)
It's built on RocksDB and has slightly different query syntax (supposedly to be more similar to Python's, as a primary target usecase is within Jupyter notebooks). Check it out!
https://news.ycombinator.com/item?id=33518320
https://github.com/cozodb/cozo
Note: there was a fair amount of discussion about the license; the author eventually switched it to MPL2.