Git Product home page Git Product logo

ebook-generator's Introduction

Paulo Velho e-book generator

Requirements

write your book!

JUST FUCKING WRITE IT!

  • create a prologue (optional)
  • create a cover image (mandatory)
    • recommended size: 1563 x 2500 pixels
    • recommended format: jpeg or tiff

Kindlegen

download kindlegen: https://www.amazon.com/gp/feature.html?docId=1000765211

UUID Generator

To generate your UUID: https://www.uuidgenerator.net/

mobi to epub

To convert your generated .mobi book to a .epub (better and more used format), you can:

do it online:

http://www.zamzar.com/convert/mobi-to-epub/

use calibre

https://calibre-ebook.com/ (I tottally recommend you to use Calibre...)


creating the book

  • save HTML in cap_.html
    • one HTML per chapter
    • you can add as much chapters as you want - 1 per html... =)
    • images are added in images folder and referenced internally as <img src="images/____.png"... or whatever
  • change book title in files: content.opf, head.html, toc.html, toc.ncx (toc.ncx in 2 places)
  • create prologue (in prologo.html)
  • add agradecimentos.html
  • save cover image in root folder with name cover.jpg
  • generate your UUID
    • change the UUID in content.opf and toc.ncx
  • run the command line to build the book

command line:

./kindlegen ebook/content.opf -verbose -o myEbook.mobi
  • -o: name of generated file
  • -verbose: print information
  • -locale pt: messages in portuguese, por favor

generate epub

using Calibre, preferably

to publish on Amazon:

https://kdp.amazon.com/


express your love <3

if you're creating a book or some other text following this tutorial, send me the epub/mobi! I'm in favor of donate-ware format, where things are free but accepts donation. I'll donate the value of your book directly to you! =)

Pay me a coffee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.