Server

Since ODict 1.16, you can serve ODict files directly via a simple REST service. To start serving a single dictionary file, you can pass the file to the odict serve command:

odict serve my-dictionary.odict

If you omit the file path, each request will require you pass a dictionary parameter which specifies the alias of the dictionary to use.

odict serve 

You can also specify a port via the --port command:

odict serve --port 8080

Note that the dictionary parameter cannot be used if you specify a file path.