Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Jekyll framework for publishing book in multiple format (HTML, PDF, epub)
Jekyll Book Framework is an open-source Jekyll template for writing and publishing books in multiple formats, turning Markdown manuscripts into a static HTML site with auto-generated PDF output.
It is a static site generator framework built on Jekyll (Ruby) and paged.js that accepts Markdown files as the source of a book and produces HTML and PDF editions. The project was created by Michael Ravedoni and is inspired by Antoine Fauchié's modular publishing system used for his thesis. It is distributed under the MIT License and can be deployed to Netlify, GitHub Pages, or any static web server via RSync/FTP.
book/text; a separate book/fr directory supports translations.http://localhost:4000._bibliography directory for BibTex (.bib) reference management.materials (drafts and media), images, and output (generated formats), plus standard Jekyll folders like _layouts, _sass, and _includes.netlify.toml, GitHub Pages via bin/github-deploy.sh, and RSync/FTP via npm scripts.book/styles and SCSS files in _sass to change the book's design.bundle install and npm run install, then use npm run dev for local development and npm run build for production builds.book/fr directory structure to maintain a French translation alongside the original content.admin, style, edit, fix, org, gen, test) to organize contributions and revisions.Start by cloning or downloading the repository, then rename the folder to your book's name. Edit the metadata in _data/meta.yml, place your Markdown chapters in book/text, and adjust styles in book/styles. After installing Jekyll and npm dependencies, run npm run dev to preview locally or npm run build to generate the production site in _site. Deployment is handled through Netlify's automated builds, the github-deploy.sh script, or RSync commands.
Yes, the local build requires Jekyll and Ruby to be installed, along with npm for the provided scripts. You can install them with gem install jekyll bundler and by running bundle install in the project folder.
The current version outputs a static HTML website and generates a PDF automatically with paged.js. Epub, mobi, and standalone Markdown export are on the roadmap but not yet implemented.
The framework is open source under the MIT License, so you can use it freely for personal and commercial projects.
You can deploy to Netlify (with automatic builds from GitHub), GitHub Pages by running npm run deploy-github, or to any static host via RSync/FTP using the provided npm scripts.
