• Stars
    star
    181
  • Rank 212,110 (Top 5 %)
  • Language
    Go
  • License
    MIT License
  • Created about 4 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An offline solution to convert pdfs into audiobooks

go-audio


A solution to convert PDFs into audiobooks (offline). This solution kit consists of an Opentts engine hosted on docker and a CLI client that parses the given PDF file for text content & connects with Opentts to generate audio files.

Installation & setup :-


  • Go,Docker & Make should be pre-installed.
  • Clone the repository.
  • Run the command make download.
  • Run the command make setup.
  • CLI & Opentts engine setup is now ready to use.
  • Run the command go-audio --help to explore various operations.

Generate the audio files :-


  • Run the command go-audio aud --input=PATH_TO_PDF --output=PATH_TO_OUTPUT --voice=male|female.
  • Default value for given flags ::
    • input=./sample_pdf/test.pdf
    • output=homeDir/audio-go/output
    • voice=female