Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate mobi versions of GITenberg books #25

Open
rdhyee opened this issue Mar 2, 2016 · 1 comment
Open

Generate mobi versions of GITenberg books #25

rdhyee opened this issue Mar 2, 2016 · 1 comment

Comments

@rdhyee
Copy link
Contributor

rdhyee commented Mar 2, 2016

Looking at whether we can mobi (and maybe pdf) versions of GITenberg books by using calibre inside of travis.

@rdhyee
Copy link
Contributor Author

rdhyee commented Mar 2, 2016

I am able to run ebook-convert (part of Calibre) to convert an epub to mobi and pdf with the following commands on Ubuntu 14.04 LTS:

sudo apt-get -y update
sudo apt-get -y install xvfb
sudo apt-get -y install calibre

# get Huck Finn epub
wget https://github.com/GITenberg/Adventures-of-Huckleberry-Finn_76/releases/download/0.1.7/Adventures-of-Huckleberry-Finn.epub

# mobi
ebook-convert Adventures-of-Huckleberry-Finn.epub Adventures-of-Huckleberry-Finn.mobi

#pdf -- need xvfb to run
xvfb-run ebook-convert Adventures-of-Huckleberry-Finn.epub Adventures-of-Huckleberry-Finn.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant