Licensing
MejiroEPUB is licensed under the GNU Affero General Public License v3.0 or later.
This page explains the author's intent in plain language. It is not legal advice, and the licence text is what governs.
What AGPLv3 asks of you
AGPLv3 is a strong copyleft licence with a network clause. If you modify the library, or build it into an application, and users interact with that application over a network — a website that offers EPUB downloads is the obvious case — you must offer those users the complete corresponding source of the application under AGPLv3.
Running it privately, for your own use, asks nothing of you.
Read this before you build on the library, not after.
The EPUBs you generate
What you put into a book — the text, the images, the metadata — is yours. The library's licence does not reach it just because the library wrote it into an EPUB.
One thing from the library does travel with every book: its base stylesheet, which is part of the library. An exception is being considered that would state that this stylesheet places no AGPL obligation on the books it ends up in, or on the people who read them. It would only widen what you may do, so nothing you do today becomes a problem when it is added.
Commercial licence
MejiroEPUB is dual-licensed in principle, as MejiroPDF is, but no commercial licence is offered at present.
Contributions
Dual licensing requires the copyright to stay with one author, so pull requests are not accepted. Bug reports are welcome in Issues; the author writes the fix. See CONTRIBUTING.md.