replikativ / datahike-server

Datahike remote system
Eclipse Public License 2.0
35 stars 6 forks source link

Add remote http commandline interface #48

Closed kordano closed 10 months ago

kordano commented 2 years ago

It would be helpful to have a babashka client in the commandline that can talk to the server via a simple api.

TimoKramer commented 1 year ago

https://github.com/lispyclouds/bblgum

whilo commented 1 year ago

Note that you can compile datahike.cli with https://github.com/replikativ/datahike-server-transactor included and invoke it also from Babashka comfortably since it can speak edn (and could speak fressian or transit as well). Even better would be to compile Datahike into babashka and have a version that can use Datahike in the same memory system without remote procedure calls. That way you could run queries from Babashka even against multiple databases on different servers and can also use Babashka functions in Datalog.