If you can run Python code off GitHub on a computer, I've never used it, but this tool on GitHub purports to do that. Hasn't had any commits in the past three years:
https://github.com/jonbirge/briki
This one apparently lets one convert one or more WP articles to a .epub, and is getting commits: