node.js module for little printer publications
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Build Status


node-little printer is a node.js module that makes it simple to create a node.js server that can serve up content for Little Printers. It simplifies publising content for Little Printer, handling all of the API routing and etag generation so that you can concentrate on the actual content.

What are Little Printers?

Little Printer lives in your home, bringing you news, puzzles and gossip from friends. Use your smartphone to set up subscriptions and Little Printer will gather them together to create a timely, beautiful miniature newspaper.

Take a look at the BERG documentation for more info.

Installation and Usage

Super Simple Example

var express = require('express'),
      littleprinter = require('littleprinter');

var app = express();

// in this example I am using ejs, feel free to use a different view engine if you wish
app.set('view engine', 'ejs');

var handler = { };

handler.meta = {
  "name": "Hello, World!",
  "description": "Example publication for Little Printer",
  "delivered_on":"every day",
  "external_configuration": false,
  "send_timezone_info": true,
  "send_delivery_count": true

littleprinter.setup(app, handler);
console.log('Server started on: http://localhost:3000');

There is also a more structured example project that you can fork and play with.

I have also written a post about hosting a Little Printer server on Heroku if it's useful.

Unsupported Features

Currently doesn't support validate_config and configure.