Leiningen for project management: https://github.com/technomancy/leiningen
These programs need to be available on PATH with these exact names on runtime:
- pandoc: https://pandoc.org/installing.html
- ebook-convert: https://calibre-ebook.com/download
- wkhtmltopdf: https://wkhtmltopdf.org/downloads.html
To start a hot-reloading web server for the application, run:
lein ring server-headless
Deploying a jar is probably the most straightforward:
lein ring uberjar
A containerized solution is also an option, however keep in mind all of this project's dependencies are quite huge, and the container yielded is around 2GB
Readability4J is doing all the heavy lifting here. Go star it