You can use a semi-automated EPUB conversion tool embedded in this boilerplate.
- Create a new repository using the Use this template button
- In the newly created repository, upload the EPUB file into the folder
epub
. - Wait until there’s a green check mark symbol in the latest running action
- Allow Github’s Pages functionality and select branch
docs
as its source. You’ll be provided with a link. - Follow the link — you’ll find a conversion configurator. After setting everything up, go to the Data export, copy all data via the button and follow the link to params.json file — paste copied data into the file and commit changes.
- Delete the EPUB file uploaded in step 2 — now, instead of configurator the Pages link should provide you with a published book.
- You may edit files in
content
folder to further edit book’s source code. See README.md for more details.