tumblr into pe-epub format
CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
.gitignore
.nodemonignore
LICENSE
README.md
config-sample.json
index.coffee
index.js
package.json
test.js

README.md

tumblr-2-pe-epub

Fetches a Tumblr and converts it to peepub JSON format so you can easily make an e-book from a Tumblr

Install

npm install tumblr-2-pe-epub

Usage

var Tumblr2Peepub = require('tumblr-2-pe-epub');

var t2p = new Tumblr2Peepub({
  consumer_key: 'xxx',
  consumer_secret: 'xxx'
});

t2p.fetch('tumblr_prefix', function(err, json){
  console.log(json); // now you can use pe-epub to create an ebook
});

Development

index.coffee is the working file. Develop with....

npm run-script watch

Testing

You'll need your own Tumblr creds in config.js. Then...

npm test