Scripts to create ebooks
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fonts
templates
LICENCE
README.md
book-info.yaml
create-ebooks.py
geckodriver
publish-to-fte.py

README.md

create_ebooks

This is a project to make ebooks for FreeTamilEbooks.com using LibreOffice. This gives the ebooks in 4 formats. A4 PDF, 6 inch PDF, epub and mobi

config.yaml

Fill the following details in the file config.yaml

book_title : 
book_title_in_english : 
author : 
author_mail : 
cover_image : 
artist : 
artist_email : 
ebook_maker : 
ebook_maker_email : 
license : 
content : 
category : 

example :

book_title : தசாவதாரம்
book_title_in_english : dasavatharam
author : அறிஞர் அண்ணா
author_mail : 
cover_image : dasavatharam.jpg
artist : த. சீனிவாசன்
artist_email : tshrinivasan@gmail.com
ebook_maker : த. சீனிவாசன்
ebook_maker_email : tshrinivasan@gmail.com
license : Public Domain - CC0 
content : content.odt
category : சிறுகதைகள்

Keep the cover image in the same parent folder.

Installation

It needs a ubuntu linux computer.

run the below commands

sudo apt-get install git python3 python3-pip python3-setuptools  libreoffice-script-provider-python calibre sigil 
sudo pip3 install internetarchive pyyaml

open the "fonts" directory. Click every font. Install all the fonts.

Configure internet Archive Credentials

run the below command

ia configure

it will ask for your internet archive (archive.org) username and password. Give the detais.

How to Execute?

  1. Open Libreoffice writer
  2. Paste the content
  3. Mark all Heading 1, Heading 2, Heading 3
  4. Paste the cover image in the first page
  5. Insert Table of Contents in 2nd or 3rd page
  6. Enter Contributor, License, Publisher info on the page 2 or 3
  7. Run
python3 create-ebooks.py

This will make the ebooks and store in a new folder as "ebookname"-upload

then will upload the ebooks to archive.org site