How to install from source
Use an authorised xitstash checkout. The repository is private and no artifact is published.
Prepare the checkout
Install Java 17 or later, Clojure CLI and Babashka. In the xitstash checkout, compile the Java classes:
bb javac
The command writes classes under target/classes.
Add the application dependency
Add the checkout and xitdb-java to your application’s deps.edn.
Replace the local path:
{:deps {com.outskirtslabs/xitstash {:local/root "/path/to/xitstash" }
io.github.radarroark/xitdb {:mvn/version "0.48.0" }}}
Start a REPL from the application:
clojure -M
Load the public namespace:
(require ' [ol.xitstash :as objects])
A successful load returns nil.
After changing xitstash’s Java source, rerun bb javac and restart the application JVM.
See Save your first file for a complete in-memory example.