GithubHelp home page GithubHelp logo

docs_on_kindle's Introduction

docs_on_kindle

This project aims to translate web documention for popular software tools and APIs into Kindle ebooks that are easy to navigate and a pleasure to read.

Here are two example Kindle ebooks generated with docs_on_kindle. You can download them and transfer them to your Kindle via USB.

Heroku Guide

screen screen

Download Heroku Guide for Kindle

Original Heroku Web Documentation

Thoughbot Playbook

screen screen

Download Thoughtbot Playbook for Kindle

Original Thoughtbot Playbook Web Documentation

Read on if you're interested in learning how to contribute recipes for turning web documentation for other products and services into Kindle ebooks.

Requirements

  • Ruby 1.9
  • ImageMagick (i.e. the convert command)
  • You must be a fairly good at slicing and dicing HTML with Nokogiri

Also, download Amazon's KindleGen 2 tool and put it on your PATH.

How to write a recipe

Go to the Github issues page for this project to check if someone is working on the recipe you had in mind. If not, post a Github issue saying that you're working on this recipe and give it the "recipe in progress" label. This will help prevent unnecessary duplication of effort.

Fork this project and git clone your fork. cd into the cloned git directory.

Run bundle install to make sure you have the required dependencies (nokogiri and kindlerb) in the gem path.

Create a recipe file in the recipes/ directory.

Follow the recipes/heroku.rb recipe as a model. The requirements of a recipe should be fairly simple and straightforward.

Once you finish your recipe, generate the ebook with this command:

ruby -Ilib recipes/your_new_recipe.rb

If all goes well, you should have a nice Kindle ebook version of the web documentation you processed.

Now submit a pull request on your fork so I can pull in your recipe.

All recipe contributors will be recognized and thanked on this page!

Issues

This project is new and rough around the edges, so please feel welcome to report issues and contribute to the code.

docs_on_kindle's People

Stargazers

Mario Alberto Chávez avatar

Watchers

Mario Alberto Chávez avatar James Cloos avatar

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.