Code Monkey home page Code Monkey logo

audio_book_creator's Introduction

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

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.