Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.
/ getbook Public archive
forked from lepture/getbook

Generate ebooks from a collection of web links.

License

Notifications You must be signed in to change notification settings

Murphyx2/getbook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getbook

Generate ebooks in epub (for iBooks) or mobi (for Kindle) from a collection of web links and feeds.

Donate lepture Latest Version Wheel Status

Installation

Install with pip:

$ pip install getbook

Note: this program only works on Python3.5+.

You may need to install kindlegen to create mobi format books.

Guide

There are serval ways to generate books.

  1. You can generate a book from a feed:

    $ getbook -u http://example.com/feed
    
  2. It is also possible to generate books from a config JSON file:

    $ getbook -f ./book.json
    

Use --format=mobi to generate mobi file for kindle:

$ getbook -f ./book.json --format=mobi

JSON Format

The required fields in book.json are:

  1. uid: the filename of the book
  2. title: book title
  3. author: author of the book
  4. chapters or sections

Get some examples in https://github.com/lepture/getbook/tree/master/demo

License

This program is licensed under APGL.

About

Generate ebooks from a collection of web links.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 90.4%
  • HTML 4.9%
  • CSS 4.7%