Installing Quine¶
Quine is a key participant in a streaming event data pipeline that consumes data, builds it into a graph structure, runs computation on that graph to answer questions or compute results, and then stream them out. Quine combines the real-time event processing capabilities of systems like Flink and ksqlDB with the graph data structure found in graph databases like Neo4j and TigerGraph.
There are multiple ways for you to install Quine, select the one that is best for your environment from the list below.
| Method | Description |
|---|---|
| Docker Container | If you already have Docker, this is the quickest way to get up and running with the minimum setup time and impact to your environment. |
| Download Java executable file | Download the jar file to run locally on your laptop or development server. Running the jar file locally is the most flexible way to evaluate Quine. |
| Build from source | Need to do a deeper evaluation of how Quine operates? Clone the open source repository from GitHub and dig in! |
Note: You will need cURL and jq installed in your environment to use the tutorial commands.
Follow the steps below to install Quine for use in your environment.¶
Docker Container¶
Docker allows you to install a containerized version of Quine for evaluation.
Prerequisites¶
- Host Environment - You need a Mac, Windows, or Unix host server to run Docker. Please be sure that your host meets the system requirements outlined in the proceeding links.
- Docker Desktop - Instructions on how to install Docker can be found on the official Docker website.
Install and start the Quine container¶
The Quine Docker image is distributed via Docker Hub and can be installed and launched with a single command.
- Open a terminal window
- With the Docker desktop application running, issue the following command
docker run -p 8080:8080 thatdot/quine:2.2.1
If successful, you will see a message similar to the following appear in the terminal.
Unable to find image 'thatdot/quine:2.2.1' locally
2.2.1: Pulling from thatdot/quine
Digest: sha256:09f1fa47234e1cbf568bf23f37446c2707385f1290b8efda82375a34f9f2bfa2
Status: Downloaded newer image for thatdot/quine:2.2.1
Graph is ready
Quine web server available at http://127.0.0.1:8080
Default API version: v2
Tip
If you want to use a recipe in docker, you’ll need to include the recipe file (and data file if required) in your docker container. The easiest way to do this is by mounting a docker volume.
For example, docker run -it -p 8080:8080 -v ~/quine-recipe.yml:/tmp/recipe.yml thatdot/quine:2.2.1 -r /tmp/recipe.yml would mount the recipe at ~/quine-recipe.yml on your host system as a volume at /tmp/recipe.yml in the container, and instruct quine to use that recipe via the startup flag.
For cases when you need to pass multiple files to Quine from a single directory, docker run -it -p 8080:8080 -v ~/quine/:/tmp/ thatdot/quine:2.2.1 -r /tmp/recipe.yml --recipe-value in_file=/tmp/recipe_file.json would mount the directory ~/quine/ with recipe ~/quine/recipe.yml and data file ~/quine/recipe_file.json on your host system as a volume at /tmp/ in the container, and instruct quine to use the recipe and data files from /tmp/ via the startup flags.
Verify that Quine is operating using the System Information: GET /api/v2/system/systemInfo API endpoint.
curl -s "http://127.0.0.1:8080/api/v2/system/systemInfo" | jq '.'
The response looks like this:
{
"version": "2.2.1",
"gitCommit": "47639d5f4b0120923d900d4f23728285d6ea27f6",
"gitCommitDate": "2026-10-27T16:12:01+0000",
"javaVersion": "OpenJDK 64-Bit Server VM 21.0.10 (Eclipse Adoptium)",
"javaRuntimeVersion": "21.0.11+10-LTS",
"javaAvailableProcessors": 5,
"javaMaxMemory": 5855248384,
"persistenceWriteVersion": "13.3.0",
"quineType": "Oss"
}
You can connect to the Quine Dashboard by entering http://127.0.0.1:8080 into your browser.
Shutdown Quine¶
POST to the Graceful Shutdown: POST /api/v2/system:shutdown endpoint to gracefully shutdown Quine and stop the Docker container.
curl -X "POST" "http://127.0.0.1:8080/api/v2/system:shutdown"
Both Quine and the Docker container will shutdown and exit. If successful, you will see a message similar to the following appear in the terminal and the container will have a status of exited in the Docker desktop.
Quine is shutting down...
Shutdown complete.
Executable¶
Using an executable file to run Quine locally provides the most flexibility …
- Evaluate Quine using your hardware of choice
- Make changes to the Quine configuration file
- Launch Quine recipes
- Benchmark Quine's performance running different versions of Java
Prerequisites¶
You will need the following in order to run Quine in your environment.
- Java JRE version 17 or greater (we recommend Java 21) - instructions for how to install Java can be found on the official Oracle/Java web site .
Download the Quine Executable File¶
Quine is distributed as a pre-built Java jar executable that you download and run on your local laptop or server.
- Download the
jarfile from thequine.iodownload page. - Store the
jarfile in a working directory
We recommend storing the Quine jar file in the same directory that you plan to use during your evaluation and development.
On a Mac, this process would look similar to this.
- Selecting the
JAR DOWNLOADbutton prompted the browser to download the latest version of Quine and store it in the~/Downloadsdirectory. - Once the download completes, issue the following commands to move Quine into a directory that you can use for evaluation and testing.
❯ mkdir gettingStarted
❯ cd gettingStarted
❯ mv ~/Downloads/quine-2.2.1.jar .
❯ ls -l
total 460088
-rw-r--r--@ 1 quine staff 220704180 Aug 25 09:22 quine-2.2.1.jar
Start Quine¶
Once you have the Quine package stored locally, you are ready to launch Quine for the first time.
To launch Quine, issue the following command.
❯ java -jar quine-2.2.1.jar
If successful, you will see a message similar to the following appear in the terminal.
Graph is ready
Quine web server available at http://127.0.0.1:8080
Default API version: v2
Verify that Quine is operating using the System Information: GET /api/v2/system/systemInfo API endpoint.
curl -s "http://127.0.0.1:8080/api/v2/system/systemInfo" | jq '.'
The response looks like this. javaRuntimeVersion is the Java version running Quine, and javaVersion is the one that compiled it:
{
"version": "2.2.1",
"gitCommit": "47639d5f4b0120923d900d4f23728285d6ea27f6",
"gitCommitDate": "2026-10-27T16:12:01+0000",
"javaVersion": "OpenJDK 64-Bit Server VM 21.0.10 (Eclipse Adoptium)",
"javaRuntimeVersion": "21.0.13+9-LTS",
"javaAvailableProcessors": 10,
"javaMaxMemory": 8589934592,
"persistenceWriteVersion": "13.3.0",
"quineType": "Oss"
}
You can connect to the Quine Dashboard by entering http://127.0.0.1:8080 into your browser.
Shutdown Quine¶
You can stop Quine at any time by either typing CTRL-c into the terminal window or gracefully shutting down by issuing a POST to the Graceful Shutdown: POST /api/v2/system:shutdown endpoint.
curl -X "POST" "http://127.0.0.1:8080/api/v2/system:shutdown"
Source Code¶
Quine is an open source project and can be built from source code.
Build Quine from source code if …
- You want to review the code as part of your evaluation
- You are interested in contributing to the Quine open source project
- You need an enhancement or issue resolution that was delivered between releases
Prerequisites¶
Quine is written in Scala. The UI is built on React and building it depends on NodeJS. Please review the README.md file in the GitHub repository for most up to date requirements to build Quine from source.
- Java JDK 17 or greater
- sbt (the project pins sbt 1.13.0 in
project/build.properties) - Node.js 22
- Yarn version 0.22.0 or greater
Clone the Quine repository from GitHub¶
The Quine open source project is managed on GitHub, and the repo is located at https://github.com/thatdot/quine .
❯ mkdir quineEvaluation
❯ cd quineEvaluation
❯ git clone git@github.com:thatdot/quine.git
Cloning into 'quine'...
Build Quine¶
The build needs more memory than sbt gives itself by default, so pass -J-Xmx4G to give sbt a 4 GB heap:
❯ cd quine
❯ sbt -J-Xmx4G quine/assembly
[info] welcome to sbt 1.13.0 (Homebrew Java 17.0.16)
[info] loading settings for project quine-build from dependencySchemes.sbt, plugins.sbt...
...
[success] Total time: 147 s (0:02:27.0), completed Nov 4, 2026, 9:33:15 AM
If successful, the sbt tool will configure your environment, build, and package Quine into a jar file located in the target directory.
❯ find . -name "quine-*.jar"
./quine/target/scala-2.13/quine-assembly-2.2.1-6-gf0dff410.jar
The version in the file name is the last release, followed by the number of commits since it and the commit hash (2.2.1-6-gf0dff410 in this example). On a release commit it is the release alone, for example quine-assembly-2.2.1.jar.
Start Quine¶
Once that you have successfully built and assembled the Quine jar file, we recommend copying that file into a working directory to make it easier to evaluate Quine.
❯ cp $(find . -name "quine-assembly-*.jar") ..
❯ cd ..
❯ ls
quine
quine-assembly-2.2.1-6-gf0dff410.jar
Then you can launch Quine in the same way that you would launch the executable file. Replace <version> with the version in your file name:
❯ java -jar quine-assembly-<version>.jar
If successful, you will see a message similar to the following appear in the terminal.
Graph is ready
Quine web server available at http://127.0.0.1:8080
Default API version: v2
Alternatively, you can run Quine directly from the source code with sbt -J-Xmx4G quine/run.
❯ sbt -J-Xmx4G quine/run
[info] welcome to sbt 1.13.0 (Homebrew Java 17.0.16)
[info] loading settings for project quine-build from dependencySchemes.sbt, plugins.sbt...
...
[info] running com.thatdot.quine.app.Main
Graph is ready
Quine web server available at http://127.0.0.1:8080
Default API version: v2
...
Regardless of the method that you choose to launch Quine, you can verify that it is operating using the System Information: GET /api/v2/system/systemInfo API endpoint.
curl -s "http://127.0.0.1:8080/api/v2/system/systemInfo" | jq '.'
The response looks like this. A build from source reports the JDK that compiled it in javaVersion:
{
"version": "2.2.1-6-gf0dff410",
"gitCommit": "f0dff41030b27b9ac14ab567da07310d8a9b1364",
"gitCommitDate": "2026-11-03T21:41:22+0000",
"javaVersion": "OpenJDK 64-Bit Server VM 17.0.16 (Homebrew)",
"javaRuntimeVersion": "21.0.13+9-LTS",
"javaAvailableProcessors": 10,
"javaMaxMemory": 8589934592,
"persistenceWriteVersion": "13.3.0",
"quineType": "Oss"
}
You can connect to the Quine Dashboard by entering http://127.0.0.1:8080 into your browser.
Shutdown Quine¶
You can stop Quine at any time by either typing CTRL-c into the terminal window or gracefully shutting down by issuing a POST to the Graceful Shutdown: POST /api/v2/system:shutdown endpoint.
curl -X "POST" "http://127.0.0.1:8080/api/v2/system:shutdown"
Quine Enterprise¶
Please contact the thatDot team using the link below to set up a call if you are interested in the Quine Enterprise edition.