Maneki is a file-based model for use in small Ruby applications, especially Sinatra sites.
Given a directory of Markdown documents (chapters of a book for example):
chapters/ 01-first.text 02-second.text 03-third.text
...each with a format similar to:
# Chapter 1 - The First - published: yes This is the body of the chapter.
Maneki will be able to find and parse those chapters. Simply tell Maneki where to find them:
And grab one or all of the chapters out:
For more information (and a look at the source) check out the Maneki project page on Github.