GitHub has:
- a "Download as Zip" and an EPUB is a Zip file
- commit hooks that can be used to generate PDFs
- an API that allows concurrent editing and permission management
- a way to host HTML files using a special
gh-pagesbranch
Below are instructions for building the book editor yourself and a layout of how the code is organized.
- Download and extract (if necessary)
- Run
npm installor justbower installin the directory to download and install dependencies - Start up a webserver
Documentation is built using docco.
find . -name "*.coffee" | grep -v './bower_components/' | grep -v './node_modules' | xargs ./node_modules/docco/bin/docco
Check the ./docs directory to read through the different modules.
scripts/collections/Backbone Collectionsscripts/configs/App and 3rd party configsscripts/controllers/Marionette Controllersscripts/helpers/Miscellaneous helper functionsscripts/models/Backbone Models and Marionette Modulesscripts/nls/Internationalized stringsscripts/routers/Marionette Routersscripts/views/Backbone and Marionette Viewsscripts/views/layouts/Marionette Layoutsscripts/app.coffeeMarionette Applicationscripts/config.coffeeRequirejs Configscripts/main.jsInitial Requirejs Loaderscripts/session.coffeeModel of Sessionstyles/LESS and CSS Stylingtemplates/Handlebars Templatestemplates/helpers/Handlebars Helperstest/Testable mock data and scriptsindex.htmlApp's HTML Page
This software is subject to the provisions of the GNU Affero General Public License Version 3.0 (AGPL). See license.txt for details. Copyright (c) 2013 Rice University