Bindery is a Ruby library for easy packaging of ebooks. You supply the chapter content (in HTML format) and explain the book's structure to bindery, and bindery generates the various other files required by ebook formats and assembles them into a completed book suitable for installation on an ebook reader.