You can download the Commentator jar from Github. Commentator is tested under Java 17 (LTS).
You can also build Commentator yourself. You will need to do that:
Then, clone the Git repository. You can now build the project with
The resulting jar will be in
Commentator needs a configuration file. You need to set the environment variable
COMMENTATOR_CONFIGURATION to the path of this file.
The Docker image is available on the Docker Hub. You will need to mount the configuration file as a volume (or inject it into the running container somehow) in order to make it work.