Setup instructions
The tool is released to Maven central as a Maven artifact and Docker image. There is also a CLI available.
Install from Maven Central
If you use a package manager that is included in the proposed ones, check out Nanopub on Maven Central to know how to import the package into your application.
Run as Docker Image
An image is released on Docker Hub
Run through the UNIX Command-Line (CLI)
To use this library on the command line, just download
the np script. Make sure it is
executable, and then you can invoke it with ./np
… (or simply np
… if you make sure it’s included in the PATH
variable), for example:
This automatically downloads the latest release as a jar file on the first run. You can also directly use the pre-built jar files:
Note: For Mac users, before running np ensure that the GNU version of curl
is installed (not the default BSD
versions),
and are the ones being used when the curl
command is invoked.