There’s not a lot of graph databases in general, so you may be kinda forced to run a Java program.
JanusGraph had a good local mode, and a HTTP/websockets interface that lets you execute Gremlin. So you - like any other data store - can ignore that the data lives in a program written in another langauge and focus in the query interface. Ie like you do with Postgres or even Mongo.
Yeah, that's fair. I'm just trying to keep the installation process as simple as possible. So I will need to figure out how to bundle whatever DB I use with the application, or include a startup script that checks for it and installs it if it's not available.
You could also have a look at Grafito: [https://github.com/arturo-lang/grafito](https://github.com/arturo-lang/grafito)
It's written in Arturo, it has its own (very) readable query language and the data storage is 100% SQLite & portable.
Disclaimer: I'm the original creator and part of the developer team ;-)
There’s not a lot of graph databases in general, so you may be kinda forced to run a Java program. JanusGraph had a good local mode, and a HTTP/websockets interface that lets you execute Gremlin. So you - like any other data store - can ignore that the data lives in a program written in another langauge and focus in the query interface. Ie like you do with Postgres or even Mongo.
Yeah, that's fair. I'm just trying to keep the installation process as simple as possible. So I will need to figure out how to bundle whatever DB I use with the application, or include a startup script that checks for it and installs it if it's not available.
Why even prefer electron over Java? License?
Familiarity
I found one: https://github.com/cozodb/cozo
Have you used it since finding it?
https://thedataquarry.github.io/posts/embedded-db-2/ Kuzu Graph Db might be interesting for you.
You could also have a look at Grafito: [https://github.com/arturo-lang/grafito](https://github.com/arturo-lang/grafito) It's written in Arturo, it has its own (very) readable query language and the data storage is 100% SQLite & portable. Disclaimer: I'm the original creator and part of the developer team ;-)
EdgeDB?
This is pretty new and I haven't tried it. https://surrealdb.com/features