Show HN: Minigraf – An embedded, bi-temporal graph database in Rust

github.com

29 points by adityamukho 10 hours ago


A successor project to my previous attempt at building a temporal graph database (https://news.ycombinator.com/item?id=23455516). This one builds on its predecessor's concept, but drops the dependency on another database to provide the storage, transaction and query engines. Minigraf is self-contained, packaged as a library crate, embeds into your application, and supports full bi-temporality.

real_faxenoff - an hour ago

As I understand it, this is a tool for small datasets with an unknown schema and a required history? I'm struggling to find examples of real-world scenarios where this would be used.

LLM memory.. let's say, architecturally, its suitable for storing and processing queries - is questionable, but okay. But what real-world use case would generate such queries? It seems to me that the context for formulating and processing the results would be orders of magnitude greater than simply writing down what's needed in plain text. If my notebook took the form of a temporal multiverse of entities, I'd lose the ability to use it properly.

But maybe I'm just too old to quickly get the hang of every new type of Pokémon.

P.S. I'm using the built-in SQLite to store a graph with up to 10 million edges in an MCP app I'm developing for working with code.

eduardokairalla - an hour ago

interesting project, but i don't understand when i should use minigraf over something like Neo4j, Cozo, or SQLite. can you clarify?

schainks - 3 hours ago

What are the benchmarks compared to other tools of equal or similar function in this category? How is Minigraf different than Kùzu or CozoDB?

adsharma - 7 hours ago

Why do you need another database and another query language for this?

Existing cypher based databases which support typed properties (including timestamps) on relationship tables can handle this use case just fine.

fusslo - 5 hours ago

what does 'Embedded' mean in this context?

forgive my ignorance on such a basic concept. I read 'Embedded' as in 'for Embedded systems'

Does it mean 'Embedded in your rust application'?

canadiantim - 4 hours ago

How does it compare with the since-discontinued embedded graph database cozodb? https://github.com/cozodb/cozo

It also used datalog, written in rust

Great to see tho, I'm always eagerly hoping for a successful embedded graph database. Most recently my hope was for kuzudb, but they got acquihired; though it's still open-sourcing' as LadybugDB.

Highly recommend taking inspiration from Kuzudb/Ladybugdb and cozodb.

Godspeed!

aavisangle - 4 hours ago

what different features it offer than sqlight?

dhruv_dube - 4 hours ago

[flagged]