-
-
Notifications
You must be signed in to change notification settings - Fork 24
HOWTO Convert to mobi for the Kindle
Mickaël Schoentgen edited this page Nov 24, 2023
·
10 revisions
Download the kindlegen executable. For that howto, it put the file at the root of the Penelope repository.
$ git clone https://github.com/pettarin/penelope.git
$ cd penelope
The conversion (for the FR dictionary) is as follow:
$ export LOCALE=fr
$ wget "https://github.com/BoboTiG/ebook-reader-dict/releases/download/${LOCALE}/dicthtml-${LOCALE}-${LOCALE}.zip"
$ python -m penelope -i "dicthtml-${LOCALE}-${LOCALE}.zip" -j kobo \
-o "${LOCALE}-${LOCALE}.mobi" -p mobi \
-f "${LOCALE}" -t "${LOCALE}" \
--website https://github.com/BoboTiG/ebook-reader-dict \
--license MIT \
--email "" \
--description "Dictionary ${LOCALE}-${LOCALE}" \
--kindlegen-path ./kindlegen
And find the fr.mobi
file you can use for your Kindle. Adapt the LOCALE
variable to generate another language.