Giter VIP home page Giter VIP logo

synclibrivox's Introduction

synclibrivox

Overview

synclibrivox is a collection of files for LibriVox recordings needed to produce ebooks with synchronized text and audio using syncabook. If someone used syncabook to create an ebook for a LibriVox recording and commited source files to this repository, you can create an ebook for that recording using syncabook just by getting the files with download_files command and then assembling them to EPUB with create command.

Repository contents

The repository contains all neccessary source files needed to produce an ebook except for audio files. Each book has a directory with the following contents:

  • metadata.json file contains all information neccessary to produce an ebook (title, author, narrator, etc.)

  • sync_text/ directory contains XHTML files with the book's contents and which are synchronized with the audio

  • no_sync_text/ directory contains nav.xhtml (table of contents) and colophon.xhtml (credits to contributors) and any other files which are not synchronized with the audio

  • smil directory contains SMIL files (synchronization data)

  • text.txt file contains plaintext transcript of the book

  • plaintext/ directory contains transcript of the book splitted into multiple files which are then converted to XHTML files

map.json is a mapping from the LibriVox audiobook URL to the corresponding directory in the repository. It is used by syncabook's download_files command to get the files given LibriVox URL.

How to use

syncabook provides download_files command that downloads files from synclibrivox repository as well as auido files from librivox.org. In order to create an ebook using files from this repo you need to run two commands:

$ syncabook download_files `librivox_url` `ebook_dir`

and then

$ syncabook create `ebook_dir`

If you've cloned this repo and have all neccessary files except for audio, run download_files command with --skip-text argument to download audio files only:

$ syncabook download_files --skip-text `librivox_url` `ebook_dir`

License

All materials in the repository are under CC BY 4.0 license.

synclibrivox's People

Contributors

r4victor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

synclibrivox's Issues

Word for word

Hi there!

Is it possible to highlight a word for word instead of highlighting the whole phrase / sentence?

thnx
Dave

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.