No commit activity in last 3 years
No release in over 3 years
This takes html files and creates a chapterized audiobook. It leverages Apple's speak command and audio book binder
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

AudioBookCreator

Gem Version Build Status Dependency Status Code Climate Coverage Status

Description

This takes html files and creates a chapterized audiobook. It leverages Apple's speak command and audio book binder

Goals

  1. create an audio book.
  2. explore mutant usage and full test coverage.
  3. explore functional core imperative shell
  4. explore local queued components
  5. explore javascript plugins that leverage local daemons [TODO]

Installation

Download audio book binder, link the executable into the path, and install gem. The current app store version of the application does not have the cli available.

$ ln -s /Applications/AudioBookBinder.app/Contents/MacOS/abbinder /usr/local/bin/
$ gem install audio_book_creator

Usage

audio_book_creator http://bookurl.com/greak_book/ --body '.content p' --link 'a.page' --chapter 'a.chapter'

it will spider the files referenced by the url and create the following:

pages.db the_great_book.m4b the_great_book/chapter1.txt the_great_book/chapter1.mpg the_great_book/chapter2.txt the_great_book/chapter2.mpg the_great_book/chapter3.txt the_great_book/chapter3.mpg

If you tend to visit bookurl.com often, then setup the values as defaults

audio_book_creator http://bookurl.com/greak_book/ --body '.content p' --link 'a.page' --chapter 'a.chapter' --default
audio_book_creator http://bookurl.com/greak_book2/

Since great_book2 is at the same domain, it will reuse the --body, --link and --chapter path selectors.

the_great_book2.m4b the_great_book2/chapter1.txt the_great_book2/chapter1.mpg the_great_book2/chapter2.txt the_great_book2/chapter2.mpg

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request